Manual updated.
[eskdx.git] / source / eskdlang.sty.in
blobc1269d1bed01edd7e9065ffaac379c266ce7f34e
1 % Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2003/12/01 or later.
11 % This work has the LPPL maintenance status "maintained".
13 % This Current Maintainer of this work is Konstantin Korikov.
15 % This work consists of all files listed in manifest.txt.
17 m4_ESKDX_INIT
18 m4_FILE_INIT
19 \NeedsTeXFormat{LaTeX2e}
20 \ProvidesPackage{eskdlang}[m4_dnl
21 m4_FILE_ID([[$Date:: $]]) Language]
23 \newcommand{\ESKD@lang}{russian}
25 \newif\ifESKD@given@encoding
26 \ESKD@given@encodingfalse
28 \DeclareOption{russian}{\renewcommand{\ESKD@lang}{russian}}
29 \DeclareOption{ukrainian}{\renewcommand{\ESKD@lang}{ukrainian}}
30 \DeclareOption*{%
31 \PassOptionsToPackage{\CurrentOption}{inputenc}%
32 \ESKD@given@encodingtrue}
34 \ProcessOptions\relax
36 m4_dnl ÕÓÔÁÎÏ×ËÁ ËÏÄÉÒÏ×ËÉ
37 \ifESKD@given@encoding
38 \RequirePackage{inputenc}
39 \fi
41 m4_dnl ÕÓÔÁÎÏ×ËÁ ÑÚÙËÁ
42 \RequirePackage[\ESKD@lang]{babel}
43 \input{eskd\ESKD@lang.def}
45 m4_dnl vim:ft=tex:sw=2:ai