summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xecyrmongolian/xecyrmongolian.sty
blob: 4402931f6cca539a7ff62b100876d24b478eb0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
%%
%% This is file `xecyrmongolian.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xecyrmongolian.dtx  (with options: `xecyrmongolian')
%% 
%%  (c) Copyright 2019 Apostolos Syropoulos and Bat-erdene Altangerel
%%  This program can be redistributed and/or modified under the
%%  terms of the LaTeX Project Public License Distributed from
%%  http://www.latex-project.org/lppl.txt; either
%%  version 1.3c of the License, or any later version.
%% 
%%  This work has the LPPL maintenance status `maintained'.
%% 
%%  Please report errors or suggestions for improvement to
%% 
%%     Apostolos Syropoulos  (asyropoulos@yahoo.com)
%% 
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
\ProvidesFile{xecyrmongolian.sty}
 [2019/12/14 v1.0.0 Package `xecyrmongolian.sty']
\message{Package `xecyrmongolian' version 1.0.0 by ^^J%
         Apostolos Syropoulos and Bat-erdene Altangerel}
\def\prefacename{Оршил}%
\def\refname{Ашигласан ном}%
\def\abstractname{Товчлол}%
\def\bibname{Ашигласан номзүй}%
\def\chaptername{Бүлэг}%
\def\appendixname{Хавсралт}%
\def\contentsname{Гарчиг}%
\def\listfigurename{Зургийн жагсаалт}%
\def\listtablename{Хүснэгтийн жагсаалт}%
\def\indexname{Товъёог}%
\def\figurename{Зураг}%
\def\tablename{Хүснэгт}%
\def\partname{Хэсэг}%
\def\enclname{Оруулах}%
\def\ccname{Мэдэгдэл}%
\def\headtoname{}%
\def\pagename{Хуудас}%
\def\seename{Үзнэ үү}%
\def\alsoname{мөн үзнэ үү}%
\def\proofname{Баталгаа:}%
\def\glossaryname{Тайлбар}%
\def\Useg#1{\ifcase#1\or
    А\or Б\or В\or Г\or Д\or Е\or ᠎Ё\or Ж\or З\or
    И\or ᠎Й\or К\or Л\or М\or Н\or О\or Ө\or П\or
    Р\or С\or Т\or У\or Ү\or Ф\or Х\or Ц\or Ч\or
    Ш\or Щ\or Ъ\or Ы\or Ь\or Э\or Ю\or Я\else\@ctrerr\fi}
\def\useg#1{\ifcase#1\or
    а\or б\or в\or г\or д\or е\or ё\or ж\or з\or
    и\or й\or к\or л\or м\or н\or о\or ө\or п\or
    р\or с\or т\or у\or Ү\or ф\or х\or ц\or ч\or
    ш\or щ\or ъ\or ы\or ь\or э\or ю\or я\else\@ctrerr\fi}
\def\useg@mong#1{\expandafter\useg\expandafter{\the#1}}
\def\Useg@mong#1{\expandafter\Useg\expandafter{\the#1}}
\def\mongmonth{%
  \ifcase\month\or 1-р ~сарын\or 2-р ~сарын\or 3-р ~сарын\or 4-р ~сарын\or
  5-р ~сарын\or 6-р ~сарын\or 7-р ~сарын\or 8-р ~сарын\or 9-р ~сарын\or
  10-р ~сарын\or 11-р ~сарын\or 12-р ~сарын\fi}
\def\today{\number\year~оны~\mongmonth\space \number\day}
\ifx\directlua\undefined\else\RequirePackage{luahyphenrules}\fi
\ifx\directlua\undefined%
   \language\l@mongolian\else\HyphenRules{mongolian}\fi%
\let\latin@alph\@alph
\let\latin@Alph\@Alph
\let\@alph\useg@mong
\let\@Alph\Useg@mong
\def\nousegalph{%
  \let\@alph\latin@alph
  \let\@Alph\latin@Alph}
\def\usegalph{%
  \let\@alph\useg@mong
  \let\@Alph\Useg@mong}
\ifx\directlua\undefined%
  \def\setlanguage#1{%
     \expandafter\ifx\csname l@#1\endcsname\relax%
     \typeout{^^J Error: No hyphenation pattern for language #1 loaded,}%
     \typeout{ default hyphenation patterns are used.^^J}%
     \language=0%
     \else\language=\csname l@#1\endcsname\fi}
\else
  \let\setlanguage\HyphenRules
\fi
\setlanguage{mongolian}
\endinput
%%
%% End of file `xecyrmongolian.sty'.