summaryrefslogtreecommitdiff
path: root/language/mongolian/montex/texinput
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/mongolian/montex/texinput
Initial commit
Diffstat (limited to 'language/mongolian/montex/texinput')
-rw-r--r--language/mongolian/montex/texinput/TODO9
-rw-r--r--language/mongolian/montex/texinput/bicig.def69
-rw-r--r--language/mongolian/montex/texinput/bithe.def71
-rw-r--r--language/mongolian/montex/texinput/buryat.def112
-rw-r--r--language/mongolian/montex/texinput/cpctt.def107
-rw-r--r--language/mongolian/montex/texinput/cpdbk.def99
-rw-r--r--language/mongolian/montex/texinput/cpibmrus.def101
-rw-r--r--language/mongolian/montex/texinput/cpkoi.def104
-rw-r--r--language/mongolian/montex/texinput/cpmls.def149
-rw-r--r--language/mongolian/montex/texinput/cpmnk.def100
-rw-r--r--language/mongolian/montex/texinput/cpmos.def100
-rw-r--r--language/mongolian/montex/texinput/cpncc.def100
-rw-r--r--language/mongolian/montex/texinput/english.def36
-rw-r--r--language/mongolian/montex/texinput/kazakh.def69
-rw-r--r--language/mongolian/montex/texinput/lmabthhs.fd29
-rw-r--r--language/mongolian/montex/texinput/lmabthhw.fd29
-rw-r--r--language/mongolian/montex/texinput/lmabthvs.fd29
-rw-r--r--language/mongolian/montex/texinput/lmabthvw.fd29
-rw-r--r--language/mongolian/montex/texinput/lmaenc.def306
-rw-r--r--language/mongolian/montex/texinput/lmccmdh.fd23
-rw-r--r--language/mongolian/montex/texinput/lmccmfib.fd23
-rw-r--r--language/mongolian/montex/texinput/lmccmfr.fd26
-rw-r--r--language/mongolian/montex/texinput/lmccmiss.fd24
-rw-r--r--language/mongolian/montex/texinput/lmccmr.fd81
-rw-r--r--language/mongolian/montex/texinput/lmccmss.fd69
-rw-r--r--language/mongolian/montex/texinput/lmccmssq.fd27
-rw-r--r--language/mongolian/montex/texinput/lmccmtt.fd47
-rw-r--r--language/mongolian/montex/texinput/lmccmvtt.fd27
-rw-r--r--language/mongolian/montex/texinput/lmcenc.def221
-rw-r--r--language/mongolian/montex/texinput/lmclcmss.fd69
-rw-r--r--language/mongolian/montex/texinput/lmobcghs.fd30
-rw-r--r--language/mongolian/montex/texinput/lmobcghw.fd30
-rw-r--r--language/mongolian/montex/texinput/lmobcgvs.fd29
-rw-r--r--language/mongolian/montex/texinput/lmobcgvw.fd30
-rw-r--r--language/mongolian/montex/texinput/lmoenc.def296
-rw-r--r--language/mongolian/montex/texinput/lmsbcgh.fd29
-rw-r--r--language/mongolian/montex/texinput/lmsbcgv.fd29
-rw-r--r--language/mongolian/montex/texinput/lmsenc.def120
-rw-r--r--language/mongolian/montex/texinput/lmubxghs.fd29
-rw-r--r--language/mongolian/montex/texinput/lmubxghw.fd30
-rw-r--r--language/mongolian/montex/texinput/lmubxgvs.fd29
-rw-r--r--language/mongolian/montex/texinput/lmubxgvw.fd30
-rw-r--r--language/mongolian/montex/texinput/lmuenc.def120
-rw-r--r--language/mongolian/montex/texinput/mls.sty752
-rw-r--r--language/mongolian/montex/texinput/mlsgalig.tex132
-rw-r--r--language/mongolian/montex/texinput/mlstrans.tex1231
-rw-r--r--language/mongolian/montex/texinput/mnhyphen.tex583
-rw-r--r--language/mongolian/montex/texinput/mnhyphex.tex24
-rw-r--r--language/mongolian/montex/texinput/mtdocmac.tex185
-rw-r--r--language/mongolian/montex/texinput/rlbicig.sty191
-rw-r--r--language/mongolian/montex/texinput/russian.def67
-rw-r--r--language/mongolian/montex/texinput/xalx.def69
52 files changed, 6350 insertions, 0 deletions
diff --git a/language/mongolian/montex/texinput/TODO b/language/mongolian/montex/texinput/TODO
new file mode 100644
index 0000000000..ae6a81fda2
--- /dev/null
+++ b/language/mongolian/montex/texinput/TODO
@@ -0,0 +1,9 @@
+- Aufnahme der LHCyr-Fonts, Erweiterung auf Kasachisch
+
+- Beibehaltung des Trans-Modus für LHCyr!
+
+- Vollständige Unterstützung des RL-Modus
+
+- bithe.def-Übersetzungen
+
+- Vollständige Unicode-Unterstützung
diff --git a/language/mongolian/montex/texinput/bicig.def b/language/mongolian/montex/texinput/bicig.def
new file mode 100644
index 0000000000..2459639ba8
--- /dev/null
+++ b/language/mongolian/montex/texinput/bicig.def
@@ -0,0 +1,69 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: bicig.def
+% Author: Oliver Corff
+% Date: February 1st, 1999
+% Version: 0.0 (Skeleton!)
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels, litteral numbering and date,
+% given in Written Mongolian (Bicig)
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+% The caption names are defined here.
+%
+\def\captionsbicig{%
+ \def\prefacename {urusil}
+ %\def\prefacename {emun=e uge}
+ \def\refname {asiglagsan num}
+ \def\abstractname {tubcilal}
+ \def\bibname {num zuii}
+ \def\chaptername {builuk}
+ \def\appendixname {xabsuralda}
+ \def\contentsname {garcag}
+ %\def\contentsname {aguulag=a}
+ \def\listfigurename {zirug-un zigsagalda}
+ \def\listtablename {kuisunukdu-yin zigsagalda}
+ \def\indexname {buikude kelkiyesu}
+ \def\figurename {zirug}
+ \def\tablename {kuisunukdu}
+ \def\partname {kesek}
+ \def\enclname {urugulxu}
+ \def\ccname {}
+ \def\headtoname {}
+ \def\pagename {xagudasu}
+ \def\seename {uizen=e-uu}
+ \def\alsoname {muin uizen=e-uu}%
+}
+\newcommand{\BicigToday}{%
+ \number\year\space un-u\space\ifcase\month%
+ \or nigeduger% January
+ \or xuyadugar% February
+ \or gurbadugar% March
+ \or duirbeduger% April
+ \or tabdugar% May
+ \or zirugadugar% June
+ \or duludugar% July
+ \or naimdugar% August
+ \or isuduger% September
+ \or arbadugar% Oktober
+ \or arban nigeduger% November
+ \or arban xuyadugar\fi% December
+ \space sar=a-yin\space\number\day}
+%
+%
+%% \newcommand{\uisuk}[1]{{\mnr\ifcase#1%
+%% \or A\or B\or W\or G\or D\or E\or \"E\or J%
+%% \or Z\or I\or K\or L\or M\or N\or O\or \"O%
+%% \or P\or R\or S\or T\or U\or \"U\or F\or X%
+%% \or C\or Q\or {\Sh}\or \Qh\or \"A\or \Yu\or \Ya%
+%% \else\@ctrerr\fi}}%
+%% %
+%% \newcommand{\buseg}[1]{{\mnr\ifcase#1%
+%% \or a\or b\or w\or g\or d\or e\or \"e\or j%
+%% \or z\or i\or k\or l\or m\or n\or o\or \"o%
+%% \or p\or r\or s\or t\or u\or \"u\or f\or x%
+%% \or c\or q\or {\sh}\or \qh\or \"a\or \yu\or \ya%
+%% \else\@ctrerr\fi}}%
diff --git a/language/mongolian/montex/texinput/bithe.def b/language/mongolian/montex/texinput/bithe.def
new file mode 100644
index 0000000000..5e45604afb
--- /dev/null
+++ b/language/mongolian/montex/texinput/bithe.def
@@ -0,0 +1,71 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: bithe.def
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.0 (Skeleton!)
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels, litteral numbering and date,
+%% % given in Manju (Bithe)
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+% The caption names are defined here.
+%
+\def\captionsbicig{%
+ \def\prefacename {}
+ %\def\prefacename {}
+ \def\refname {}
+ \def\abstractname {}
+ \def\bibname {num zuii}
+ \def\chaptername {}
+ \def\appendixname {}
+ \def\contentsname {garcag}
+ %\def\contentsname {}
+ \def\listfigurename {zirug-un? afaha}
+ \def\listtablename {kuisunukdu-yin? afaha}
+ \def\indexname {}
+ \def\figurename {}
+ \def\tablename {}
+ \def\partname {anggi}
+ \def\enclname {}
+ \def\ccname {}
+ \def\headtoname {}
+ \def\pagename {}
+ \def\seename {}
+ \def\alsoname {}%
+}
+\newcommand{\BitheToday}{%
+ \number\year\space aniya-i\space
+ \number\month
+%% \ifcase\month%
+%% \or nigeduger% January
+%% \or xuyadugar% February
+%% \or gurbadugar% March
+%% \or duirbeduger% April
+%% \or tabdugar% May
+%% \or zirugadugar% June
+%% \or duludugar% July
+%% \or naimdugar% August
+%% \or isuduger% September
+%% \or arbadugar% Oktober
+%% \or arban nigeduger% November
+%% \or arban xuyadugar\fi% December
+ \space biya-i\space\number\day}
+%
+%
+%% \newcommand{\uisuk}[1]{{\mnr\ifcase#1%
+%% \or A\or B\or W\or G\or D\or E\or \"E\or J%
+%% \or Z\or I\or K\or L\or M\or N\or O\or \"O%
+%% \or P\or R\or S\or T\or U\or \"U\or F\or X%
+%% \or C\or Q\or {\Sh}\or \Qh\or \"A\or \Yu\or \Ya%
+%% \else\@ctrerr\fi}}%
+%% %
+%% \newcommand{\buseg}[1]{{\mnr\ifcase#1%
+%% \or a\or b\or w\or g\or d\or e\or \"e\or j%
+%% \or z\or i\or k\or l\or m\or n\or o\or \"o%
+%% \or p\or r\or s\or t\or u\or \"u\or f\or x%
+%% \or c\or q\or {\sh}\or \qh\or \"a\or \yu\or \ya%
+%% \else\@ctrerr\fi}}%
diff --git a/language/mongolian/montex/texinput/buryat.def b/language/mongolian/montex/texinput/buryat.def
new file mode 100644
index 0000000000..85a613e55b
--- /dev/null
+++ b/language/mongolian/montex/texinput/buryat.def
@@ -0,0 +1,112 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: Buryat.def
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels and litteral date,
+% given in Buryat
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+% The caption names are defined here.
+%
+\def\captionsburyat{%
+ \def\prefacename {{\mnr Orshol}}
+ \def\refname {{\mnr A{\sh}aglahan nom}}
+ \def\abstractname {{\mnr Tob{\sh}olol}}
+ \def\bibname {{\mnr Nom z"u"i}}
+ \def\chaptername {{\mnr B"ul"ag}}
+ \def\appendixname {{\mnr Xabsaralta}}
+ \def\contentsname {{\mnr Gar{\sh}ag}}
+ %\def\contentsname {{\mnr Aguulga}}
+ \def\listfigurename {{\mnr Zuraga"i jagsaalt}}
+ \def\listtablename {{\mnr X"usn"ag"at"a"i jagsaalt}}
+ \def\indexname {{\mnr B"ug"ad x"alx"a"as}}
+ \def\figurename {{\mnr Zurag}}
+ \def\tablename {{\mnr X"us"an"agt}}
+ \def\partname {{\mnr B"ul"ag}}
+ \def\enclname {{\mnr Oruulaxa}}
+ \def\ccname {{\mnr }}
+ \def\headtoname {{\mnr }}
+ \def\pagename {{\mnr Xuudahan}}
+ \def\seename {{\mnr "Uz}}
+ \def\alsoname {{\mnr M"un "uz}}%
+}
+\newcommand{\BuryatToday}{%
+{\mnr\number\year\space ono"i\space\ifcase\month%
+ \or yanwariin % Januar
+ \or fewraliin % Februar
+ \or martyn % M"arz
+ \or apreliin % April
+ \or ma"in % Mai
+ \or iyuniin % Juni
+ \or iyuliin % Juli
+ \or awgustyn % August
+ \or centyabriin % September
+ \or oktyabriin % Oktober
+ \or noyabriin % November
+ \or dekyabriin\fi % Dezember
+ \space\number\day\ifcase\day%
+ \or -n"a"i % 01
+ \or -o"i % 02
+ \or -na"i % 03
+ \or -n"a"i % 04
+ \or -na"i % 05
+ \or -na"i % 06
+ \or -no"i % 07
+ \or -na"i % 08
+ \or -n"a"i % 09
+ \or -na"i % 10
+ \or -n"a"i % 11
+ \or -o"i % 12
+ \or -na"i % 13
+ \or -n"a"i % 14
+ \or -na"i % 15
+ \or -na"i % 16
+ \or -no"i % 17
+ \or -na"i % 18
+ \or -n"a"i % 19
+ \or -no"i % 20
+ \or -n"a"i % 21
+ \or -o"i % 22
+ \or -na"i % 23
+ \or -n"a"i % 24
+ \or -na"i % 25
+ \or -na"i % 26
+ \or -no"i % 27
+ \or -na"i % 28
+ \or -n"a"i % 29
+ \or -na"i % 30
+ \or -n"a"i\fi % 31
+ \space "ud"ar}}
+%
+\newcommand{\Uzeg}[1]{{\mnr\ifcase#1%
+ \or A\or B\or W\or G\or D\or E\or \"E\or J%
+ \or Z\or I\or K\or L\or M\or N\or O\or \"O%
+ \or P\or R\or S\or T\or U\or \"U\or F\or X%
+ \or H\or C\or Q\or {\Sh}\or \Qh\or \"A\or \Yu\or \Ya%
+ \else\@ctrerr\fi}}%
+%
+\newcommand{\uzeg}[1]{{\mnr\ifcase#1%
+ \or a\or b\or w\or g\or d\or e\or \"e\or j%
+ \or z\or i\or k\or l\or m\or n\or o\or \"o%
+ \or p\or r\or s\or t\or u\or \"u\or f\or x%
+ \or h\or c\or q\or {\sh}\or \qh\or \"a\or \yu\or \ya%
+ \else\@ctrerr\fi}}%
+%
+% Buryat Captions end here.
+%
+% Some options are not yet completely implemented so
+% we include some code for activating/deactivating
+% the relevant documentation in montex.tex
+%
+% 0 indicates absence, 1 indicates presence of an
+% ifthenelse option.
+%
+\newcounter{BuryatAvailable}
+\setcounter{BuryatAvailable}{1}
+%
diff --git a/language/mongolian/montex/texinput/cpctt.def b/language/mongolian/montex/texinput/cpctt.def
new file mode 100644
index 0000000000..e4852a746d
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpctt.def
@@ -0,0 +1,107 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpctt.def
+% Author: Oliver Corff
+% Date: November 8th, 2001
+% Version: 0.4
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: CTT codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpctt.def}
+ [1999/02/02 v0.2 Input encoding file for CTT encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+\DeclareInputText{"AB}{\lgu}
+\DeclareInputText{"BB}{\rgu}
+%
+\let\lgu\guillemotleft
+\let\rgu\guillemotright
+%
+% Cyrillic Letters
+%
+\DeclareInputText{192}{\CYRA}
+\DeclareInputText{193}{\CYRB}
+\DeclareInputText{194}{\CYRV}
+\DeclareInputText{195}{\CYRG}
+\DeclareInputText{196}{\CYRD}
+\DeclareInputText{197}{\CYRE}
+\DeclareInputText{168}{\CYRYO}
+\DeclareInputText{198}{\CYRZH}
+\DeclareInputText{199}{\CYRZ}
+\DeclareInputText{200}{\CYRI}
+\DeclareInputText{201}{\CYRISHRT}
+\DeclareInputText{202}{\CYRK}
+\DeclareInputText{203}{\CYRL}
+\DeclareInputText{204}{\CYRM}
+\DeclareInputText{205}{\CYRN}
+\DeclareInputText{206}{\CYRO}
+\DeclareInputText{170}{\CYROTLD}
+\DeclareInputText{207}{\CYRP}
+\DeclareInputText{208}{\CYRR}
+\DeclareInputText{209}{\CYRS}
+\DeclareInputText{210}{\CYRT}
+\DeclareInputText{211}{\CYRU}
+\DeclareInputText{175}{\CYRY}
+\DeclareInputText{212}{\CYRF}
+\DeclareInputText{213}{\CYRH}
+\DeclareInputText{214}{\CYRC}
+\DeclareInputText{215}{\CYRCH}
+\DeclareInputText{216}{\CYRSH}
+\DeclareInputText{217}{\CYRSHCH}
+\DeclareInputText{218}{\CYRHRDSN}
+\DeclareInputText{219}{\CYRERY}
+\DeclareInputText{220}{\CYRSFTSN}
+\DeclareInputText{221}{\CYREREV}
+\DeclareInputText{222}{\CYRYU}
+\DeclareInputText{223}{\CYRYA}
+%
+\DeclareInputText{"E0}{\cyra}
+\DeclareInputText{"E1}{\cyrb}
+\DeclareInputText{"E2}{\cyrv}
+\DeclareInputText{"E3}{\cyrg}
+\DeclareInputText{"E4}{\cyrd}
+\DeclareInputText{"E5}{\cyre}
+\DeclareInputText{"B8}{\cyryo}
+\DeclareInputText{"E6}{\cyrzh}
+\DeclareInputText{"E7}{\cyrz}
+\DeclareInputText{"E8}{\cyri}
+\DeclareInputText{"E9}{\cyrishrt}
+\DeclareInputText{"EA}{\cyrk}
+\DeclareInputText{"EB}{\cyrl}
+\DeclareInputText{"EC}{\cyrm}
+\DeclareInputText{"ED}{\cyrn}
+\DeclareInputText{"EE}{\cyro}
+\DeclareInputText{"BA}{\cyrotld}
+\DeclareInputText{"EF}{\cyrp}
+\DeclareInputText{"F0}{\cyrr}
+\DeclareInputText{"F1}{\cyrs}
+\DeclareInputText{"F2}{\cyrt}
+\DeclareInputText{"F3}{\cyru}
+\DeclareInputText{"BF}{\cyry}
+\DeclareInputText{"F4}{\cyrf}
+\DeclareInputText{"F5}{\cyrh}
+\DeclareInputText{"F6}{\cyrc}
+\DeclareInputText{"F7}{\cyrch}
+\DeclareInputText{"F8}{\cyrsh}
+\DeclareInputText{"F9}{\cyrshch}
+\DeclareInputText{"FA}{\cyrhrdsn}
+\DeclareInputText{"FB}{\cyrery}
+\DeclareInputText{"FC}{\cyrsftsn}
+\DeclareInputText{"FD}{\cyrerev}
+\DeclareInputText{"FE}{\cyryu}
+\DeclareInputText{"FF}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpctt.def'.
diff --git a/language/mongolian/montex/texinput/cpdbk.def b/language/mongolian/montex/texinput/cpdbk.def
new file mode 100644
index 0000000000..9001aec555
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpdbk.def
@@ -0,0 +1,99 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpdbk.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: DBK codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpdbk.def}
+ [1997/11/01 v0.1 Input encoding file for DBK encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{128}{\CYRA}
+\DeclareInputText{129}{\CYRB}
+\DeclareInputText{130}{\CYRV}
+\DeclareInputText{131}{\CYRG}
+\DeclareInputText{132}{\CYRD}
+\DeclareInputText{133}{\CYRE}
+\DeclareInputText{134}{\CYRYO}
+\DeclareInputText{135}{\CYRZH}
+\DeclareInputText{136}{\CYRZ}
+\DeclareInputText{137}{\CYRI}
+\DeclareInputText{139}{\CYRISHRT}
+\DeclareInputText{140}{\CYRK}
+\DeclareInputText{142}{\CYRL}
+\DeclareInputText{143}{\CYRM}
+\DeclareInputText{144}{\CYRN}
+\DeclareInputText{145}{\CYRO}
+\DeclareInputText{146}{\CYROTLD}
+\DeclareInputText{147}{\CYRP}
+\DeclareInputText{148}{\CYRR}
+\DeclareInputText{149}{\CYRS}
+\DeclareInputText{150}{\CYRT}
+\DeclareInputText{151}{\CYRU}
+\DeclareInputText{152}{\CYRY}
+\DeclareInputText{153}{\CYRF}
+\DeclareInputText{154}{\CYRH}
+\DeclareInputText{155}{\CYRC}
+\DeclareInputText{156}{\CYRCH}
+\DeclareInputText{157}{\CYRSH}
+\DeclareInputText{158}{\CYRSHCH}
+\DeclareInputText{159}{\CYRHRDSN}
+\DeclareInputText{160}{\CYRERY}
+\DeclareInputText{161}{\CYRSFTSN}
+\DeclareInputText{162}{\CYREREV}
+\DeclareInputText{163}{\CYRYU}
+\DeclareInputText{164}{\CYRYA}
+\DeclareInputText{165}{\cyra}
+\DeclareInputText{166}{\cyrb}
+\DeclareInputText{167}{\cyrv}
+\DeclareInputText{168}{\cyrg}
+\DeclareInputText{169}{\cyrd}
+\DeclareInputText{170}{\cyre}
+\DeclareInputText{171}{\cyryo}
+\DeclareInputText{172}{\cyrzh}
+\DeclareInputText{173}{\cyrz}
+\DeclareInputText{174}{\cyri}
+\DeclareInputText{175}{\cyrishrt}
+\DeclareInputText{225}{\cyrk}
+\DeclareInputText{226}{\cyrl}
+\DeclareInputText{227}{\cyrm}
+\DeclareInputText{228}{\cyrn}
+\DeclareInputText{229}{\cyro}
+\DeclareInputText{230}{\cyrotld}
+\DeclareInputText{231}{\cyrp}
+\DeclareInputText{232}{\cyrr}
+\DeclareInputText{233}{\cyrs}
+\DeclareInputText{234}{\cyrt}
+\DeclareInputText{235}{\cyru}
+\DeclareInputText{236}{\cyry}
+\DeclareInputText{237}{\cyrf}
+\DeclareInputText{238}{\cyrh}
+\DeclareInputText{239}{\cyrc}
+\DeclareInputText{241}{\cyrch}
+\DeclareInputText{242}{\cyrsh}
+\DeclareInputText{243}{\cyrshch}
+\DeclareInputText{244}{\cyrhrdsn}
+\DeclareInputText{245}{\cyrery}
+\DeclareInputText{246}{\cyrsftsn}
+\DeclareInputText{247}{\cyrerev}
+\DeclareInputText{248}{\cyryu}
+\DeclareInputText{249}{\cyrya}
+\endinput
+%%
+%% End of file `cpdbk.def'.
diff --git a/language/mongolian/montex/texinput/cpibmrus.def b/language/mongolian/montex/texinput/cpibmrus.def
new file mode 100644
index 0000000000..0aa681289c
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpibmrus.def
@@ -0,0 +1,101 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpibmrus.def
+% Author: Oliver Corff
+% Date: November 8th, 2001
+% Version: 0.4
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: IBMRUS codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpibmrus.def}
+ [1997/11/01 v0.1 Input encoding file for IBM RUS encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{"80}{\CYRA}
+\DeclareInputText{"81}{\CYRB}
+\DeclareInputText{"82}{\CYRV}
+\DeclareInputText{"83}{\CYRG}
+\DeclareInputText{"84}{\CYRD}
+\DeclareInputText{"85}{\CYRE}
+\DeclareInputText{"F0}{\CYRYO}
+\DeclareInputText{"86}{\CYRZH}
+\DeclareInputText{"87}{\CYRZ}
+\DeclareInputText{"88}{\CYRI}
+\DeclareInputText{"89}{\CYRISHRT}
+\DeclareInputText{"8A}{\CYRK}
+\DeclareInputText{"8B}{\CYRL}
+\DeclareInputText{"8C}{\CYRM}
+\DeclareInputText{"8D}{\CYRN}
+\DeclareInputText{"8E}{\CYRO}
+% \DeclareInputText{" }{\CYROTLD} Not available in IBM RUS!
+\DeclareInputText{"8F}{\CYRP}
+\DeclareInputText{"90}{\CYRR}
+\DeclareInputText{"91}{\CYRS}
+\DeclareInputText{"92}{\CYRT}
+\DeclareInputText{"93}{\CYRU}
+% \DeclareInputText{" }{\CYRY} Not available in IBM RUS!
+\DeclareInputText{"94}{\CYRF}
+\DeclareInputText{"95}{\CYRH}
+\DeclareInputText{"96}{\CYRC}
+\DeclareInputText{"97}{\CYRCH}
+\DeclareInputText{"98}{\CYRSH}
+\DeclareInputText{"99}{\CYRCHSH}
+\DeclareInputText{"9A}{\CYRHRDSN}
+\DeclareInputText{"9B}{\CYRERY}
+\DeclareInputText{"9C}{\CYRSFTSN}
+\DeclareInputText{"9D}{\CYREREV}
+\DeclareInputText{"9E}{\CYRYU}
+\DeclareInputText{"9F}{\CYRYA}
+
+\DeclareInputText{"A0}{\cyra}
+\DeclareInputText{"A1}{\cyrb}
+\DeclareInputText{"A2}{\cyrv}
+\DeclareInputText{"A3}{\cyrg}
+\DeclareInputText{"A4}{\cyrd}
+\DeclareInputText{"A5}{\cyre}
+\DeclareInputText{"F1}{\cyryo}
+\DeclareInputText{"A6}{\cyrzh}
+\DeclareInputText{"A7}{\cyrz}
+\DeclareInputText{"A8}{\cyri}
+\DeclareInputText{"A9}{\cyrishrt}
+\DeclareInputText{"AA}{\cyrk}
+\DeclareInputText{"AB}{\cyrl}
+\DeclareInputText{"AC}{\cyrm}
+\DeclareInputText{"AD}{\cyrn}
+\DeclareInputText{"AE}{\cyro}
+% \DeclareInputText{" }{\cyrotld} Not available in IBM RUS!
+\DeclareInputText{"AF}{\cyrp}
+\DeclareInputText{"E0}{\cyrr}
+\DeclareInputText{"E1}{\cyrs}
+\DeclareInputText{"E2}{\cyrt}
+\DeclareInputText{"E3}{\cyru}
+% \DeclareInputText{" }{\cyry} Not available in IBM RUS!
+\DeclareInputText{"E4}{\cyrf}
+\DeclareInputText{"E5}{\cyrh}
+\DeclareInputText{"E6}{\cyrc}
+\DeclareInputText{"E7}{\cyrch}
+\DeclareInputText{"E8}{\cyrsh}
+\DeclareInputText{"E9}{\cyrshch}
+\DeclareInputText{"EA}{\cyrhrdsn}
+\DeclareInputText{"EB}{\cyrery}
+\DeclareInputText{"EC}{\cyrsftsn}
+\DeclareInputText{"ED}{\cyrerev}
+\DeclareInputText{"EE}{\cyryu}
+\DeclareInputText{"EF}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpibmrus.def'.
diff --git a/language/mongolian/montex/texinput/cpkoi.def b/language/mongolian/montex/texinput/cpkoi.def
new file mode 100644
index 0000000000..1d36922db8
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpkoi.def
@@ -0,0 +1,104 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpkoi.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: KOI codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpkoi.def}
+ [1997/11/01 v0.1 Input encoding file for KOI encoding]
+ \message{Attention; this one may be buggy, especially XATUU TEMDEG!}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{"E1}{\CYRA}
+\DeclareInputText{"E2}{\CYRB}
+\DeclareInputText{"F7}{\CYRV}
+\DeclareInputText{"E7}{\CYRG}
+\DeclareInputText{"E4}{\CYRD}
+\DeclareInputText{"E5}{\CYRE}
+\DeclareInputText{"A4}{\CYRYO}
+\DeclareInputText{"F6}{\CYRZH}
+\DeclareInputText{"FA}{\CYRZ}
+\DeclareInputText{"E9}{\CYRI}
+\DeclareInputText{"EA}{\CYRISHRT}
+\DeclareInputText{"EB}{\CYRK}
+\DeclareInputText{"EC}{\CYRL}
+\DeclareInputText{"ED}{\CYRM}
+\DeclareInputText{"EE}{\CYRN}
+\DeclareInputText{"EF}{\CYRO}
+% \DeclareInputText{" }{\CYROTLD} Not available in KOI!
+\DeclareInputText{"F0}{\CYRP}
+\DeclareInputText{"F2}{\CYRR}
+\DeclareInputText{"F3}{\CYRS}
+\DeclareInputText{"F4}{\CYRT}
+\DeclareInputText{"F5}{\CYRU}
+% \DeclareInputText{" }{\CYRY} Not available in KOI!
+\DeclareInputText{"E6}{\CYRF}
+\DeclareInputText{"E8}{\CYRH}
+% \DeclareInputText{" }{\CYRHSHA} Not available in KOI!
+\DeclareInputText{"E3}{\CYRC}
+\DeclareInputText{"FE}{\CYRCH}
+\DeclareInputText{"FB}{\CYRSH}
+\DeclareInputText{"FD}{\CYRSHCH}
+\DeclareInputText{"FF}{\CYRHRDSN}
+\DeclareInputText{"F9}{\CYRERY}
+\DeclareInputText{"F8}{\CYRSFTSN}
+\DeclareInputText{"FC}{\CYREREV}
+\DeclareInputText{"E0}{\CYRYA}
+\DeclareInputText{"F1}{\CYRYU}
+
+\DeclareInputText{"C1}{\cyra}
+\DeclareInputText{"C2}{\cyrb}
+\DeclareInputText{"D7}{\cyrv}
+\DeclareInputText{"C7}{\cyrg}
+\DeclareInputText{"C4}{\cyrd}
+\DeclareInputText{"C5}{\cyre}
+\DeclareInputText{"A3}{\cyryo}
+\DeclareInputText{"D6}{\cyrzh}
+\DeclareInputText{"DA}{\cyrz}
+\DeclareInputText{"C9}{\cyri}
+\DeclareInputText{"CA}{\cyrishrt}
+\DeclareInputText{"CB}{\cyrk}
+\DeclareInputText{"CC}{\cyrl}
+\DeclareInputText{"CD}{\cyrm}
+\DeclareInputText{"CE}{\cyrn}
+\DeclareInputText{"CF}{\cyro}
+% \DeclareInputText{" }{\cyroe} Not available in KOI!
+\DeclareInputText{"D0}{\cyrp}
+\DeclareInputText{"D2}{\cyrr}
+\DeclareInputText{"D3}{\cyrs}
+\DeclareInputText{"D4}{\cyrt}
+\DeclareInputText{"D5}{\cyru}
+% \DeclareInputText{" }{\cyrue} Not available in KOI!
+\DeclareInputText{"C6}{\cyrf}
+\DeclareInputText{"C8}{\cyrh}
+% \DeclareInputText{" }{\cyrhsha} Not available in KOI!
+\DeclareInputText{"C3}{\cyrc}
+\DeclareInputText{"DE}{\cyrch}
+\DeclareInputText{"DB}{\cyrsh}
+\DeclareInputText{"DD}{\cyrhch}
+\DeclareInputText{"DF}{\cyrhrdsn}
+\DeclareInputText{"D9}{\cyrery}
+\DeclareInputText{"D8}{\cyrsftsn}
+\DeclareInputText{"DC}{\cyrerev}
+\DeclareInputText{"C0}{\cyryu}
+\DeclareInputText{"D1}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpkoi.def'.
diff --git a/language/mongolian/montex/texinput/cpmls.def b/language/mongolian/montex/texinput/cpmls.def
new file mode 100644
index 0000000000..b8000911b4
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpmls.def
@@ -0,0 +1,149 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpmls.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: MLS codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpmls.def}
+ [1997/11/01 v0.1 Input encoding file for MLS encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+%
+% Umlaute etc.
+%
+\DeclareInputText{"081}{{\"u}}
+\DeclareInputText{"084}{{\"a}}
+\DeclareInputText{"089}{{\"e}}
+\DeclareInputText{"08B}{{\"i}}
+\DeclareInputText{"08E}{{\"A}}
+\DeclareInputText{"094}{{\"o}}
+\DeclareInputText{"099}{{\"O}}
+\DeclareInputText{"09A}{{\"U}}
+\DeclareInputText{"0AE}{\lgu}
+\DeclareInputText{"0AF}{\rgu}
+\DeclareInputText{"0E1}{{\ss}}
+\DeclareInputText{"0E7}{{\g}}
+\DeclareInputText{"0FF}{\nobreakspace}
+%
+%
+% Cyrillic Letters
+%
+\DeclareInputText{"80}{\CYRB}
+\DeclareInputText{"82}{\CYRD}
+\DeclareInputText{"83}{\CYRYO}
+\DeclareInputText{"85}{\CYRZH}
+\DeclareInputText{"86}{\CYRZ}
+\DeclareInputText{"87}{\CYRI}
+\DeclareInputText{"88}{\CYRISHRT}
+\DeclareInputText{"8A}{\CYRL}
+\DeclareInputText{"8C}{\CYROTLD}
+\DeclareInputText{"8D}{\CYRP}
+\DeclareInputText{"8F}{\CYRU}
+\DeclareInputText{"90}{\CYRF}
+\DeclareInputText{"91}{\CYRC}
+\DeclareInputText{"92}{\CYRCH}
+\DeclareInputText{"93}{\CYRSH}
+\DeclareInputText{"95}{\CYRSHCH}
+\DeclareInputText{"96}{\CYRHRDSN}
+\DeclareInputText{"97}{\CYRERY}
+\DeclareInputText{"98}{\CYRSFTSN}
+\DeclareInputText{"9B}{\CYREREV}
+\DeclareInputText{"9C}{\CYRYU}
+\DeclareInputText{"9D}{\CYRYA}
+\DeclareInputText{"9E}{\cyrb}
+\DeclareInputText{"9F}{\cyrw}
+\DeclareInputText{"A0}{\cyrg}
+\DeclareInputText{"A1}{\cyrd}
+\DeclareInputText{"A2}{\cyrj}
+\DeclareInputText{"A3}{\cyrz}
+\DeclareInputText{"A4}{\cyri}
+\DeclareInputText{"A5}{\cyrishrt}
+\DeclareInputText{"A6}{\cyrk}
+\DeclareInputText{"A7}{\cyrl}
+\DeclareInputText{"A8}{\cyrm}
+\DeclareInputText{"A9}{\cyrn}
+\DeclareInputText{"AA}{\cyrotld}
+\DeclareInputText{"AB}{\cyrp}
+\DeclareInputText{"AC}{\cyrt}
+\DeclareInputText{"AD}{\cyry}
+\DeclareInputText{"B0}{\cyrf}
+\DeclareInputText{"B1}{\cyrc}
+\DeclareInputText{"B2}{\cyrch}
+\DeclareInputText{"B4}{\cyrsh}
+\DeclareInputText{"B5}{\cyrshch}
+\DeclareInputText{"B6}{\cyrhrdsn}
+\DeclareInputText{"B7}{\cyrery}
+\DeclareInputText{"B8}{\cyrsftsn}
+\DeclareInputText{"BD}{\cyrerev}
+\DeclareInputText{"BE}{\cyryu}
+\DeclareInputText{"C1}{\cyrya}
+\DeclareInputText{"E2}{\CYRG}
+%
+%
+% Bicig Letters
+%
+\DeclareInputText{"C2}{\titem}
+\DeclareInputText{"C3}{\shud}
+\DeclareInputText{"C5}{\secondaryshud}
+\DeclareInputText{"C6}{\shilbe}
+\DeclareInputText{"C7}{\gedes}
+\DeclareInputText{"CF}{\secondarygedes}
+\DeclareInputText{"D0}{\cegteishud}
+\DeclareInputText{"D1}{\lewer}
+\DeclareInputText{"D2}{\suuliinlewer}
+\DeclareInputText{"D3}{\tertiarylewer}
+\DeclareInputText{"D4}{\mewer}
+\DeclareInputText{"D5}{\suuliinmewer}
+\DeclareInputText{"D6}{\xewteeqix}
+\DeclareInputText{"D7}{\dawxarcegtxewteeqix}
+\DeclareInputText{"D8}{\halfnum}
+\DeclareInputText{"DB}{\num}
+\DeclareInputText{"DC}{\halfnumtgedes}
+\DeclareInputText{"DD}{\numtaigedes}
+\DeclareInputText{"DE}{\buruuxarsangedes}
+\DeclareInputText{"DF}{\gedesteishilbe}
+\DeclareInputText{"E0}{\erweeljinshilbe}
+\DeclareInputText{"E3}{\secerweeljin}
+\DeclareInputText{"E4}{\bosooshilbe}
+\DeclareInputText{"E5}{\etgershilbe}
+\DeclareInputText{"E6}{\zawj}
+\DeclareInputText{"E8}{\suuliinzawj}
+\DeclareInputText{"E9}{\dawxarcegtzawj}
+\DeclareInputText{"EA}{\sereeewer}
+\DeclareInputText{"EB}{\matgarshilbe}
+\DeclareInputText{"EC}{\bituushilbe}
+\DeclareInputText{"ED}{\secondaryqagt}
+\DeclareInputText{"EE}{\qagt}
+\DeclareInputText{"EF}{\secnumtdelbenqix}
+\DeclareInputText{"F0}{\numtdelbenqix}
+\DeclareInputText{"F1}{\secsertenqixtnum}
+\DeclareInputText{"F2}{\sertenqixtnum}
+\DeclareInputText{"F3}{\zadgaizardigt}
+\DeclareInputText{"F4}{\bituuzardigt}
+\DeclareInputText{"F5}{\malgaitaititem}
+\DeclareInputText{"F6}{\suul}
+\DeclareInputText{"F7}{\orxic}
+\DeclareInputText{"F8}{\biodoisuul}
+\DeclareInputText{"F9}{\bagodoisuul}
+\DeclareInputText{"FA}{\nceg}
+\DeclareInputText{"FB}{\gceg}
+\DeclareInputText{"FC}{\ceg}
+\DeclareInputText{"FD}{\dorwoljin}
+%%
+\endinput
+%%
+%% End of file `cpmls.def'.
diff --git a/language/mongolian/montex/texinput/cpmnk.def b/language/mongolian/montex/texinput/cpmnk.def
new file mode 100644
index 0000000000..771420d3df
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpmnk.def
@@ -0,0 +1,100 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpmnk.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: MNK codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpmnk.def}
+ [1997/11/01 v0.1 Input encoding file for MNK encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{128}{\CYRA}
+\DeclareInputText{129}{\CYRB}
+\DeclareInputText{130}{\CYRV}
+\DeclareInputText{131}{\CYRG}
+\DeclareInputText{132}{\CYRD}
+\DeclareInputText{133}{\CYRE}
+\DeclareInputText{134}{\CYRYO}
+\DeclareInputText{135}{\CYRZH}
+\DeclareInputText{136}{\CYRZ}
+\DeclareInputText{137}{\CYRI}
+\DeclareInputText{138}{\CYRISHRT}
+\DeclareInputText{139}{\CYRK}
+\DeclareInputText{140}{\CYRL}
+\DeclareInputText{141}{\CYRM}
+\DeclareInputText{142}{\CYRN}
+\DeclareInputText{143}{\CYRO}
+\DeclareInputText{144}{\CYROTLD}
+\DeclareInputText{145}{\CYRP}
+\DeclareInputText{146}{\CYRR}
+\DeclareInputText{147}{\CYRS}
+\DeclareInputText{148}{\CYRT}
+\DeclareInputText{149}{\CYRU}
+\DeclareInputText{150}{\CYRY}
+\DeclareInputText{151}{\CYRF}
+\DeclareInputText{152}{\CYRH}
+\DeclareInputText{153}{\CYRC}
+\DeclareInputText{154}{\CYRCH}
+\DeclareInputText{155}{\CYRSH}
+\DeclareInputText{156}{\CYRSHCH}
+\DeclareInputText{157}{\CYRHRDSN}
+\DeclareInputText{158}{\CYRERY}
+\DeclareInputText{159}{\CYRSFTSN}
+\DeclareInputText{160}{\CYREREV}
+\DeclareInputText{161}{\CYRYU}
+\DeclareInputText{162}{\CYRYA}
+\DeclareInputText{163}{\cyra}
+\DeclareInputText{164}{\cyrb}
+\DeclareInputText{165}{\cyrv}
+\DeclareInputText{166}{\cyrg}
+\DeclareInputText{167}{\cyrd}
+\DeclareInputText{168}{\cyre}
+\DeclareInputText{169}{\cyryo}
+\DeclareInputText{170}{\cyrzh}
+\DeclareInputText{173}{\cyrz}
+\DeclareInputText{224}{\cyri}
+\DeclareInputText{225}{\cyrishrt}
+\DeclareInputText{226}{\cyrk}
+\DeclareInputText{227}{\cyrl}
+\DeclareInputText{228}{\cyrm}
+\DeclareInputText{229}{\cyrn}
+\DeclareInputText{230}{\cyro}
+\DeclareInputText{231}{\cyrotld}
+\DeclareInputText{232}{\cyrp}
+\DeclareInputText{233}{\cyrr}
+\DeclareInputText{234}{\cyrs}
+\DeclareInputText{235}{\cyrt}
+\DeclareInputText{236}{\cyru}
+\DeclareInputText{237}{\cyry}
+\DeclareInputText{238}{\cyrf}
+\DeclareInputText{239}{\cyrh}
+\DeclareInputText{240}{\cyrc}
+\DeclareInputText{241}{\cyrch}
+\DeclareInputText{242}{\cyrsh}
+\DeclareInputText{243}{\cyrshch}
+\DeclareInputText{244}{\cyrhrdsn}
+\DeclareInputText{245}{\cyrery}
+\DeclareInputText{248}{\cyrsftsn}
+\DeclareInputText{252}{\cyrerev}
+\DeclareInputText{253}{\cyryu}
+\DeclareInputText{254}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpmnk.def'.
diff --git a/language/mongolian/montex/texinput/cpmos.def b/language/mongolian/montex/texinput/cpmos.def
new file mode 100644
index 0000000000..41eaa5c70a
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpmos.def
@@ -0,0 +1,100 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpmos.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: MOS codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpmos.def}
+ [1997/11/01 v0.1 Input encoding file for MOS encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{128}{\CYRA}
+\DeclareInputText{129}{\CYRB}
+\DeclareInputText{130}{\CYRV}
+\DeclareInputText{131}{\CYRG}
+\DeclareInputText{132}{\CYRD}
+\DeclareInputText{133}{\CYRE}
+\DeclareInputText{160}{\CYRYO}
+\DeclareInputText{134}{\CYRZH}
+\DeclareInputText{135}{\CYRZ}
+\DeclareInputText{136}{\CYRI}
+\DeclareInputText{137}{\CYRISHRT}
+\DeclareInputText{138}{\CYRK}
+\DeclareInputText{139}{\CYRL}
+\DeclareInputText{140}{\CYRM}
+\DeclareInputText{141}{\CYRN}
+\DeclareInputText{142}{\CYRO}
+\DeclareInputText{153}{\CYROTLD}
+\DeclareInputText{143}{\CYRP}
+\DeclareInputText{144}{\CYRR}
+\DeclareInputText{145}{\CYRS}
+\DeclareInputText{146}{\CYRT}
+\DeclareInputText{147}{\CYRU}
+\DeclareInputText{154}{\CYRY}
+\DeclareInputText{148}{\CYRF}
+\DeclareInputText{149}{\CYRH}
+\DeclareInputText{150}{\CYRC}
+\DeclareInputText{151}{\CYRCH}
+\DeclareInputText{152}{\CYRSH}
+\DeclareInputText{164}{\CYRSHCH}
+\DeclareInputText{162}{\CYRHRDSN}
+\DeclareInputText{155}{\CYRERY}
+\DeclareInputText{156}{\CYRSFTSN}
+\DeclareInputText{157}{\CYREREV}
+\DeclareInputText{158}{\CYRYU}
+\DeclareInputText{159}{\CYRYA}
+\DeclareInputText{224}{\cyra}
+\DeclareInputText{225}{\cyrb}
+\DeclareInputText{226}{\cyrv}
+\DeclareInputText{227}{\cyrg}
+\DeclareInputText{228}{\cyrd}
+\DeclareInputText{229}{\cyre}
+\DeclareInputText{161}{\cyryo}
+\DeclareInputText{230}{\cyrzh}
+\DeclareInputText{231}{\cyrz}
+\DeclareInputText{232}{\cyri}
+\DeclareInputText{233}{\cyrishrt}
+\DeclareInputText{234}{\cyrk}
+\DeclareInputText{235}{\cyrl}
+\DeclareInputText{236}{\cyrm}
+\DeclareInputText{237}{\cyrn}
+\DeclareInputText{238}{\cyro}
+\DeclareInputText{249}{\cyrotld}
+\DeclareInputText{239}{\cyrp}
+\DeclareInputText{240}{\cyrr}
+\DeclareInputText{241}{\cyrs}
+\DeclareInputText{242}{\cyrt}
+\DeclareInputText{243}{\cyru}
+\DeclareInputText{250}{\cyry}
+\DeclareInputText{244}{\cyrf}
+\DeclareInputText{245}{\cyrh}
+\DeclareInputText{246}{\cyrc}
+\DeclareInputText{247}{\cyrch}
+\DeclareInputText{248}{\cyrsh}
+\DeclareInputText{165}{\cyrshch}
+\DeclareInputText{163}{\cyrhrdsn}
+\DeclareInputText{251}{\cyrery}
+\DeclareInputText{252}{\cyrsftsn}
+\DeclareInputText{253}{\cyrerev}
+\DeclareInputText{254}{\cyryu}
+\DeclareInputText{168}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpmos.def'.
diff --git a/language/mongolian/montex/texinput/cpncc.def b/language/mongolian/montex/texinput/cpncc.def
new file mode 100644
index 0000000000..c980ad2a7a
--- /dev/null
+++ b/language/mongolian/montex/texinput/cpncc.def
@@ -0,0 +1,100 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: cpncc.def
+% Author: Oliver Corff
+% Date: February 8th, 1998
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: NCC codepage definition
+%
+% Note: This file forms part of the MonTeX package which
+% should always be distributed in complete form.
+%
+% The code positions in this file were cross-checked
+% by Vladimir Volovich and are compatible in position
+% and name with those of the emerging T2 standard.
+%
+% Thank you very much, Vladimir!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{cpncc.def}
+ [1997/11/01 v0.1 Input encoding file for NCC encoding]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%
+% Cyrillic Letters
+%
+\DeclareInputText{128}{\CYRA}
+\DeclareInputText{129}{\CYRB}
+\DeclareInputText{130}{\CYRV}
+\DeclareInputText{131}{\CYRG}
+\DeclareInputText{132}{\CYRD}
+\DeclareInputText{133}{\CYRE}
+\DeclareInputText{134}{\CYRYO}
+\DeclareInputText{135}{\CYRZH}
+\DeclareInputText{136}{\CYRZ}
+\DeclareInputText{137}{\CYRI}
+\DeclareInputText{139}{\CYRISHRT}
+\DeclareInputText{140}{\CYRK}
+\DeclareInputText{142}{\CYRL}
+\DeclareInputText{143}{\CYRM}
+\DeclareInputText{144}{\CYRN}
+\DeclareInputText{145}{\CYRO}
+\DeclareInputText{146}{\CYROTLD}
+\DeclareInputText{147}{\CYRP}
+\DeclareInputText{148}{\CYRR}
+\DeclareInputText{149}{\CYRS}
+\DeclareInputText{150}{\CYRT}
+\DeclareInputText{151}{\CYRU}
+\DeclareInputText{152}{\CYRY}
+\DeclareInputText{153}{\CYRF}
+\DeclareInputText{154}{\CYRH}
+\DeclareInputText{155}{\CYRC}
+\DeclareInputText{156}{\CYRCH}
+\DeclareInputText{157}{\CYRSH}
+\DeclareInputText{158}{\CYRSHCH}
+\DeclareInputText{159}{\CYRHRDSN}
+\DeclareInputText{160}{\CYRERY}
+\DeclareInputText{161}{\CYRSFTSN}
+\DeclareInputText{162}{\CYREREV}
+\DeclareInputText{163}{\CYRYU}
+\DeclareInputText{164}{\CYRYA}
+\DeclareInputText{165}{\cyra}
+\DeclareInputText{166}{\cyrb}
+\DeclareInputText{167}{\cyrv}
+\DeclareInputText{168}{\cyrg}
+\DeclareInputText{169}{\cyrd}
+\DeclareInputText{170}{\cyre}
+\DeclareInputText{171}{\cyryo}
+\DeclareInputText{172}{\cyrzh}
+\DeclareInputText{173}{\cyrz}
+\DeclareInputText{225}{\cyri}
+\DeclareInputText{226}{\cyrishrt}
+\DeclareInputText{227}{\cyrk}
+\DeclareInputText{228}{\cyrl}
+\DeclareInputText{229}{\cyrm}
+\DeclareInputText{230}{\cyrn}
+\DeclareInputText{231}{\cyro}
+\DeclareInputText{232}{\cyrotld}
+\DeclareInputText{233}{\cyrp}
+\DeclareInputText{234}{\cyrr}
+\DeclareInputText{235}{\cyrs}
+\DeclareInputText{236}{\cyrt}
+\DeclareInputText{237}{\cyru}
+\DeclareInputText{238}{\cyry}
+\DeclareInputText{239}{\cyrf}
+\DeclareInputText{240}{\cyrh}
+\DeclareInputText{241}{\cyrc}
+\DeclareInputText{242}{\cyrch}
+\DeclareInputText{243}{\cyrsh}
+\DeclareInputText{244}{\cyrshch}
+\DeclareInputText{245}{\cyrhrdsn}
+\DeclareInputText{246}{\cyrery}
+\DeclareInputText{247}{\cyrsftsn}
+\DeclareInputText{248}{\cyrerev}
+\DeclareInputText{249}{\cyryu}
+\DeclareInputText{251}{\cyrya}
+%
+\endinput
+%%
+%% End of file `cpncc.def'.
diff --git a/language/mongolian/montex/texinput/english.def b/language/mongolian/montex/texinput/english.def
new file mode 100644
index 0000000000..45b7d601bb
--- /dev/null
+++ b/language/mongolian/montex/texinput/english.def
@@ -0,0 +1,36 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: English.def
+% Author: Oliver Corff
+% Date: November 1st, 1997
+% Version: 0.1
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels, given in English
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+% We tell what we need and who we are:
+%
+% The caption names are defined here.
+%
+\def\captionsenglish{%
+\def\prefacename {Preface}%
+\def\refname {References}%
+\def\abstractname {Abstract}%
+\def\bibname {Bibliography}%
+\def\chaptername {Chapter}%
+\def\appendixname {Appendix}%
+\def\contentsname {Contents}%
+\def\listfigurename{List of Figures}%
+\def\listtablename {List of Tables}%
+\def\indexname {Index}%
+\def\figurename {Figure}%
+\def\tablename {Table}%
+\def\partname {Part}%
+\def\enclname {encl}%
+\def\ccname {cc}%
+\def\headtoname {To}%
+\def\pagename {Page}%
+\def\seename {see}%
+\def\alsoname {see also}}
diff --git a/language/mongolian/montex/texinput/kazakh.def b/language/mongolian/montex/texinput/kazakh.def
new file mode 100644
index 0000000000..15de094b2b
--- /dev/null
+++ b/language/mongolian/montex/texinput/kazakh.def
@@ -0,0 +1,69 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: Xalx.def
+% Author: Oliver Corff
+% Date: November 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels, litteral numbering and date,
+% given in Modern Mongolian (Xalx)
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+% The caption names are defined here.
+%
+\def\captionsxalx{%
+ \def\prefacename {{\mnr Or{\sh}il}}
+ %\def\prefacename {{\mnr "Omn"ox "ug}}
+ \def\refname {{\mnr A{\sh}iglasan nom}}
+ \def\abstractname {{\mnr Towqlol}}
+ \def\bibname {{\mnr Nom z"u"i}}
+ \def\chaptername {{\mnr B"ul"ag}}
+ \def\appendixname {{\mnr Xawsralt}}
+ \def\contentsname {{\mnr Garqig}}
+ %\def\contentsname {{\mnr Aguulga}}
+ \def\listfigurename {{\mnr Zurgi"in jagsaalt}}
+ \def\listtablename {{\mnr X"usn"agti"in jagsaalt}}
+ \def\indexname {{\mnr B"ugd x"alx"a"as}}
+ \def\figurename {{\mnr Zurag}}
+ \def\tablename {{\mnr X"usn"agt}}
+ \def\partname {{\mnr X"as"ag}}
+ \def\enclname {{\mnr Oruulax}}
+ \def\ccname {{\mnr }}
+ \def\headtoname {{\mnr }}
+ \def\pagename {{\mnr Xuudas}}
+ \def\seename {{\mnr "uzn"a "u"u}}
+ \def\alsoname {{\mnr m"on "uzn"a "u"u}}%
+}
+\newcommand{\XalxToday}{%
+{\mnr\number\year\space ony\space\ifcase\month%
+ \or n"agd"ug"a"ar% Januar
+ \or xo"erdugaar% Februar
+ \or gurawdugaar% M"arz
+ \or d"or"owd"ug"a"ar% April
+ \or tawdugaar% Mai
+ \or zurgaadugaar% Juni
+ \or doloodugaar% Juli
+ \or na"imdugaar% August
+ \or esd"ug"a"ar% September
+ \or arawdugaar% Oktober
+ \or arwan n"agd"ug"a"ar% November
+ \or arwan xo"erdugaar\fi% Dezember
+ \space saryn\space\number\day}}
+%
+%
+\newcommand{\Useg}[1]{{\mnr\ifcase#1%
+ \or A\or B\or W\or G\or D\or E\or \"E\or J%
+ \or Z\or I\or K\or L\or M\or N\or O\or \"O%
+ \or P\or R\or S\or T\or U\or \"U\or F\or X%
+ \or C\or Q\or {\Sh}\or \Qh\or \"A\or \Yu\or \Ya%
+ \else\@ctrerr\fi}}%
+%
+\newcommand{\useg}[1]{{\mnr\ifcase#1%
+ \or a\or b\or w\or g\or d\or e\or \"e\or j%
+ \or z\or i\or k\or l\or m\or n\or o\or \"o%
+ \or p\or r\or s\or t\or u\or \"u\or f\or x%
+ \or c\or q\or {\sh}\or \qh\or \"a\or \yu\or \ya%
+ \else\@ctrerr\fi}}%
diff --git a/language/mongolian/montex/texinput/lmabthhs.fd b/language/mongolian/montex/texinput/lmabthhs.fd
new file mode 100644
index 0000000000..a57846ae60
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmabthhs.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmabthhs.fd
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Manju (LMA)
+% Manju Bithe Horizontal Steel Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmabthhs.fd}
+ [2001/04/01 v0.2 Bithe Horizontal font definitions]
+
+\DeclareFontFamily{LMA}{bthhs}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMA}{bthhs}{m}{n}% Medium Weight
+ { <-> bthhsm }{}
+
+\DeclareFontShape{LMA}{bthhs}{b}{n}% Bold Weight
+ { <-> bthhsb }{}
+
+\DeclareFontShape{LMA}{bthhs}{bx}{n}% Bold Extended
+ { <-> sub*bthhs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmabthhs.fd'.
diff --git a/language/mongolian/montex/texinput/lmabthhw.fd b/language/mongolian/montex/texinput/lmabthhw.fd
new file mode 100644
index 0000000000..6b449b17b4
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmabthhw.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmabthhw.fd
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Manju (LMA)
+% Manju Bithe Horizontal Wood Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmabthhw.fd}
+ [2001/04/01 v0.2 Bithe Horizontal font definitions]
+
+\DeclareFontFamily{LMA}{bthhw}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMA}{bthhw}{m}{n}% Medium Weight
+ { <-> bthhsm }{}
+
+\DeclareFontShape{LMA}{bthhw}{b}{n}% Bold Weight
+ { <-> bthhsb }{}
+
+\DeclareFontShape{LMA}{bthhw}{bx}{n}% Bold Extended
+ { <-> sub*bthhw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmabthhw.fd'.
diff --git a/language/mongolian/montex/texinput/lmabthvs.fd b/language/mongolian/montex/texinput/lmabthvs.fd
new file mode 100644
index 0000000000..96d03c2fef
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmabthvs.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmabthvs.fd
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Manju (LMA)
+% Manju Bithe Vertical Steel Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmabthvs.fd}
+ [2001/12/01 v0.8 Bithe Vertical font definitions]
+
+\DeclareFontFamily{LMA}{bthvs}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMA}{bthvs}{m}{n}% Medium Weight
+ { <-> bthvsm }{}
+
+\DeclareFontShape{LMA}{bthvs}{b}{n}% Bold Weight
+ { <-> bthvsb }{}
+
+\DeclareFontShape{LMA}{bthvs}{bx}{n}% Bold Extended
+ { <-> sub*bthvs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmabthvs.fd'.
diff --git a/language/mongolian/montex/texinput/lmabthvw.fd b/language/mongolian/montex/texinput/lmabthvw.fd
new file mode 100644
index 0000000000..8c4abf5c58
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmabthvw.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmabthvw.fd
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Manju (LMA)
+% Manju Bithe Vertical Wood Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmabthvw.fd}
+ [2001/04/01 v0.2 Bithe Vertical font definitions]
+
+\DeclareFontFamily{LMA}{bthvw}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMA}{bthvw}{m}{n}% Medium Weight
+ { <-> bthvsm }{}
+
+\DeclareFontShape{LMA}{bthvw}{b}{n}% Bold Weight
+ { <-> bthvsb }{}
+
+\DeclareFontShape{LMA}{bthvw}{bx}{n}% Bold Extended
+ { <-> sub*bthvw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmabthvw.fd'.
diff --git a/language/mongolian/montex/texinput/lmaenc.def b/language/mongolian/montex/texinput/lmaenc.def
new file mode 100644
index 0000000000..d5afaac62f
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmaenc.def
@@ -0,0 +1,306 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmaenc.def
+% Author: Oliver Corff
+% Date: July 1st, 2002
+% Version: 0.9
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Manju Bithe Encoding Definition
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\ProvidesFile{lmaenc.def}
+ [2002/07/01 v0.9 Manju Language Support Bithe Encoding]
+%
+%
+\DeclareFontEncoding{LMA}{}{}
+\DeclareFontSubstitution{LMA}{bthvs}{m}{n}
+%
+\DeclareTextComposite{\^}{LMA}{u}{69}
+\DeclareTextComposite{\v}{LMA}{s}{79}
+%
+%% \DeclareTextSymbol{\textmongolianbirga}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianellipsis}{LMA}{47}
+ \DeclareTextSymbolDefault{\textmongolianellipsis}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongoliancomma}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianfullstop}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliancolon}{LMA}{58}
+ \DeclareTextSymbolDefault{\textmongoliancolon}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfourdots}{LMA}{59}
+ \DeclareTextSymbolDefault{\textmongolianfourdots}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongoliantodosofthyphen}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliansibesyllableboundarymarker}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchucomma}{LMA}{44}
+ \DeclareTextSymbolDefault{\textmongolianmanchucomma}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchufullstop}{LMA}{46}
+ \DeclareTextSymbolDefault{\textmongolianmanchufullstop}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliannirugu}{LMA}{124}
+ \DeclareTextSymbolDefault{\textmongoliannirugu}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfreevariationselectorone}{LMA}{39}
+ \DeclareTextSymbolDefault{\textmongolianfreevariationselectorone}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfreevariationselectortwo}{LMA}{34}
+ \DeclareTextSymbolDefault{\textmongolianfreevariationselectortwo}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianfreevariationselectorthree}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianvowelseparator}{LMA}{43}
+ \DeclareTextSymbolDefault{\textmongolianvowelseparator}{LMA}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianzero}{LMA}{48}
+ \DeclareTextSymbolDefault{\textmongolianzero}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianone}{LMA}{49}
+ \DeclareTextSymbolDefault{\textmongolianone}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliantwo}{LMA}{50}
+ \DeclareTextSymbolDefault{\textmongoliantwo}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianthree}{LMA}{51}
+ \DeclareTextSymbolDefault{\textmongolianthree}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfour}{LMA}{52}
+ \DeclareTextSymbolDefault{\textmongolianfour}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfive}{LMA}{53}
+ \DeclareTextSymbolDefault{\textmongolianfive}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansix}{LMA}{54}
+ \DeclareTextSymbolDefault{\textmongoliansix}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianseven}{LMA}{55}
+ \DeclareTextSymbolDefault{\textmongolianseven}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianeight}{LMA}{56}
+ \DeclareTextSymbolDefault{\textmongolianeight}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliannine}{LMA}{57}
+ \DeclareTextSymbolDefault{\textmongoliannine}{LMA}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliana}{LMA}{97}
+ \DeclareTextSymbolDefault{\textmongoliana}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongoliane}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliani}{LMA}{105}
+ \DeclareTextSymbolDefault{\textmongoliani}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliano}{LMA}{111}
+ \DeclareTextSymbolDefault{\textmongoliano}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianu}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianoe}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianue}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianee}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianna}{LMA}{110}
+ \DeclareTextSymbolDefault{\textmongolianna}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianang}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianba}{LMA}{98}
+ \DeclareTextSymbolDefault{\textmongolianba}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianpa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianqa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianga}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianma}{LMA}{109}
+ \DeclareTextSymbolDefault{\textmongolianma}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianla}{LMA}{108}
+ \DeclareTextSymbolDefault{\textmongolianla}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansa}{LMA}{115}
+ \DeclareTextSymbolDefault{\textmongoliansa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongoliansha}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianta}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianda}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliancha}{LMA}{99}
+ \DeclareTextSymbolDefault{\textmongoliancha}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianja}{LMA}{106}
+ \DeclareTextSymbolDefault{\textmongolianja}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianya}{LMA}{121}
+ \DeclareTextSymbolDefault{\textmongolianya}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianra}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianwa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianfa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianka}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliankha}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantsa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianza}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianhaa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianzra}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianlha}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianzhi}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianchi}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodolongvowelsign}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoe}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoi}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoo}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodou}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodooe}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoue}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoang}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoba}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodopa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoqa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoga}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoma}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodota}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantododa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodocha}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoja}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodotsa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoya}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodowa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoka}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodogaa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodohaa}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodojia}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodonia}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantododza}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibee}{LMA}{101}
+ \DeclareTextSymbolDefault{\textmongoliansibee}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongoliansibei}{LMA}{105}
+%% \DeclareTextSymbol{\textmongoliansibeiy}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeue}{LMA}{117}
+ \DeclareTextSymbolDefault{\textmongoliansibeue}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeu}{LMA}{118}
+ \DeclareTextSymbolDefault{\textmongoliansibeu}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeang}{LMA}{134}
+ \DeclareTextSymbolDefault{\textmongoliansibeang}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongoliansibeka}{LMA}{107}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibega}{LMA}{103}
+ \DeclareTextSymbolDefault{\textmongoliansibega}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeha}{LMA}{104}
+ \DeclareTextSymbolDefault{\textmongoliansibeha}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibepa}{LMA}{112}
+ \DeclareTextSymbolDefault{\textmongoliansibepa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibesha}{LMA}{159}
+ \DeclareTextSymbolDefault{\textmongoliansibesha}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeta}{LMA}{116}
+ \DeclareTextSymbolDefault{\textmongoliansibeta}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeda}{LMA}{100}
+ \DeclareTextSymbolDefault{\textmongoliansibeda}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongoliansibeja}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongoliansibefa}{LMA}{102}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibegaa}{LMA}{162}
+ \DeclareTextSymbolDefault{\textmongoliansibegaa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibehaa}{LMA}{163}
+ \DeclareTextSymbolDefault{\textmongoliansibehaa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibetsa}{LMA}{177}
+ \DeclareTextSymbolDefault{\textmongoliansibetsa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibeza}{LMA}{165}
+ \DeclareTextSymbolDefault{\textmongoliansibeza}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansiberaa}{LMA}{183}
+ \DeclareTextSymbolDefault{\textmongoliansiberaa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansibecha}{LMA}{174}
+ \DeclareTextSymbolDefault{\textmongoliansibecha}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongoliansibezha}{LMA}{174}
+%%%% \DeclareTextSymbol{\textmongolianmanchui}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchuka}{LMA}{107}
+ \DeclareTextSymbolDefault{\textmongolianmanchuka}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchura}{LMA}{114}
+ \DeclareTextSymbolDefault{\textmongolianmanchura}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchufa}{LMA}{102}
+ \DeclareTextSymbolDefault{\textmongolianmanchufa}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchuzha}{LMA}{119}
+ \DeclareTextSymbolDefault{\textmongolianmanchuzha}{LMA}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianaligalianusvaraone}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalivisargaone}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalidamaru}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligaliubadama}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligaliinvertedubadama}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalibaluda}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalithreebaluda}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalia}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalii}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalika}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalinga}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalica}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalitta}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalittha}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalidda}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalinna}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalita}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalida}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalipa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalipha}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalissa}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligalizha}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligaliza}{LMA}{}
+%% \DeclareTextSymbol{\textmongolianaligaliah}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoaligalita}{LMA}{}
+%% \DeclareTextSymbol{\textmongoliantodoaligalizha}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigaligha}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchualigalinga}{LMA}{185}
+ \DeclareTextSymbolDefault{\textmongolianmanchualigalinga}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchualigalica}{LMA}{175}
+ \DeclareTextSymbolDefault{\textmongolianmanchualigalica}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalijha}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalitta}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigaliddha}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalita}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalidha}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalissa}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalicya}{LMA}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchualigalizha}{LMA}{181}
+ \DeclareTextSymbolDefault{\textmongolianmanchualigalizha}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianmanchualigaliza}{LMA}{122}
+ \DeclareTextSymbolDefault{\textmongolianmanchualigaliza}{LMA}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%%%% \DeclareTextSymbol{\textmongolianaligalihalfu}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianaligalihalfya}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianmanchualigalibha}{LMA}{}
+%%%% \DeclareTextSymbol{\textmongolianaligalidagalga}{LMA}{}
+\endinput
diff --git a/language/mongolian/montex/texinput/lmccmdh.fd b/language/mongolian/montex/texinput/lmccmdh.fd
new file mode 100644
index 0000000000..401a45b99b
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmdh.fd
@@ -0,0 +1,23 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmdh.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Dunhill Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmdh.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmdh}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmdh}{m}{n}
+ { <-> kmdunh10 }{}
+
+\endinput
+%%
+%% End of file `lmccmdh.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmfib.fd b/language/mongolian/montex/texinput/lmccmfib.fd
new file mode 100644
index 0000000000..b73b068f42
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmfib.fd
@@ -0,0 +1,23 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmfib.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Fibonacci Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmdh.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmfib}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmfib}{m}{n}
+ { <8> kmfib8 }{}
+
+\endinput
+%%
+%% End of file `lmccmfib.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmfr.fd b/language/mongolian/montex/texinput/lmccmfr.fd
new file mode 100644
index 0000000000..5d79b7163d
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmfr.fd
@@ -0,0 +1,26 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmfr.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Funny Cyrillic Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmfr.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmfr}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmfr}{m}{n}
+ { <-> kmff10 }{}
+
+\DeclareFontShape{LMC}{cmfr}{m}{it}
+ { <-> kmfi10 }{}
+
+\endinput
+%%
+%% End of file `lmccmfr.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmiss.fd b/language/mongolian/montex/texinput/lmccmiss.fd
new file mode 100644
index 0000000000..062f37cd2d
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmiss.fd
@@ -0,0 +1,24 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmiss.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Bold Extended Sans Serif
+% Inch-High Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmiss.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmiss}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmiss}{bx}{n}
+ { <-> kminch }{}
+
+\endinput
+%%
+%% End of file `lmccmiss.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmr.fd b/language/mongolian/montex/texinput/lmccmr.fd
new file mode 100644
index 0000000000..06a1abdaf6
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmr.fd
@@ -0,0 +1,81 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmr.fd
+% Author: Oliver Corff, corff@zedat.fu-berlin.de
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Roman Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmr.fd}
+ [1998/06/01 v0.2 Kirill Mongol font definitions]
+
+\DeclareFontFamily{LMC}{cmr}{\hyphenchar\font45 }
+
+%% Weight: Medium ("Book")
+
+ % kmr 5 6 7 8 9 10 12 17 # regular
+ \DeclareFontShape{LMC}{cmr}{m}{n}%
+ { <-5> kmr5
+ <5> <6> <7> <8> <9> <10> <12> gen * kmr
+ <10.95> kmr10
+ <14.4> kmr12
+ <17-> kmr17
+ }{}
+
+ % kmsl 8 9 10 12 # slanted
+ \DeclareFontShape{LMC}{cmr}{m}{sl}%
+ { <-8> kmsl8
+ <8> <9> <10> gen * kmsl
+ <10.95> kmsl10
+ <12-> kmsl12
+ }{}
+
+ % kmti 7 8 9 10 12 # italic
+ \DeclareFontShape{LMC}{cmr}{m}{it}%
+ { <-7> kmti7
+ <7> <8> <9> <10> gen * kmti
+ <10.95> kmti10
+ <12-> kmti12
+ }{}
+
+ % kmcsc 8 9 10 # small caps
+ \DeclareFontShape{LMC}{cmr}{m}{sc}%
+ { <-8> kmcsc8
+ <8> <9> gen * kmcsc
+ <10-> kmcsc10
+ }{}
+
+ \DeclareFontShape{LMC}{cmr}{m}{ui}% unslanted italic
+ { <-> kmu10 }{}
+
+
+%% Weight: Bold
+
+ \DeclareFontShape{LMC}{cmr}{b}{n}% bold
+ { <-> kmb10 }{}
+
+
+
+%% Weight: Bold Extended
+
+ % cmbzx 5 6 7 8 9 10 12 # bold extended
+ \DeclareFontShape{LMC}{cmr}{bx}{n}%
+ { <-5> kmbx5
+ <5> <6> <7> <8> <9> <10> gen * kmbx
+ <10.95> kmbx10
+ <12-> kmbx12
+ }{}
+
+ \DeclareFontShape{LMC}{cmr}{bx}{sl}% bold slanted extended
+ { <-> kmbxsl10 }{}
+
+ \DeclareFontShape{LMC}{cmr}{bx}{it}% bold italic extended
+ { <-> kmbxti10 }{}
+
+\endinput
+%
+% End of file `lmccmr.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmss.fd b/language/mongolian/montex/texinput/lmccmss.fd
new file mode 100644
index 0000000000..cfbf716f84
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmss.fd
@@ -0,0 +1,69 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmss.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Sans Serif Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmss.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmss}{\hyphenchar\font45 }
+
+%% Weight: Medium ("Book")
+
+ % kmss 8 9 10 12 17 # sans
+ \DeclareFontShape{LMC}{cmss}{m}{n}%
+ { <-8> kmss8
+ <8> <9> <10> <12> gen * kmss
+ <10.95> kmss10
+ <14.4> kmss12
+ <17-> kmss17
+ }{}
+
+% Font undefined, therefore substituted
+ \DeclareFontShape{LMC}{cmss}{m}{it}
+ {<->sub*cmss/m/sl}{}
+
+ % kmssi 8 9 10 12 17 # slanted sans
+ \DeclareFontShape{LMC}{cmss}{m}{sl}%
+ { <-8> kmssi8
+ <8> <9> <10> <12> gen * kmssi
+ <10.95> kmssi10
+ <14.4> kmssi12
+ <17-> kmssi17
+ }{}
+
+% Font/shape undefined, therefore substituted
+ \DeclareFontShape{LMC}{cmss}{m}{sc}
+ {<->sub*cmr/m/sc}{}
+
+% Font/shape undefined, therefore substituted
+ \DeclareFontShape{LMC}{cmss}{m}{ui}
+ {<->sub*cmr/m/ui}{}
+
+
+%% Weight: Semibold Condensed
+
+ \DeclareFontShape{LMC}{cmss}{sbc}{n}% demibold sans condensed
+ { <-> kmssdc10 }{}
+
+
+%% Weight: Bold Extended
+
+ \DeclareFontShape{LMC}{cmss}{bx}{n}% bold sans extended
+ { <-> kmssbx10 }{}
+
+
+% Font/shape undefined, therefore substituted
+\DeclareFontShape{LMC}{cmss}{bx}{ui}
+ {<->sub*cmr/bx/ui}{}
+
+\endinput
+%
+% End of file `lmccmss.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmssq.fd b/language/mongolian/montex/texinput/lmccmssq.fd
new file mode 100644
index 0000000000..a350ad29be
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmssq.fd
@@ -0,0 +1,27 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmssq.fd
+% Author: Oliver Corff
+% Date: December 15th, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Sans Serif Quotation Style 8pt
+% Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmssq.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmssq}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmssq}{m}{n}
+ { <-> kmssq8 }{}
+
+\DeclareFontShape{LMC}{cmssq}{m}{sl}
+ { <-> kmssqi8 }{}
+
+\endinput
+%%
+%% End of file `lmccmssq.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmtt.fd b/language/mongolian/montex/texinput/lmccmtt.fd
new file mode 100644
index 0000000000..57602ba6b3
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmtt.fd
@@ -0,0 +1,47 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmtt.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Typewriter Text Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmtt.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmtt}{\hyphenchar\font45 }
+
+%% Weight: Medium ("Book")
+
+ % kmtt 8 9 10 12 # typewriter
+ \DeclareFontShape{LMC}{cmtt}{m}{n}%
+ { <-8> kmtt8
+ <9> <10> gen * kmtt
+ <10.95> kmtt10
+ <12-> kmtt12
+ }{}
+
+ \DeclareFontShape{LMC}{cmtt}{m}{it}% italic typewriter
+ { <-> kmitt10 }{}
+
+ \DeclareFontShape{LMC}{cmtt}{m}{sl}% slanted typewriter
+ { <-> kmsltt10 }{}
+
+ \DeclareFontShape{LMC}{cmtt}{m}{sc}% typewriter caps
+ { <-> kmtcsc10 }{}
+
+\DeclareFontShape{LMC}{cmtt}{m}{ui}
+ {<->ssub * cmtt/m/it}{}
+\DeclareFontShape{LMC}{cmtt}{bx}{n}
+ {<->ssub * cmtt/m/n}{}
+\DeclareFontShape{LMC}{cmtt}{bx}{it}
+ {<->ssub * cmtt/m/it}{}
+\DeclareFontShape{LMC}{cmtt}{bx}{ui}
+ {<->ssub * cmtt/m/it}{}
+\endinput
+%
+% End of file `lmccmtt.fd'.
diff --git a/language/mongolian/montex/texinput/lmccmvtt.fd b/language/mongolian/montex/texinput/lmccmvtt.fd
new file mode 100644
index 0000000000..13a200228e
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmccmvtt.fd
@@ -0,0 +1,27 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmccmvtt.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Variable Width
+% Typewriter Text Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmvtt.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{cmvtt}{\hyphenchar\font45 }
+
+\DeclareFontShape{LMC}{cmvtt}{m}{n}
+ { <-> kmvtt10 }{}
+
+\DeclareFontShape{LMC}{cmvtt}{m}{it}
+ { <-> kmvtti10 }{}
+
+\endinput
+%%
+%% End of file `lmccmvtt.fd'.
diff --git a/language/mongolian/montex/texinput/lmcenc.def b/language/mongolian/montex/texinput/lmcenc.def
new file mode 100644
index 0000000000..357c6a1bf7
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmcenc.def
@@ -0,0 +1,221 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmcenc.def
+% Author: Oliver Corff
+% Date: February 8th, 1999
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic Encoding Definition,
+% Now LH-conformant. Thank you, Vladimir Volovich,
+% for inspecting and correcting individual code
+% positions!
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\ProvidesFile{lmcenc.def}
+ [1998/06/01 v0.2 Mongolian Language Support Encoding]
+\DeclareFontEncoding{LMC}{}{}{}
+\DeclareFontSubstitution{LMC}{cmr}{m}{n}
+%\DeclareErrorFont{LMC}{cmr}{m}{n}{10}
+%
+% Umlaute etc.
+%
+\DeclareTextAccent{\"}{LMC}{"7F}
+\DeclareTextSymbol{\leftguillemot}{LMC}{019}
+\DeclareTextSymbol{\rightguillemot}{LMC}{020}
+\let\lgu\leftguillemot
+\let\rgu\rightguillemot
+%
+% Currency, no., etc.
+%
+\DeclareTextSymbol{\No}{LMC}{249}
+ \DeclareTextSymbolDefault{\No}{LMC}
+\DeclareTextSymbol{\MyTogrog}{LMC}{250}
+ \DeclareTextSymbolDefault{\MyTogrog}{LMC}
+\DeclareTextSymbol{\mytogrog}{LMC}{251}
+ \DeclareTextSymbolDefault{\mytogrog}{LMC}
+%
+% Cyrillic Letters
+%
+\DeclareTextSymbol{\CYRA}{LMC}{65}
+\DeclareTextSymbol{\CYRB}{LMC}{66}
+\DeclareTextSymbol{\CYRV}{LMC}{87}
+\DeclareTextSymbol{\CYRG}{LMC}{71}
+\DeclareTextSymbol{\CYRD}{LMC}{68}
+\DeclareTextSymbol{\CYRE}{LMC}{69}
+\DeclareTextSymbol{\CYRYO}{LMC}{203}
+ \DeclareTextSymbol{\Yo}{LMC}{203}
+ \DeclareTextComposite{\"}{LMC}{E}{203}
+\DeclareTextSymbol{\CYRZH}{LMC}{74}
+\DeclareTextSymbol{\CYRZ}{LMC}{90}
+\DeclareTextSymbol{\CYRI}{LMC}{73}
+\DeclareTextSymbol{\CYRISHRT}{LMC}{207}
+ \DeclareTextComposite{\"}{LMC}{I}{207}
+\DeclareTextSymbol{\CYRK}{LMC}{75}
+\DeclareTextSymbol{\CYRL}{LMC}{76}
+\DeclareTextSymbol{\CYRM}{LMC}{77}
+\DeclareTextSymbol{\CYRN}{LMC}{78}
+\DeclareTextSymbol{\CYRO}{LMC}{79}
+\DeclareTextSymbol{\CYROTLD}{LMC}{214}
+ \DeclareTextComposite{\"}{LMC}{O}{214}
+\DeclareTextSymbol{\CYRP}{LMC}{80}
+\DeclareTextSymbol{\CYRR}{LMC}{82}
+\DeclareTextSymbol{\CYRS}{LMC}{83}
+\DeclareTextSymbol{\CYRT}{LMC}{84}
+\DeclareTextSymbol{\CYRU}{LMC}{85}
+\DeclareTextSymbol{\CYRY}{LMC}{220}
+ \DeclareTextComposite{\"}{LMC}{U}{220}
+\DeclareTextSymbol{\CYRF}{LMC}{70}
+\DeclareTextSymbol{\CYRH}{LMC}{88}
+\DeclareTextSymbol{\CYRHSHA}{LMC}{72}
+\DeclareTextSymbol{\CYRC}{LMC}{67}
+\DeclareTextSymbol{\CYRCH}{LMC}{81}
+ \DeclareTextSymbol{\Ch}{LMC}{81 }
+\DeclareTextSymbol{\CYRSH}{LMC}{"092 }
+ \DeclareTextSymbol{\Sh}{LMC}{"092 }
+\DeclareTextSymbol{\CYRSHCH}{LMC}{"090 }
+ \DeclareTextSymbol{\Qh}{LMC}{"090 }
+ \DeclareTextSymbol{\Sc}{LMC}{"090 }
+\DeclareTextSymbol{\CYRHRDSN}{LMC}{"093 }
+ \DeclareTextSymbol{\Y}{LMC}{"093 }
+\DeclareTextSymbol{\CYRERY}{LMC}{89}
+\DeclareTextSymbol{\CYRSFTSN}{LMC}{"094 }
+ \DeclareTextSymbol{\I}{LMC}{"094 }
+\DeclareTextSymbol{\CYREREV}{LMC}{196}
+ \DeclareTextComposite{\"}{LMC}{A}{196}
+\DeclareTextSymbol{\CYRYU}{LMC}{"095 }
+ \DeclareTextSymbol{\Yu}{LMC}{"095 }
+\DeclareTextSymbol{\CYRYA}{LMC}{"096 }
+ \DeclareTextSymbol{\Ya}{LMC}{"096 }
+%
+\DeclareTextSymbol{\cyra}{LMC}{97}
+\DeclareTextSymbol{\cyrb}{LMC}{98}
+\DeclareTextSymbol{\cyrv}{LMC}{119}
+\DeclareTextSymbol{\cyrg}{LMC}{103}
+\DeclareTextSymbol{\cyrd}{LMC}{100}
+\DeclareTextSymbol{\cyre}{LMC}{101}
+\DeclareTextSymbol{\cyryo}{LMC}{235}
+ \DeclareTextSymbol{\yo}{LMC}{235}
+ \DeclareTextComposite{\"}{LMC}{e}{235}
+\DeclareTextSymbol{\cyrzh}{LMC}{106}
+\DeclareTextSymbol{\cyrz}{LMC}{122}
+\DeclareTextSymbol{\cyri}{LMC}{105}
+\DeclareTextSymbol{\cyrishrt}{LMC}{239}
+ \DeclareTextComposite{\"}{LMC}{i}{239}
+ \DeclareTextComposite{\"}{LMC}{\i}{239}
+\DeclareTextSymbol{\cyrk}{LMC}{107}
+\DeclareTextSymbol{\cyrl}{LMC}{108}
+\DeclareTextSymbol{\cyrm}{LMC}{109}
+\DeclareTextSymbol{\cyrn}{LMC}{110}
+\DeclareTextSymbol{\cyro}{LMC}{111}
+\DeclareTextSymbol{\cyrotld}{LMC}{246}
+ \DeclareTextComposite{\"}{LMC}{o}{246}
+\DeclareTextSymbol{\cyrp}{LMC}{112}
+\DeclareTextSymbol{\cyrr}{LMC}{114}
+\DeclareTextSymbol{\cyrs}{LMC}{115}
+\DeclareTextSymbol{\cyrt}{LMC}{116}
+\DeclareTextSymbol{\cyru}{LMC}{117}
+\DeclareTextSymbol{\cyry}{LMC}{252}
+ \DeclareTextComposite{\"}{LMC}{u}{252}
+\DeclareTextSymbol{\cyrf}{LMC}{102}
+\DeclareTextSymbol{\cyrh}{LMC}{120}
+\DeclareTextSymbol{\cyrhsha}{LMC}{104}
+\DeclareTextSymbol{\cyrc}{LMC}{99}
+\DeclareTextSymbol{\cyrch}{LMC}{113}
+ \DeclareTextSymbol{\ch}{LMC}{113}
+\DeclareTextSymbol{\cyrsh}{LMC}{"0B2 }
+ \DeclareTextSymbol{\sh}{LMC}{"0B2 }
+\DeclareTextSymbol{\cyrshch}{LMC}{"0B0 }
+ \DeclareTextSymbol{\qh}{LMC}{"0B0 }
+ \DeclareTextSymbol{\sc}{LMC}{"0B0 }
+\DeclareTextSymbol{\cyrhrdsn}{LMC}{"0B3 }
+ \DeclareTextSymbol{\y}{LMC}{"0B3 }
+\DeclareTextSymbol{\cyrery}{LMC}{121}
+\DeclareTextSymbol{\cyrsftsn}{LMC}{"0B4 }
+ \DeclareTextSymbol{\i}{LMC}{"0B4 }
+\DeclareTextSymbol{\cyrerev}{LMC}{228}
+ \DeclareTextComposite{\"}{LMC}{a}{228}
+\DeclareTextSymbol{\cyryu}{LMC}{"0B5 }
+ \DeclareTextSymbol{\yu}{LMC}{"0B5 }
+\DeclareTextSymbol{\cyrya}{LMC}{"0B6 }
+ \DeclareTextSymbol{\ya}{LMC}{"0B6 }
+%
+\DeclareTextSymbolDefault{\CYRA}{LMC}
+\DeclareTextSymbolDefault{\CYRB}{LMC}
+\DeclareTextSymbolDefault{\CYRV}{LMC}
+\DeclareTextSymbolDefault{\CYRG}{LMC}
+\DeclareTextSymbolDefault{\CYRD}{LMC}
+\DeclareTextSymbolDefault{\CYRE}{LMC}
+\DeclareTextSymbolDefault{\CYRYO}{LMC}
+\DeclareTextSymbolDefault{\CYRZH}{LMC}
+\DeclareTextSymbolDefault{\CYRZ}{LMC}
+\DeclareTextSymbolDefault{\CYRI}{LMC}
+\DeclareTextSymbolDefault{\CYRISHRT}{LMC}
+\DeclareTextSymbolDefault{\CYRK}{LMC}
+\DeclareTextSymbolDefault{\CYRL}{LMC}
+\DeclareTextSymbolDefault{\CYRM}{LMC}
+\DeclareTextSymbolDefault{\CYRN}{LMC}
+\DeclareTextSymbolDefault{\CYRO}{LMC}
+\DeclareTextSymbolDefault{\CYROTLD}{LMC}
+\DeclareTextSymbolDefault{\CYRP}{LMC}
+\DeclareTextSymbolDefault{\CYRR}{LMC}
+\DeclareTextSymbolDefault{\CYRS}{LMC}
+\DeclareTextSymbolDefault{\CYRT}{LMC}
+\DeclareTextSymbolDefault{\CYRU}{LMC}
+\DeclareTextSymbolDefault{\CYRY}{LMC}
+\DeclareTextSymbolDefault{\CYRF}{LMC}
+\DeclareTextSymbolDefault{\CYRH}{LMC}
+\DeclareTextSymbolDefault{\CYRHSHA}{LMC}
+\DeclareTextSymbolDefault{\CYRC}{LMC}
+\DeclareTextSymbolDefault{\CYRCH}{LMC}
+\DeclareTextSymbolDefault{\CYRSH}{LMC}
+\DeclareTextSymbolDefault{\CYRSHCH}{LMC}
+\DeclareTextSymbolDefault{\CYRHRDSN}{LMC}
+\DeclareTextSymbolDefault{\CYRERY}{LMC}
+\DeclareTextSymbolDefault{\CYRSFTSN}{LMC}
+\DeclareTextSymbolDefault{\CYREREV}{LMC}
+\DeclareTextSymbolDefault{\CYRYU}{LMC}
+\DeclareTextSymbolDefault{\CYRYA}{LMC}
+%
+\DeclareTextSymbolDefault{\cyra}{LMC}
+\DeclareTextSymbolDefault{\cyrb}{LMC}
+\DeclareTextSymbolDefault{\cyrv}{LMC}
+\DeclareTextSymbolDefault{\cyrg}{LMC}
+\DeclareTextSymbolDefault{\cyrd}{LMC}
+\DeclareTextSymbolDefault{\cyre}{LMC}
+\DeclareTextSymbolDefault{\cyryo}{LMC}
+\DeclareTextSymbolDefault{\cyrzh}{LMC}
+\DeclareTextSymbolDefault{\cyrz}{LMC}
+\DeclareTextSymbolDefault{\cyri}{LMC}
+\DeclareTextSymbolDefault{\cyrishrt}{LMC}
+\DeclareTextSymbolDefault{\cyrk}{LMC}
+\DeclareTextSymbolDefault{\cyrl}{LMC}
+\DeclareTextSymbolDefault{\cyrm}{LMC}
+\DeclareTextSymbolDefault{\cyrn}{LMC}
+\DeclareTextSymbolDefault{\cyro}{LMC}
+\DeclareTextSymbolDefault{\cyrotld}{LMC}
+\DeclareTextSymbolDefault{\cyrp}{LMC}
+\DeclareTextSymbolDefault{\cyrr}{LMC}
+\DeclareTextSymbolDefault{\cyrs}{LMC}
+\DeclareTextSymbolDefault{\cyrt}{LMC}
+\DeclareTextSymbolDefault{\cyru}{LMC}
+\DeclareTextSymbolDefault{\cyry}{LMC}
+\DeclareTextSymbolDefault{\cyrf}{LMC}
+\DeclareTextSymbolDefault{\cyrh}{LMC}
+\DeclareTextSymbolDefault{\cyrhsha}{LMC}
+\DeclareTextSymbolDefault{\cyrc}{LMC}
+\DeclareTextSymbolDefault{\cyrch}{LMC}
+\DeclareTextSymbolDefault{\cyrsh}{LMC}
+\DeclareTextSymbolDefault{\cyrshch}{LMC}
+\DeclareTextSymbolDefault{\cyrhrdsn}{LMC}
+\DeclareTextSymbolDefault{\cyrery}{LMC}
+\DeclareTextSymbolDefault{\cyrsftsn}{LMC}
+\DeclareTextSymbolDefault{\cyrerev}{LMC}
+\DeclareTextSymbolDefault{\cyryu}{LMC}
+\DeclareTextSymbolDefault{\cyrya}{LMC}
+%
+\endinput
+%%
+%% End of file `lmcenc.def'.
diff --git a/language/mongolian/montex/texinput/lmclcmss.fd b/language/mongolian/montex/texinput/lmclcmss.fd
new file mode 100644
index 0000000000..57430f639f
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmclcmss.fd
@@ -0,0 +1,69 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmclcmss.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Cyrillic (LMC)
+% Computer Modern Sans Serif Slide Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmclcmss.fd}
+ [1998/06/01 v0.2 Cyrillic font definitions]
+
+\DeclareFontFamily{LMC}{lcmss}{\hyphenchar\font45 }
+
+%% Weight: Medium ("Book")
+
+ % kmss 8 9 10 12 17 # sans
+ \DeclareFontShape{LMC}{lcmss}{m}{n}%
+ { <-8> kmss8
+ <8> <9> <10> <12> gen * kmss
+ <10.95> kmss10
+ <14.4> kmss12
+ <17-> kmss17
+ }{}
+
+% Font undefined, therefore substituted
+ \DeclareFontShape{LMC}{lcmss}{m}{it}
+ {<->sub*lcmss/m/sl}{}
+
+ % kmssi 8 9 10 12 17 # slanted sans
+ \DeclareFontShape{LMC}{lcmss}{m}{sl}%
+ { <-8> kmssi8
+ <8> <9> <10> <12> gen * kmssi
+ <10.95> kmssi10
+ <14.4> kmssi12
+ <17-> kmssi17
+ }{}
+
+% Font/shape undefined, therefore substituted
+ \DeclareFontShape{LMC}{lcmss}{m}{sc}
+ {<->sub*cmr/m/sc}{}
+
+% Font/shape undefined, therefore substituted
+ \DeclareFontShape{LMC}{lcmss}{m}{ui}
+ {<->sub*cmr/m/ui}{}
+
+
+%% Weight: Semibold Condensed
+
+ \DeclareFontShape{LMC}{lcmss}{sbc}{n}% demibold sans condensed
+ { <-> kmssdc10 }{}
+
+
+%% Weight: Bold Extended
+
+ \DeclareFontShape{LMC}{lcmss}{bx}{n}% bold sans extended
+ { <-> kmssbx10 }{}
+
+
+% Font/shape undefined, therefore substituted
+\DeclareFontShape{LMC}{lcmss}{bx}{ui}
+ {<->sub*cmr/bx/ui}{}
+
+\endinput
+%
+% End of file `lmclcmss.fd'.
diff --git a/language/mongolian/montex/texinput/lmobcghs.fd b/language/mongolian/montex/texinput/lmobcghs.fd
new file mode 100644
index 0000000000..3a873fc688
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmobcghs.fd
@@ -0,0 +1,30 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmobcghs.fd
+% Author: Oliver Corff
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Script (LMO)
+% Mongol Bicig Horizontal Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmobcghs.fd}
+ [2001/10/01 v0.8 Bicig Horizontal font definitions]
+
+\DeclareFontFamily{LMO}{bcghs}{\hyphenchar\font-1 }
+
+% "Steel", or modern print type
+\DeclareFontShape{LMO}{bcghs}{m}{n}% Medium Weight
+ { <-> bcghsm }{}
+
+\DeclareFontShape{LMO}{bcghs}{b}{n}% Bold Weight
+ { <-> bcghsb }{}
+
+\DeclareFontShape{LMO}{bcghs}{bx}{n}% Bold Extended
+ { <-> sub*bcghs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmobcghs.fd'.
diff --git a/language/mongolian/montex/texinput/lmobcghw.fd b/language/mongolian/montex/texinput/lmobcghw.fd
new file mode 100644
index 0000000000..f86d59436d
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmobcghw.fd
@@ -0,0 +1,30 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmobcghw.fd
+% Author: Oliver Corff
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Script (LMO)
+% Mongol Bicig Horizontal Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmobcghw.fd}
+ [2001/10/01 v0.8 Bicig Horizontal font definitions]
+
+\DeclareFontFamily{LMO}{bcghw}{\hyphenchar\font-1 }
+
+% "Modyn Bar", simulated by Sans Serif
+\DeclareFontShape{LMO}{bcghw}{m}{n}% Medium Weight
+ { <-> bcghwm }{}
+
+\DeclareFontShape{LMO}{bcghw}{b}{n}% Bold Weight
+ { <-> bcghwb }{}
+
+\DeclareFontShape{LMO}{bcghw}{bx}{n}% Bold Extended
+ { <-> sub*bcghw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmobcghw.fd'.
diff --git a/language/mongolian/montex/texinput/lmobcgvs.fd b/language/mongolian/montex/texinput/lmobcgvs.fd
new file mode 100644
index 0000000000..363d09bfd6
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmobcgvs.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmobcgvs.fd
+% Author: Oliver Corff
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian (LMO)
+% Mongol Bicig Vertical Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmobcgvs.fd}
+ [2001/10/01 v0.8 Bicig Vertical font definitions]
+
+\DeclareFontFamily{LMO}{bcgvs}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMO}{bcgvs}{m}{n}% Medium Weight
+ { <-> bcgvsm }{}
+
+\DeclareFontShape{LMO}{bcgvs}{b}{n}% Bold Weight
+ { <-> bcgvsb }{}
+
+\DeclareFontShape{LMO}{bcgvs}{bx}{n}% Bold Extended
+ { <-> sub*bcgvs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmobcgvs.fd'.
diff --git a/language/mongolian/montex/texinput/lmobcgvw.fd b/language/mongolian/montex/texinput/lmobcgvw.fd
new file mode 100644
index 0000000000..2d42ebbb7c
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmobcgvw.fd
@@ -0,0 +1,30 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmobcgvw.fd
+% Author: Oliver Corff
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian (LMO)
+% Mongol Bicig Vertical Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmobcgvw.fd}
+ [2001/10/01 v0.8 Bicig Vertical Font Definitions]
+
+\DeclareFontFamily{LMO}{bcgvw}{\hyphenchar\font-1 }
+
+% "Modyn Bar", simulated by Sans Serif
+\DeclareFontShape{LMO}{bcgvw}{m}{n}% Medium Weight
+ { <-> bcgvwm }{}
+
+\DeclareFontShape{LMO}{bcgvw}{b}{n}% Bold Weight
+ { <-> bcgvwb }{}
+
+\DeclareFontShape{LMO}{bcgvw}{bx}{n}% Bold Extended
+ { <-> sub*bcgvw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmobcgvw.fd'.
diff --git a/language/mongolian/montex/texinput/lmoenc.def b/language/mongolian/montex/texinput/lmoenc.def
new file mode 100644
index 0000000000..3761c62d2c
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmoenc.def
@@ -0,0 +1,296 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmoenc.def
+% Author: Oliver Corff
+% Date: July 1st, 2002
+% Version: 0.9
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Bicig Encoding Definition
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\ProvidesFile{lmoenc.def}
+ [2002/07/01 v0.9 Mongolian Language Support Bicig Encoding]
+%% %
+%% %
+\DeclareFontEncoding{LMO}{}{}{}
+\DeclareFontSubstitution{LMO}{bcgvs}{m}{n}
+%% %
+%% \DeclareTextComposite{\"}{LMO}{a}{69}
+%% \DeclareTextComposite{\"}{LMO}{o}{79}
+%% \DeclareTextComposite{\"}{LMO}{u}{85}
+%
+%
+%% \DeclareTextSymbol{\textmongolianbirga}{LMO}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianellipsis}{LMO}{47}
+ \DeclareTextSymbolDefault{\textmongolianellipsis}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliancomma}{LMO}{44}
+ \DeclareTextSymbolDefault{\textmongoliancomma}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfullstop}{LMO}{46}
+ \DeclareTextSymbolDefault{\textmongolianfullstop}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliancolon}{LMO}{58}
+ \DeclareTextSymbolDefault{\textmongoliancolon}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfourdots}{LMO}{59}
+ \DeclareTextSymbolDefault{\textmongolianfourdots}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongoliantodosofthyphen}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibesyllableboundarymarker}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchucomma}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchufullstop}{LMO}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliannirugu}{LMO}{124}
+ \DeclareTextSymbolDefault{\textmongoliannirugu}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfreevariationselectorone}{LMO}{39}
+ \DeclareTextSymbolDefault{\textmongolianfreevariationselectorone}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfreevariationselectortwo}{LMO}{34}
+ \DeclareTextSymbolDefault{\textmongolianfreevariationselectortwo}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianfreevariationselectorthree}{LMO}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianvowelseparator}{LMO}{61}
+ \DeclareTextSymbolDefault{\textmongolianvowelseparator}{LMO}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianzero}{LMO}{48}
+ \DeclareTextSymbolDefault{\textmongolianzero}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianone}{LMO}{49}
+ \DeclareTextSymbolDefault{\textmongolianone}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliantwo}{LMO}{50}
+ \DeclareTextSymbolDefault{\textmongoliantwo}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianthree}{LMO}{51}
+ \DeclareTextSymbolDefault{\textmongolianthree}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfour}{LMO}{52}
+ \DeclareTextSymbolDefault{\textmongolianfour}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfive}{LMO}{53}
+ \DeclareTextSymbolDefault{\textmongolianfive}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansix}{LMO}{54}
+ \DeclareTextSymbolDefault{\textmongoliansix}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianseven}{LMO}{55}
+ \DeclareTextSymbolDefault{\textmongolianseven}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianeight}{LMO}{56}
+ \DeclareTextSymbolDefault{\textmongolianeight}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliannine}{LMO}{57}
+ \DeclareTextSymbolDefault{\textmongoliannine}{LMO}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliana}{LMO}{97}
+ \DeclareTextSymbolDefault{\textmongoliana}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliane}{LMO}{101}
+ \DeclareTextSymbolDefault{\textmongoliane}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliani}{LMO}{105}
+ \DeclareTextSymbolDefault{\textmongoliani}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliano}{LMO}{117}
+ \DeclareTextSymbolDefault{\textmongoliano}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianu}{LMO}{117}
+ \DeclareTextSymbolDefault{\textmongolianu}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianoe}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianue}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianee}{LMO}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianna}{LMO}{110}
+ \DeclareTextSymbolDefault{\textmongolianna}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianang}{LMO}{134}
+ \DeclareTextSymbolDefault{\textmongolianang}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianba}{LMO}{98}
+ \DeclareTextSymbolDefault{\textmongolianba}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianpa}{LMO}{112}
+ \DeclareTextSymbolDefault{\textmongolianpa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianqa}{LMO}{120}
+ \DeclareTextSymbolDefault{\textmongolianqa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianga}{LMO}{103}
+ \DeclareTextSymbolDefault{\textmongolianga}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianma}{LMO}{109}
+ \DeclareTextSymbolDefault{\textmongolianma}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianla}{LMO}{108}
+ \DeclareTextSymbolDefault{\textmongolianla}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansa}{LMO}{115}
+ \DeclareTextSymbolDefault{\textmongoliansa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliansha}{LMO}{160}
+ \DeclareTextSymbolDefault{\textmongoliansha}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianta}{LMO}{116}
+ \DeclareTextSymbolDefault{\textmongolianta}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianda}{LMO}{100}
+ \DeclareTextSymbolDefault{\textmongolianda}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliancha}{LMO}{99}
+ \DeclareTextSymbolDefault{\textmongoliancha}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianja}{LMO}{122}
+ \DeclareTextSymbolDefault{\textmongolianja}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianya}{LMO}{121}
+ \DeclareTextSymbolDefault{\textmongolianya}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianra}{LMO}{114}
+ \DeclareTextSymbolDefault{\textmongolianra}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianwa}{LMO}{118}
+ \DeclareTextSymbolDefault{\textmongolianwa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianfa}{LMO}{102}
+ \DeclareTextSymbolDefault{\textmongolianfa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianka}{LMO}{113}
+ \DeclareTextSymbolDefault{\textmongolianka}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliankha}{LMO}{75}
+ \DeclareTextSymbolDefault{\textmongoliankha}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongoliantsa}{LMO}{67}
+ \DeclareTextSymbolDefault{\textmongoliantsa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianza}{LMO}{90}
+ \DeclareTextSymbolDefault{\textmongolianza}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianhaa}{LMO}{104}
+ \DeclareTextSymbolDefault{\textmongolianhaa}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianzra}{LMO}{106}
+ \DeclareTextSymbolDefault{\textmongolianzra}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\def\textmongolianlha{\textmongolianla\textmongolianhaa}
+%% \DeclareTextSymbolDefault{\textmongolianlha}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianzhi}{LMO}{}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\def\textmongolianzhi{*\textmongolianhaa}
+\def\textmongolianchi{*\textmongolianu\textmongolianu}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%% \DeclareTextSymbol{\textmongolianchi}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodolongvowelsign}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoe}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoi}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoo}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodou}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodooe}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoue}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoang}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoba}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodopa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoqa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoga}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoma}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodota}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantododa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodocha}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoja}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodotsa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoya}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodowa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoka}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodogaa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodohaa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodojia}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodonia}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantododza}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibee}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibei}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeiy}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeue}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeu}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeang}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeka}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibega}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeha}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibepa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibesha}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeta}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeda}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeja}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibefa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibegaa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibehaa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibetsa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibeza}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansiberaa}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibecha}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliansibezha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchui}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchuka}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchura}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchufa}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchuzha}{LMO}{}
+%
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+\DeclareTextSymbol{\textmongolianaligalianusvaraone}{LMO}{96}
+ \DeclareTextSymbolDefault{\textmongolianaligalianusvaraone}{LMO}
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%
+%% \DeclareTextSymbol{\textmongolianaligalivisargaone}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalidamaru}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligaliubadama}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligaliinvertedubadama}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalibaluda}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalithreebaluda}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalia}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalii}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalika}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalinga}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalica}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalitta}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalittha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalidda}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalinna}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalita}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalida}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalipa}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalipha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalissa}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalizha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligaliza}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligaliah}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoaligalita}{LMO}{}
+%% \DeclareTextSymbol{\textmongoliantodoaligalizha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigaligha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalinga}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalica}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalijha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalitta}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigaliddha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalita}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalidha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalissa}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalicya}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalizha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigaliza}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalihalfu}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalihalfya}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianmanchualigalibha}{LMO}{}
+%% \DeclareTextSymbol{\textmongolianaligalidagalga}{LMO}{}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
diff --git a/language/mongolian/montex/texinput/lmsbcgh.fd b/language/mongolian/montex/texinput/lmsbcgh.fd
new file mode 100644
index 0000000000..b68c99fa46
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmsbcgh.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmsbcgh.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Script (LMS)
+% Mongol Bicig Horizontal Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmsbcgh.fd}
+ [1998/06/01 v0.2 Bicig Horizontal font definitions]
+
+\DeclareFontFamily{LMS}{bcgh}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMS}{bcgh}{m}{n}% Medium Weight
+ { <-> bicighm }{}
+
+\DeclareFontShape{LMS}{bcgh}{b}{n}% Bold Weight
+ { <-> bicighb }{}
+
+\DeclareFontShape{LMS}{bcgh}{bx}{n}% Bold Extended
+ { <-> sub*bcgh/b/n }{}
+
+\endinput
+%%
+%% End of file `lmsbcgh.fd'.
diff --git a/language/mongolian/montex/texinput/lmsbcgv.fd b/language/mongolian/montex/texinput/lmsbcgv.fd
new file mode 100644
index 0000000000..6511d6fcb9
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmsbcgv.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmsbcgv.fd
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Script (LMS)
+% Mongol Bicig Vertical Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmccmfr.fd}
+ [1998/06/01 v0.2 Bicig Vertical font definitions]
+
+\DeclareFontFamily{LMS}{bcgv}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMS}{bcgv}{m}{n}% Medium Weight
+ { <-> bicigvm }{}
+
+\DeclareFontShape{LMS}{bcgv}{b}{n}% Bold Weight
+ { <-> bicigvb }{}
+
+\DeclareFontShape{LMS}{bcgv}{bx}{n}% Bold Extended
+ { <-> sub*bcgv/b/n }{}
+
+\endinput
+%%
+%% End of file `lmsbcgv.fd'.
diff --git a/language/mongolian/montex/texinput/lmsenc.def b/language/mongolian/montex/texinput/lmsenc.def
new file mode 100644
index 0000000000..2310a2a6bc
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmsenc.def
@@ -0,0 +1,120 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmsenc.def
+% Author: Oliver Corff
+% Date: March 1st, 1999
+% Version: 0.3
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Bicig Encoding Definition
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\ProvidesFile{lmsenc.def}
+ [1998/06/01 v0.2 Mongolian Language Support Bicig Encoding]
+%
+%
+\DeclareFontEncoding{LMS}{}{}{}
+\DeclareFontSubstitution{LMS}{bcgh}{m}{n}
+%
+\DeclareTextComposite{\"}{LMS}{a}{69}
+\DeclareTextComposite{\"}{LMS}{o}{79}
+\DeclareTextComposite{\"}{LMS}{u}{85}
+%
+\DeclareTextSymbol{\titem}{LMS}{"40}
+\DeclareTextSymbol{\shud}{LMS}{"61}
+\DeclareTextSymbol{\secondaryshud}{LMS}{"41}
+\DeclareTextSymbol{\shilbe}{LMS}{"69}
+\DeclareTextSymbol{\gedes}{LMS}{"6F}
+\DeclareTextSymbol{\secondarygedes}{LMS}{"4F}
+\DeclareTextSymbol{\cegteishud}{LMS}{"6E}
+\DeclareTextSymbol{\lewer}{LMS}{"6C}
+\DeclareTextSymbol{\suuliinlewer}{LMS}{"4C}
+\DeclareTextSymbol{\tertiarylewer}{LMS}{"51}
+\DeclareTextSymbol{\mewer}{LMS}{"6D}
+\DeclareTextSymbol{\suuliinmewer}{LMS}{"4D}
+\DeclareTextSymbol{\xewteeqix}{LMS}{"78}
+\DeclareTextSymbol{\dawxarcegtxewteeqix}{LMS}{"58}
+\DeclareTextSymbol{\halfnum}{LMS}{"67}
+\DeclareTextSymbol{\num}{LMS}{"49}
+\DeclareTextSymbol{\halfnumtgedes}{LMS}{"42}
+\DeclareTextSymbol{\numtaigedes}{LMS}{"62}
+\DeclareTextSymbol{\buruuxarsangedes}{LMS}{"74}
+\DeclareTextSymbol{\gedesteishilbe}{LMS}{"64}
+\DeclareTextSymbol{\erweeljinshilbe}{LMS}{"72}
+\DeclareTextSymbol{\secerweeljin}{LMS}{"52}
+\DeclareTextSymbol{\bosooshilbe}{LMS}{"7A}
+\DeclareTextSymbol{\etgershilbe}{LMS}{"79}
+\DeclareTextSymbol{\zawj}{LMS}{"73}
+\DeclareTextSymbol{\suuliinzawj}{LMS}{"53}
+\DeclareTextSymbol{\dawxarcegtzawj}{LMS}{"71}
+\DeclareTextSymbol{\sereeewer}{LMS}{"63}
+\DeclareTextSymbol{\matgarshilbe}{LMS}{"76}
+\DeclareTextSymbol{\bituushilbe}{LMS}{"68}
+\DeclareTextSymbol{\secondaryqagt}{LMS}{"4B}
+\DeclareTextSymbol{\qagt}{LMS}{"6B}
+\DeclareTextSymbol{\secnumtdelbenqix}{LMS}{"50}
+\DeclareTextSymbol{\numtdelbenqix}{LMS}{"70}
+\DeclareTextSymbol{\secsertenqixtnum}{LMS}{"46}
+\DeclareTextSymbol{\sertenqixtnum}{LMS}{"66}
+\DeclareTextSymbol{\zadgaizardigt}{LMS}{"5A}
+\DeclareTextSymbol{\bituuzardigt}{LMS}{"43}
+\DeclareTextSymbol{\malgaitaititem}{LMS}{"6A}
+\DeclareTextSymbol{\suul}{LMS}{"65}
+\DeclareTextSymbol{\orxic}{LMS}{"45}
+\DeclareTextSymbol{\biodoisuul}{LMS}{"59}
+\DeclareTextSymbol{\bagodoisuul}{LMS}{"47}
+\DeclareTextSymbol{\nceg}{LMS}{"2D}
+\DeclareTextSymbol{\gceg}{LMS}{"3D}
+\DeclareTextSymbol{\ceg}{LMS}{"2C}
+\DeclareTextSymbol{\dorwoljin}{LMS}{"3B}
+
+\DeclareTextSymbolDefault{\shud}{LMS}
+\DeclareTextSymbolDefault{\secondaryshud}{LMS}
+\DeclareTextSymbolDefault{\gedes}{LMS}
+\DeclareTextSymbolDefault{\secondarygedes}{LMS}
+\DeclareTextSymbolDefault{\shilbe}{LMS}
+\DeclareTextSymbolDefault{\cegteishud}{LMS}
+\DeclareTextSymbolDefault{\lewer}{LMS}
+\DeclareTextSymbolDefault{\suuliinlewer}{LMS}
+\DeclareTextSymbolDefault{\tertiarylewer}{LMS}
+\DeclareTextSymbolDefault{\mewer}{LMS}
+\DeclareTextSymbolDefault{\suuliinmewer}{LMS}
+\DeclareTextSymbolDefault{\xewteeqix}{LMS}
+\DeclareTextSymbolDefault{\dawxarcegtxewtee}{LMS}
+\DeclareTextSymbolDefault{\halfnum}{LMS}
+\DeclareTextSymbolDefault{\num}{LMS}
+\DeclareTextSymbolDefault{\halfnumtgedes}{LMS}
+\DeclareTextSymbolDefault{\numtoigedes}{LMS}
+\DeclareTextSymbolDefault{\buruuxarsangedes}{LMS}
+\DeclareTextSymbolDefault{\gedesteishilbe}{LMS}
+\DeclareTextSymbolDefault{\erweeljinshilbe}{LMS}
+\DeclareTextSymbolDefault{\secerweeljin}{LMS}
+\DeclareTextSymbolDefault{\bosooshilbe}{LMS}
+\DeclareTextSymbolDefault{\etgershilbe}{LMS}
+\DeclareTextSymbolDefault{\zawj}{LMS}
+\DeclareTextSymbolDefault{\suuliinzawj}{LMS}
+\DeclareTextSymbolDefault{\dawxarcegtzawj}{LMS}
+\DeclareTextSymbolDefault{\sereeewer}{LMS}
+\DeclareTextSymbolDefault{\matgarshilbe}{LMS}
+\DeclareTextSymbolDefault{\bituushilbe}{LMS}
+\DeclareTextSymbolDefault{\secondaryqagt}{LMS}
+\DeclareTextSymbolDefault{\qagt}{LMS}
+\DeclareTextSymbolDefault{\secnumtdelbenq}{LMS}
+\DeclareTextSymbolDefault{\numtdelbenqix}{LMS}
+\DeclareTextSymbolDefault{\secsertenqixt}{LMS}
+\DeclareTextSymbolDefault{\sertenqixtnum}{LMS}
+\DeclareTextSymbolDefault{\zadgaizardigt}{LMS}
+\DeclareTextSymbolDefault{\bituuzardigt}{LMS}
+\DeclareTextSymbolDefault{\malgaitaititem}{LMS}
+\DeclareTextSymbolDefault{\suul}{LMS}
+\DeclareTextSymbolDefault{\orxic}{LMS}
+\DeclareTextSymbolDefault{\biodoisuul}{LMS}
+\DeclareTextSymbolDefault{\bagodoisuul}{LMS}
+\DeclareTextSymbolDefault{\nceg}{LMS}
+\DeclareTextSymbolDefault{\gceg}{LMS}
+\DeclareTextSymbolDefault{\ceg}{LMS}
+\DeclareTextSymbolDefault{\dorwoljin}{LMS}
+%
+\endinput
diff --git a/language/mongolian/montex/texinput/lmubxghs.fd b/language/mongolian/montex/texinput/lmubxghs.fd
new file mode 100644
index 0000000000..d1b4cc0cb1
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmubxghs.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmubxghs.fd
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian (LMU)
+% Mongol Glyph Container Horizontal Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmubxghs.fd}
+ [2001/12/01 v0.8 Glyph Container Horizontal Font Definition]
+
+\DeclareFontFamily{LMU}{bxghs}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMU}{bxghs}{m}{n}% Medium Weight
+ { <-> bxghsm }{}
+
+\DeclareFontShape{LMU}{bxghs}{b}{n}% Bold Weight
+ { <-> bxghsb }{}
+
+\DeclareFontShape{LMU}{bxghs}{bx}{n}% Bold Extended
+ { <-> sub*bxghs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmubxghs.fd'.
diff --git a/language/mongolian/montex/texinput/lmubxghw.fd b/language/mongolian/montex/texinput/lmubxghw.fd
new file mode 100644
index 0000000000..207412d876
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmubxghw.fd
@@ -0,0 +1,30 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmubxghw.fd
+% Author: Oliver Corff
+% Date: July 1st, 2002
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Script (LMU)
+% Mongol Bicig Container Horizontal Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmubxghw.fd}
+ [2002/07/01 v0.8 Bicig Container Horizontal font definitions]
+
+\DeclareFontFamily{LMU}{bxghw}{\hyphenchar\font-1 }
+
+% "Modyn Bar", simulated by Sans Serif
+\DeclareFontShape{LMU}{bxghw}{m}{n}% Medium Weight
+ { <-> bxghwm }{}
+
+\DeclareFontShape{LMU}{bxghw}{b}{n}% Bold Weight
+ { <-> bxghwb }{}
+
+\DeclareFontShape{LMU}{bxghw}{bx}{n}% Bold Extended
+ { <-> sub*bxghw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmubxghw.fd'.
diff --git a/language/mongolian/montex/texinput/lmubxgvs.fd b/language/mongolian/montex/texinput/lmubxgvs.fd
new file mode 100644
index 0000000000..9d9bff6ec7
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmubxgvs.fd
@@ -0,0 +1,29 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmubxgvs.fd
+% Author: Oliver Corff
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian (LMU)
+% Mongol Glyph Container Vertical Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmubxgvs.fd}
+ [2001/12/01 v0.8 Glyph Container Vertical Font Definition]
+
+\DeclareFontFamily{LMU}{bxgvs}{\hyphenchar\font-1 }
+
+\DeclareFontShape{LMU}{bxgvs}{m}{n}% Medium Weight
+ { <-> bxgvsm }{}
+
+\DeclareFontShape{LMU}{bxgvs}{b}{n}% Bold Weight
+ { <-> bxgvsb }{}
+
+\DeclareFontShape{LMU}{bxgvs}{bx}{n}% Bold Extended
+ { <-> sub*bxgvs/b/n }{}
+
+\endinput
+%%
+%% End of file `lmubxgvs.fd'.
diff --git a/language/mongolian/montex/texinput/lmubxgvw.fd b/language/mongolian/montex/texinput/lmubxgvw.fd
new file mode 100644
index 0000000000..ad08602501
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmubxgvw.fd
@@ -0,0 +1,30 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmubxgvw.fd
+% Author: Oliver Corff
+% Date: July 1st, 2002
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian (LMU)
+% Mongol Bicig Container Vertical Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\ProvidesFile{lmubxgvw.fd}
+ [2002/07/01 v0.8 Bicig Container Vertical Font Definitions]
+
+\DeclareFontFamily{LMU}{bxgvw}{\hyphenchar\font-1 }
+
+% "Modyn Bar", simulated by Sans Serif
+\DeclareFontShape{LMU}{bxgvw}{m}{n}% Medium Weight
+ { <-> bxgvwm }{}
+
+\DeclareFontShape{LMU}{bxgvw}{b}{n}% Bold Weight
+ { <-> bxgvwb }{}
+
+\DeclareFontShape{LMU}{bxgvw}{bx}{n}% Bold Extended
+ { <-> sub*bxgvw/b/n }{}
+
+\endinput
+%%
+%% End of file `lmubxgvw.fd'.
diff --git a/language/mongolian/montex/texinput/lmuenc.def b/language/mongolian/montex/texinput/lmuenc.def
new file mode 100644
index 0000000000..33b2243ee4
--- /dev/null
+++ b/language/mongolian/montex/texinput/lmuenc.def
@@ -0,0 +1,120 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: lmuenc.def
+% Author: Oliver Corff
+% Date: December 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local Mongolian Glyph Container Definition
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\ProvidesFile{lmuenc.def}
+ [2001/12/01 v0.8 Mongolian Language Support Glyph Container]
+%% %
+%% %
+\DeclareFontEncoding{LMU}{}{}{}
+\DeclareFontSubstitution{LMU}{bxghs}{m}{n}
+%% %
+%% \DeclareTextComposite{\"}{LMO}{a}{69}
+%% \DeclareTextComposite{\"}{LMO}{o}{79}
+%% \DeclareTextComposite{\"}{LMO}{u}{85}
+%% %
+%% \DeclareTextSymbol{\titem}{LMO}{"40}
+%% \DeclareTextSymbol{\shud}{LMO}{"61}
+%% \DeclareTextSymbol{\secondaryshud}{LMO}{"41}
+%% \DeclareTextSymbol{\shilbe}{LMO}{"69}
+%% \DeclareTextSymbol{\gedes}{LMO}{"6F}
+%% \DeclareTextSymbol{\secondarygedes}{LMO}{"4F}
+%% \DeclareTextSymbol{\cegteishud}{LMO}{"6E}
+%% \DeclareTextSymbol{\lewer}{LMO}{"6C}
+%% \DeclareTextSymbol{\suuliinlewer}{LMO}{"4C}
+%% \DeclareTextSymbol{\tertiarylewer}{LMO}{"51}
+%% \DeclareTextSymbol{\mewer}{LMO}{"6D}
+%% \DeclareTextSymbol{\suuliinmewer}{LMO}{"4D}
+%% \DeclareTextSymbol{\xewteeqix}{LMO}{"78}
+%% \DeclareTextSymbol{\dawxarcegtxewteeqix}{LMO}{"58}
+%% \DeclareTextSymbol{\halfnum}{LMO}{"67}
+%% \DeclareTextSymbol{\num}{LMO}{"49}
+%% \DeclareTextSymbol{\halfnumtgedes}{LMO}{"42}
+%% \DeclareTextSymbol{\numtaigedes}{LMO}{"62}
+%% \DeclareTextSymbol{\buruuxarsangedes}{LMO}{"74}
+%% \DeclareTextSymbol{\gedesteishilbe}{LMO}{"64}
+%% \DeclareTextSymbol{\erweeljinshilbe}{LMO}{"72}
+%% \DeclareTextSymbol{\secerweeljin}{LMO}{"52}
+%% \DeclareTextSymbol{\bosooshilbe}{LMO}{"7A}
+%% \DeclareTextSymbol{\etgershilbe}{LMO}{"79}
+%% \DeclareTextSymbol{\zawj}{LMO}{"73}
+%% \DeclareTextSymbol{\suuliinzawj}{LMO}{"53}
+%% \DeclareTextSymbol{\dawxarcegtzawj}{LMO}{"71}
+%% \DeclareTextSymbol{\sereeewer}{LMO}{"63}
+%% \DeclareTextSymbol{\matgarshilbe}{LMO}{"76}
+%% \DeclareTextSymbol{\bituushilbe}{LMO}{"68}
+%% \DeclareTextSymbol{\secondaryqagt}{LMO}{"4B}
+%% \DeclareTextSymbol{\qagt}{LMO}{"6B}
+%% \DeclareTextSymbol{\secnumtdelbenqix}{LMO}{"50}
+%% \DeclareTextSymbol{\numtdelbenqix}{LMO}{"70}
+%% \DeclareTextSymbol{\secsertenqixtnum}{LMO}{"46}
+%% \DeclareTextSymbol{\sertenqixtnum}{LMO}{"66}
+%% \DeclareTextSymbol{\zadgaizardigt}{LMO}{"5A}
+%% \DeclareTextSymbol{\bituuzardigt}{LMO}{"4C}
+%% \DeclareTextSymbol{\malgaitaititem}{LMO}{"6A}
+%% \DeclareTextSymbol{\suul}{LMO}{"65}
+%% \DeclareTextSymbol{\orxic}{LMO}{"45}
+%% \DeclareTextSymbol{\biodoisuul}{LMO}{"59}
+%% \DeclareTextSymbol{\bagodoisuul}{LMO}{"47}
+%% \DeclareTextSymbol{\nceg}{LMO}{"2D}
+%% \DeclareTextSymbol{\gceg}{LMO}{"3D}
+%% \DeclareTextSymbol{\ceg}{LMO}{"2C}
+%% \DeclareTextSymbol{\dorwoljin}{LMO}{"3B}
+%%
+%% \DeclareTextSymbolDefault{\shud}{LMO}
+%% \DeclareTextSymbolDefault{\secondaryshud}{LMO}
+%% \DeclareTextSymbolDefault{\gedes}{LMO}
+%% \DeclareTextSymbolDefault{\secondarygedes}{LMO}
+%% \DeclareTextSymbolDefault{\shilbe}{LMO}
+%% \DeclareTextSymbolDefault{\cegteishud}{LMO}
+%% \DeclareTextSymbolDefault{\lewer}{LMO}
+%% \DeclareTextSymbolDefault{\suuliinlewer}{LMO}
+%% \DeclareTextSymbolDefault{\tertiarylewer}{LMO}
+%% \DeclareTextSymbolDefault{\mewer}{LMO}
+%% \DeclareTextSymbolDefault{\suuliinmewer}{LMO}
+%% \DeclareTextSymbolDefault{\xewteeqix}{LMO}
+%% \DeclareTextSymbolDefault{\dawxarcegtxewtee}{LMO}
+%% \DeclareTextSymbolDefault{\halfnum}{LMO}
+%% \DeclareTextSymbolDefault{\num}{LMO}
+%% \DeclareTextSymbolDefault{\halfnumtgedes}{LMO}
+%% \DeclareTextSymbolDefault{\numtoigedes}{LMO}
+%% \DeclareTextSymbolDefault{\buruuxarsangedes}{LMO}
+%% \DeclareTextSymbolDefault{\gedesteishilbe}{LMO}
+%% \DeclareTextSymbolDefault{\erweeljinshilbe}{LMO}
+%% \DeclareTextSymbolDefault{\secerweeljin}{LMO}
+%% \DeclareTextSymbolDefault{\bosooshilbe}{LMO}
+%% \DeclareTextSymbolDefault{\etgershilbe}{LMO}
+%% \DeclareTextSymbolDefault{\zawj}{LMO}
+%% \DeclareTextSymbolDefault{\suuliinzawj}{LMO}
+%% \DeclareTextSymbolDefault{\dawxarcegtzawj}{LMO}
+%% \DeclareTextSymbolDefault{\sereeewer}{LMO}
+%% \DeclareTextSymbolDefault{\matgarshilbe}{LMO}
+%% \DeclareTextSymbolDefault{\bituushilbe}{LMO}
+%% \DeclareTextSymbolDefault{\secondaryqagt}{LMO}
+%% \DeclareTextSymbolDefault{\qagt}{LMO}
+%% \DeclareTextSymbolDefault{\secnumtdelbenq}{LMO}
+%% \DeclareTextSymbolDefault{\numtdelbenqix}{LMO}
+%% \DeclareTextSymbolDefault{\secsertenqixt}{LMO}
+%% \DeclareTextSymbolDefault{\sertenqixtnum}{LMO}
+%% \DeclareTextSymbolDefault{\zadgaizardigt}{LMO}
+%% \DeclareTextSymbolDefault{\bituuzardigt}{LMO}
+%% \DeclareTextSymbolDefault{\malgaitaititem}{LMO}
+%% \DeclareTextSymbolDefault{\suul}{LMO}
+%% \DeclareTextSymbolDefault{\orxic}{LMO}
+%% \DeclareTextSymbolDefault{\biodoisuul}{LMO}
+%% \DeclareTextSymbolDefault{\bagodoisuul}{LMO}
+%% \DeclareTextSymbolDefault{\nceg}{LMO}
+%% \DeclareTextSymbolDefault{\gceg}{LMO}
+%% \DeclareTextSymbolDefault{\ceg}{LMO}
+%% \DeclareTextSymbolDefault{\dorwoljin}{LMO}
+%
+\endinput
diff --git a/language/mongolian/montex/texinput/mls.sty b/language/mongolian/montex/texinput/mls.sty
new file mode 100644
index 0000000000..dfcc64522f
--- /dev/null
+++ b/language/mongolian/montex/texinput/mls.sty
@@ -0,0 +1,752 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: mls.sty
+% Author: Oliver Corff
+% Date: November 15th, 2001
+% Version: \VersionRelease
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: The mls style file providing access to all
+% commands necessary for writing Mongolian.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\newcommand{\VersionDate}{2010/04/01}% 2002/07/01 with modified language name
+\newcommand{\ImplementationLevel}{IVu}%
+\newcommand{\VersionKirill}{04}%
+\newcommand{\VersionMongol}{092}%
+\newcommand{\VersionRelease}{%
+ \ImplementationLevel.\VersionKirill.\VersionMongol}%
+%
+\NeedsTeXFormat{LaTeX2e}%
+\ProvidesPackage{mls}[2010/04/01 IVu.04.092 Mongolian for LaTeX2e]%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- initial code -------------------
+%
+\RequirePackage{ifthen}%
+\RequirePackage{diagnose}%
+
+\PackageDiagnostics{lgrenc.def}%
+ {GreekGammaAvailable}%
+ {Greek Gamma Support Available!}%
+ {No Beautiful Gamma without Modern Greek Support!}%
+%
+\PackageDiagnostics{rotating.sty}%
+ {PostScriptAvailable}%
+ {PostScript Support Available!}%
+ {No Vertical Text without PostScript Support!}%
+%
+\PackageDiagnostics{lscape.sty}%
+ {LandscapeAvailable}%
+ {Support for Vertical Pages Available!}%
+ {No Vertical Pages without lscape.sty's Landscape Support!}%
+%
+\TokenDiagnostics{\TeXXeTstate}%
+ {TeXXeTAvailable}%
+ {Support for Bicig/Bithe Full Text Available!}%
+ {No Bicig/Bithe Full Text without eLaTeX!}%
+%
+%
+% The retransliteration and pretty-spell engines are loaded here:
+%
+\input mlstrans.tex
+\input mlsgalig.tex
+%
+%
+% The Mongolian suffix separator, which, to the authors esteem,
+% lacks the correct properties in Unicode. In Mongolian its
+% behaviour is: separate stem and suffix, let stem end in final
+% letter form, let suffix begin with special letter shape.
+%
+\gdef\minus{-}%
+%
+{\catcode`-\active%
+ \gdef\mnhyphenon{\catcode`-13 \def-{\hskip.75em\relax\minus}}%
+ \gdef\mnhyphenoff{\catcode`-12 \relax}} % Correct bicig
+ % morpheme treatment
+{\catcode`G\active%
+ \gdef\mgammaon{\catcode`G13 \defG{\g}}%
+ \gdef\mgammaoff{\catcode`G11 \relax}} % Correct bicig
+ % gamma treatment
+%
+% The following definition of a double
+% hyphen was offered by Donald Arseneau.
+%
+{\catcode`=\active%
+ \gdef\mdoublehyphenon{\catcode`=13
+ \def={\mbox{\raise.2ex\rlap{-}\raise-.2ex\hbox{-}}}}%
+ \gdef\mdoublehyphenoff{\catcode`=12 \relax}} % Correct bicig
+ % doube-hyphen treatment
+%
+% Check if we really need this:
+%
+\let\orgv\v
+\let\orgd\=
+%
+{\gdef\@sv#1{\expandafter\ifx\csname #1\endcsname\s s'\else\orgv#1\fi}}%
+{\gdef\@sd#1{\expandafter\ifx\csname #1\endcsname\u v\else\orgd#1\fi}}%
+%
+\let\v\@sv
+\let\=\@sd
+%
+%
+% One variable needed later:
+%
+\newif\ifRtoL
+\RtoLfalse % At the moment RL capabilities are deactivated...
+%
+% By accident, Latin1 input encoding is wired into the Cork T1
+% package.
+%
+% We declare, by convenience, the other necessary encodings here,
+% together with necessary ASCII -> target encoding definitions.
+%
+% We need our local Mongolian encodings
+% (C: Cyrillic,
+% S: (Mongol) Script (glyph mode),
+% O: Mongolian (ligature mode),
+% A: Manju (ligature mode),
+% U: Mongolian and Manju glyph container, heading towards Unicode
+% T: Traditional or Tibetan style) as standard encodings ...
+%
+% Latin output encoding is T1 (Cork encoding, copied from
+% t1enc.sty), and Mongolian Cyrillic Encoding is LMC.
+%
+% The various encodings show different degrees of awareness
+% towards transliterated input.
+%
+% LMC understands romanized Cyrillic and outputs proper Cyrillic
+%
+% LMS doesn't understand really anything and needs the retrans-
+% literation engine of mlstrans.tex. It does not make sense
+% to encode complete documents in this encodings; hence there
+% is no associated \SetDocumentEncoding... command to go with.
+%
+% LMO is intelligent enough to accept a moderately simplified
+% input of Classical Mongolian (e.g.: munggul bicik) and
+% converts that into the proper writing; perhaps one day
+% it will also understand broad romanizations. The asso-
+% ciated command is \SetDocumentEncodingBicig. It will
+% certainly also be the container of utf8-represented
+% Unicode Mongolian.
+%
+% LMA enjoys mental capacities comparable to those of LMO; it
+% accepts transliterated Manju (e.g.: manju bithe) and
+% converts this into proper Manju writing The associated
+% command is \SetDocumentEncodingBithe.
+%
+% LMT isn't really defined yet; regard it as a "reserved"
+% encoding; but surely it will accept significantly
+% straightforward romanizations of Soyombo and Xäwtää
+% Dörwöljin. There is not yet an associated Document
+% Encoding command.
+%
+% LMU is a container for all Mongolian and Manju glyphs (basic,
+% context-dependant and ligatures) which has only half-hearted
+% support at the moment. It may be home to the Unicode
+% Initiative, though. Or should I define a better name for it?
+%
+% LMX (at present) Xäwtää Dörwöljin. There is not yet an associated
+% Document Encoding command.
+%
+\newcommand{\SetDocumentEncodingNeutral}{%
+ \renewcommand{\encodingdefault}{T1}%
+ \fontencoding{T1}%
+ \selectfont
+ \mnhyphenoff
+ }%
+%
+\newcommand{\SetDocumentEncodingLMC}{%
+ \renewcommand{\encodingdefault}{LMC}%
+ \fontencoding{LMC}%
+ \selectfont
+ \mnhyphenoff
+ }%
+%
+\newcommand{\SetDocumentEncodingBicig}{%
+ \ifRtoL
+ \renewcommand{\rmdefault}{bcgvs}%
+ \renewcommand{\sfdefault}{bcgvw}%
+ \else
+ \renewcommand{\rmdefault}{bcghs}%
+ \renewcommand{\sfdefault}{bcghw}%
+ \fi
+ \renewcommand{\encodingdefault}{LMO}%
+ \fontencoding{LMO}%
+ %\fontfamily{\ifRtoL bcgvs\else bcghs\fi}%
+ \selectfont
+ \mnhyphenon
+ }%
+%
+\newcommand{\SetDocumentEncodingBithe}{%
+ \ifRtoL
+ \renewcommand{\rmdefault}{bthvs}%
+ \renewcommand{\sfdefault}{bthvw}%
+ \else
+ \renewcommand{\rmdefault}{bthhs}%
+ \renewcommand{\sfdefault}{bthhw}%
+ \fi
+ \renewcommand{\encodingdefault}{LMA}%
+ \fontencoding{LMA}%
+ %\fontfamily{\ifRtoL bthv\else bthh\fi}%
+ \selectfont
+ }%
+%
+\newcommand{\mnr}{%
+ \fontencoding{LMC}\selectfont
+ }%
+\newcommand{\bithevfont}{%
+ \renewcommand{\rmdefault}{bthvs}%
+ \renewcommand{\sfdefault}{bthvw}%
+ \fontencoding{LMA}%
+ \fontfamily{\familydefault}%
+ \selectfont
+ }%
+\newcommand{\bithehfont}{%
+ \renewcommand{\rmdefault}{bthhs}%
+ \renewcommand{\sfdefault}{bthhw}%
+ \fontencoding{LMA}%
+ \fontfamily{\familydefault}%
+ \selectfont
+ }%
+\newcommand{\bicigvfont}{%
+ \renewcommand{\rmdefault}{bcgvs}%
+ \renewcommand{\sfdefault}{bcgvw}%
+ \fontencoding{LMO}%
+ \fontfamily{\familydefault}%
+ \selectfont
+ }%
+\newcommand{\bicighfont}{%
+ \renewcommand{\rmdefault}{bcghs}%
+ \renewcommand{\sfdefault}{bcghw}%
+ \fontencoding{LMO}%
+ \fontfamily{\familydefault}%
+ \selectfont
+ }%
+\newcommand{\bicigmlsvfont}{%
+ \fontencoding{LMS}%
+ \fontfamily{bcgv}%
+ \selectfont
+ }%
+\newcommand{\bicigmlshfont}{%
+ \fontencoding{LMS}%
+ \fontfamily{bcgh}%
+ \selectfont
+ }%
+\newcommand{\rnm}{%
+ \fontencoding{T1}%
+ \selectfont
+ }%
+%
+%
+% Finally we define the captions:
+%
+\input buryat.def
+\input english.def
+\input russian.def
+\input xalx.def
+\mnhyphenon
+ \input bicig.def
+\mnhyphenoff
+\input bithe.def
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- declaration of options -------------------
+%
+% As long as we have no hyphenation for
+% Buryat we take Mongolian instead.
+%
+\DeclareOption{buryat}{%
+ \captionsburyat%
+ \language\number\l@mongolianlmc% (used to be "\l@mongolian")
+ \renewcommand{\today}{\BuryatToday}}%
+%
+\DeclareOption{xalx}{%
+ \captionsxalx%
+ \language\number\l@mongolianlmc% (used to be "\l@mongolian")
+ \renewcommand{\today}{\XalxToday}}%
+%
+\DeclareOption{kazakh}{%
+ \captionskazakh%
+ \language\number\l@kazakh%
+ \renewcommand{\today}{\KazakhToday}}%
+%
+\DeclareOption{russian}{%
+ \captionsrussian%
+ \language\number\l@russian%
+ \renewcommand{\today}{\RussianToday}}%
+%
+\DeclareOption{english}{%
+ \captionsenglish%
+ \language0%
+ %\renewcommand{\today}{\EnglishToday}%
+ }%
+%
+\DeclareOption{bicig}{%
+ %
+ % Makes the document Mongolian. This implies:
+ % 1. bicig captions -> \captionsbicig
+ % 2. bicig date -> \BicigToday
+ % 3. vertical lines, -> \begin{bicigpage}
+ % 4. bicig font, -> \SetDocumentEncodingBicig
+ % 5. active hyphen -> \mnyphenon
+ %
+ \captionsbicig%
+ \renewcommand{\today}{\BicigToday}%
+ %
+ % The following two lines are a replacement for
+ % \AtBeginDocument{\begin{bicigpage}}
+ % which does not work this way with PDFLaTeX
+ % because \mnhyphenon is activated before PDFLaTeX
+ % has finished its job. The supp-... files cannot
+ % be loaded properly. The following lines simulate
+ % \begin{document}
+ % \begin{bicigpage}
+ %
+ \let\original@document\document
+ \def\document{\original@document\begin{bicigpage}}%
+ \AtEndDocument{%
+ \ifbithepage\end{bithepage}\fi
+ \ifbithetext\end{bithetext}\fi
+ \ifbicigpage\end{bicigpage}\fi
+ \ifbicigtext\end{bicigtext}\fi
+ \ifneutraltext\end{neutraltext}\fi
+ }%
+}%
+%
+\DeclareOption{bithe}{%
+ %
+ % Makes the document Manju. This implies:
+ % 1. bithe captions -> \captionsbithe
+ % 2. bithe date -> \BitheToday
+ % 3. vertical lines, -> \begin{bithepage}
+ % 4. bithe font, -> +- \SetDocumentEncodingBithe
+ %
+ \captionsbithe%
+ \renewcommand{\today}{\BitheToday}%
+ \AtBeginDocument{\begin{bithepage}}%
+ \AtEndDocument{%
+ \ifbithepage\end{bithepage}\fi
+ \ifbithetext\end{bithetext}\fi
+ \ifbicigpage\end{bicigpage}\fi
+ \ifbicigtext\end{bicigtext}\fi
+ \ifneutraltext\end{neutraltext}\fi
+ }%
+}%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% -------- Loading of various codepage definitions -------------
+%
+% Input encodings supplied by MonTeX
+%
+\DeclareOption{mls}{\PassOptionsToPackage{cpmls}{inputenc}}%
+\DeclareOption{ncc}{\PassOptionsToPackage{cpncc}{inputenc}}%
+\DeclareOption{mos}{\PassOptionsToPackage{cpmos}{inputenc}}%
+\DeclareOption{mnk}{\PassOptionsToPackage{cpmnk}{inputenc}}%
+\DeclareOption{dbk}{\PassOptionsToPackage{cpdbk}{inputenc}}%
+\DeclareOption{ibmrus}{\PassOptionsToPackage{cpibmrus}{inputenc}}%
+\DeclareOption{koi}{\PassOptionsToPackage{cpkoi}{inputenc}}%
+\DeclareOption{ctt}{\PassOptionsToPackage{cpctt}{inputenc}}%
+%
+% Initial Unicode Mongolian utf-8 support. Experimental
+%
+\DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}}%
+%
+% Input encodings supplied by standard installations
+%
+\DeclareOption{1250}{\PassOptionsToPackage{cp1250}{inputenc}}%
+\DeclareOption{1252}{\PassOptionsToPackage{cp1252}{inputenc}}%
+\DeclareOption{437de}{\PassOptionsToPackage{cp437de}{inputenc}}%
+\DeclareOption{437}{\PassOptionsToPackage{cp437}{inputenc}}%
+\DeclareOption{850}{\PassOptionsToPackage{cp850}{inputenc}}%
+\DeclareOption{852}{\PassOptionsToPackage{cp852}{inputenc}}%
+\DeclareOption{865}{\PassOptionsToPackage{cp865}{inputenc}}%
+\DeclareOption{cp1250}{\PassOptionsToPackage{cp1250}{inputenc}}%
+\DeclareOption{cp1252}{\PassOptionsToPackage{cp1252}{inputenc}}%
+\DeclareOption{cp437de}{\PassOptionsToPackage{cp437de}{inputenc}}%
+\DeclareOption{cp437}{\PassOptionsToPackage{cp437}{inputenc}}%
+\DeclareOption{cp850}{\PassOptionsToPackage{cp850}{inputenc}}%
+\DeclareOption{cp852}{\PassOptionsToPackage{cp852}{inputenc}}%
+\DeclareOption{cp865}{\PassOptionsToPackage{cp865}{inputenc}}%
+\DeclareOption{ansinew}{\PassOptionsToPackage{ansinew}{inputenc}}%
+\DeclareOption{applemac}{\PassOptionsToPackage{applemac}{inputenc}}%
+\DeclareOption{ascii}{\PassOptionsToPackage{ascii}{inputenc}}%
+\DeclareOption{atari}{\PassOptionsToPackage{atari}{inputenc}}%
+\DeclareOption{decmulti}{\PassOptionsToPackage{decmulti}{inputenc}}%
+\DeclareOption{isolatin}{\PassOptionsToPackage{isolatin}{inputenc}}%
+\DeclareOption{latin1}{\PassOptionsToPackage{latin1}{inputenc}}%
+\DeclareOption{latin2}{\PassOptionsToPackage{latin2}{inputenc}}%
+\DeclareOption{latin3}{\PassOptionsToPackage{latin3}{inputenc}}%
+\DeclareOption{latin5}{\PassOptionsToPackage{latin5}{inputenc}}%
+\DeclareOption{mac}{\PassOptionsToPackage{mac}{inputenc}}%
+\DeclareOption{next}{\PassOptionsToPackage{next}{inputenc}}%
+\DeclareOption{pc850}{\PassOptionsToPackage{pc850}{inputenc}}%
+\DeclareOption{roman8}{\PassOptionsToPackage{roman8}{inputenc}}%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- execution of options -------------------
+%
+\ProcessOptions
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% --------------- conditional package loading ----------------
+%
+\ifnum\theTeXXeTAvailable=1
+ \RequirePackage{rlbicig}%
+\else
+ \relax
+ % Some conditional no-ops may go here, so as not to upset
+ % command definitions which rely on material in rlbicig.
+\fi
+%
+\ifnum\theGreekGammaAvailable=1
+ \relax
+ \def\LGR{LGR,}%
+\else
+ \def\LGR{}%
+\fi
+%
+\RequirePackage[,\LGR LMS,LMO,LMA,LMC,T1]{fontenc}%
+%
+\ifnum\theTeXXeTAvailable=0
+ \DeclareFontSubstitution{LMA}{bthhs}{m}{n}%
+ \DeclareFontSubstitution{LMO}{bcghs}{m}{n}%
+\fi
+%
+\RequirePackage{inputenc}%
+%
+% PostScript detection; necessary for user-friendly
+% execution of vertical capsules
+%
+\ifnum\thePostScriptAvailable=1
+ \RequirePackage{rotating}%
+ %
+ \ifnum\theLandscapeAvailable=1
+ \RequirePackage{lscape}%
+ \fi
+\fi
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- Main Code -------------------
+%
+\renewcommand{\selectlanguage}[1]{%
+ \ifthenelse{\equal{#1}{buryat}}{%
+ \SetDocumentEncodingLMC
+ \captionsburyat}{}%
+ \ifthenelse{\equal{#1}{xalx}}{%
+ \SetDocumentEncodingLMC
+ \let\oldlanguage\language
+ \language\number\l@mongolianlmc% (used to be "\l@mongolian")
+ \captionsxalx}{}%
+ \ifthenelse{\equal{#1}{bicig}}{%
+ \begin{bicigpage}%
+ \captionsbicig}{}%
+ \ifthenelse{\equal{#1}{bithe}}{%
+ \begin{bithepage}%
+ \captionsbithe}{}%
+ \ifthenelse{\equal{#1}{english}}{%
+ \SetDocumentEncodingNeutral
+ \language0
+ \captionsenglish}{}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------- bicig/bithe-related code -------------
+%
+% Font switching commands; influence both
+% document conventions and document encoding
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------ mls-bicig-related code --------------------
+%
+% Stuff in this area is pretty much deprecated and remains only
+% for maintaining backward compatibility.
+%
+\newcommand{\bcg}[1]{% % This one accepts input
+ {\ifRtoL\bicigmlsvfont % in broad romanization
+ \else\bicigmlshfont\fi % and generates Mongol Bicig.
+ \protect\my@galig{#1}}} % Only useful for capsules.
+%
+\newcommand{\glyphbcg}[1]{% % This one is helpful
+ {\ifRtoL\bicigmlsvfont % in generating
+ \else\bicigmlshfont\fi#1}} % ligature-free glyphs
+%
+\newcommand{\PrettyMLS}[1]{% % Transform TeX-ified MLS
+ {\my@mls@galig{#1}}} % transliteration back to
+ % user-friendly transliteration
+%
+% ------------------ mls-bicig-related code --------------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\newcommand{\bicig}{\bgroup\mnhyphenon\bicig@font}%
+%
+\newcommand{\bicig@font}[1]{\ifRtoL
+ \bicigvfont
+ \else
+ \bicighfont
+ \fi
+ #1\egroup}%
+%
+\newcommand{\bithe}[1]{%
+ {\ifRtoL\bithevfont\else\bithehfont\fi#1}}%
+%
+\newcommand{\bosoo}[1]{%
+ \ifnum\thePostScriptAvailable=1%
+ \relax
+ \raisebox{1.25ex}{%
+ \begin{turn}{270}%
+ #1%
+ \end{turn}}%
+ \else
+ #1%
+ \fi
+}%
+%
+\newcommand{\mbosoo}[1]{\bosoo{\bcg{#1}}}%
+%
+\newcommand{\mobosoo}{\bgroup\mnhyphenon\mo@bosoo}%
+\newcommand{\mo@bosoo}[1]{\bosoo{\bicighfont#1}\egroup}%
+%
+\newcommand{\mabosoo}[1]{\bosoo{\bithehfont#1}}%
+%
+% All ...page and ...text environments check whether
+% RL support is available. Only then will they switch
+% to the appropriate direction. The document encoding
+% and the puge numbering have to be specified, too.
+%
+\newif\ifbicigpage % Needed for detection of environments
+\newif\ifbithepage
+\newif\ifbicigtext
+\newif\ifbithetext
+\newif\ifneutraltext
+\newenvironment{bicigpage}%
+ {\landscape
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=1%
+ \setRtoL
+ \everyhbox{\ifRtoL\relax\else\setRtoL\fi}
+ \par
+ \fi
+ \SetDocumentEncodingBicig
+ \bicigpagetrue
+ \renewcommand{\thepage}{%
+ {\fontencoding{T1}\selectfont
+ \arabic{page}}}%
+ \renewcommand{\theenumii}{%
+ \arabic{enumii}}%
+ }%
+ {\par
+ \everyhbox{}
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=0%
+ \fi
+ \endlandscape
+ \bicigpagefalse}%
+%
+\newenvironment{bicigtext}%
+ {\ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=1%
+ \setRtoL
+ \everyhbox{\setRtoL}
+ \par
+ \fi
+ \SetDocumentEncodingBicig
+ \bicigtexttrue
+ \renewcommand{\thepage}{
+ {\fontencoding{T1}\selectfont
+ \arabic{page}}}%
+ \renewcommand{\theenumii}{%
+ \arabic{enumii}}%
+ }%
+ {\par
+ \everyhbox{}
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=0%
+ \fi
+ \bicigtextfalse}%
+%
+\newenvironment{bithepage}%
+ {\landscape
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=1%
+ \setRtoL
+ \everyhbox{\setRtoL}
+ \par
+ \fi
+ \SetDocumentEncodingBithe
+ \bithepagetrue
+ \let\v\@sv
+ \let\=\@sd
+ \renewcommand{\thepage}{%
+ {\fontencoding{T1}\selectfont
+ \arabic{page}}}%
+ \renewcommand{\theenumii}{%
+ \arabic{enumii}}%
+ }%
+ {\par
+ \everyhbox{}
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=0%
+ \fi
+ \endlandscape
+ \bithepagefalse}%
+%
+\newenvironment{bithetext}%
+ {\ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=1%
+ \setRtoL
+ \everyhbox{\setRtoL}
+ \par
+ \fi
+ \SetDocumentEncodingBithe
+ \bithetexttrue
+ \let\v\@sv
+ \let\=\@sd
+ \renewcommand{\thepage}{%
+ {\fontencoding{T1}\selectfont
+ \arabic{page}}}%
+ \renewcommand{\theenumii}{%
+ \arabic{enumii}}%
+ }%
+ {\par
+ \everyhbox{}
+ \ifnum\theTeXXeTAvailable=1%
+ \relax
+ \TeXXeTstate=0%
+ \fi
+ \bithetextfalse}%
+%
+\newenvironment{neutraltext}%
+ {\ifnum\theTeXXeTAvailable=1%
+ \relax
+ \setLtoR
+ \everyhbox{}
+ \par
+ \TeXXeTstate=0%
+ \fi
+ \SetDocumentEncodingNeutral
+ \neutraltexttrue
+ \mnhyphenoff
+ }%
+ {
+ \neutraltextfalse}%
+%
+\newsavebox{\moma@box}%
+%
+\newcommand{\mobox}{\bgroup\mnhyphenon\mo@box}%
+\newcommand{\mo@box}[2]{%
+ \savebox{\moma@box}{\parbox{#1}{%
+ \begin{bicigtext}%
+ #2%
+ \end{bicigtext}%
+ }}%
+ \begin{turn}{90}\usebox{\moma@box}\end{turn}%
+ \egroup}%
+%
+\newcommand{\mabox}[2]{%
+ \savebox{\moma@box}{\parbox{#1}{%
+ \begin{bithetext}%
+ #2%
+ \end{bithetext}%
+ }}%
+ \begin{turn}{90}\usebox{\moma@box}\end{turn}%
+ }%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------ Cyrillic-related code --------------------
+%
+\newcommand{\xalx}[1]{% Encapsulates Cyrillic texts
+ {\mnr#1}}%
+%
+\newcommand{\lat}[1]{% Encapsulates Latin texts
+ {\rnm#1}}%
+%
+\newcommand{\krm}[1]{{\mnr\textrm{#1}}}%
+\newcommand{\kbf}[1]{{\mnr\textbf{#1}}}%
+\newcommand{\kit}[1]{{\mnr\textit{#1}}}%
+\newcommand{\ksl}[1]{{\mnr\textsl{#1}}}%
+\newcommand{\ksf}[1]{{\mnr\textsf{#1}}}%
+\newcommand{\ksc}[1]{{\mnr\textsc{#1}}}%
+\newcommand{\ktt}[1]{{\mnr\texttt{#1}}}%
+%
+\newcommand{\lrm}[1]{{\rnm\textrm{#1}}}%
+\newcommand{\lbf}[1]{{\rnm\textbf{#1}}}%
+\newcommand{\lit}[1]{{\rnm\textit{#1}}}%
+\newcommand{\lsl}[1]{{\rnm\textsl{#1}}}%
+\newcommand{\lsf}[1]{{\rnm\textsf{#1}}}%
+\newcommand{\lsc}[1]{{\rnm\textsc{#1}}}%
+\newcommand{\ltt}[1]{{\rnm\texttt{#1}}}%
+%
+\newcommand{\Togrog}{\textsf{\MyTogrog}}%
+\newcommand{\togrog}{\textsf{\mytogrog}}%
+%
+%
+% Assign the kminch font outside the NFSS system since NFSS
+% goofs the size of it.
+%
+\font\kminch=kminch
+\font\cminch=cminch
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------ Miscellaneous Code --------------------
+%
+% \MonTeX creates the MonTeX logo
+%
+\newcommand{\MonTeX}{Mon\TeX}%
+%
+% If the Greek Gamma is available then we use LGR Greek,
+% otherwise we use the ordinary math mode gamma, which
+% does not look as beautiful.
+%
+\ifthenelse{\value{GreekGammaAvailable}=1}{%
+ \newcommand{\g}{%
+ {\fontencoding{LGR}\selectfont g}}%
+ \newcommand{\G}{%
+ {\fontencoding{LGR}\selectfont G}}}%
+ {%
+ \newcommand{\g}{\(\gamma\)}%
+ \newcommand{\G}{\(\Gamma\)}%
+ }%
+%
+%
+% Some definitions for writing transliterated
+% texts, useful mainly in Latin enviroments:
+%
+\def\UU{\={U}}%
+\def\uu{\={u}}%
+%
+\DeclareTextCommand{\om}{LMO}{\char"060 }%
+%
+\DeclareTextCommand{\ch}{T1}{\char"0A3 }%
+\DeclareTextCommand{\Ch}{T1}{\char"083 }%
+\DeclareTextCommand{\jh}{T1}{{\v \j}}%
+\DeclareTextCommand{\Jh}{T1}{{\v J}}%
+\DeclareTextCommand{\zh}{T1}{\char"0BA }%
+\DeclareTextCommand{\Zh}{T1}{\char"09A }%
+\DeclareTextCommand{\sh}{T1}{\char"0B2 }%
+\DeclareTextCommand{\Sh}{T1}{\char"092 }%
+\DeclareTextCommand{\ng}{T1}{\char"0AD }%
+\DeclareTextCommand{\Ng}{T1}{\char"08D }%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% -------------- Final Steps before Leaving ----------------
+%
+%
+% In any case, start with a clean document environment!
+%
+%\AtBeginDocument{}%
+%
+% In any case, and we end with a clean document environment!
+%
+%\AtEndDocument{}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The \packagename\ package ends here.
diff --git a/language/mongolian/montex/texinput/mlsgalig.tex b/language/mongolian/montex/texinput/mlsgalig.tex
new file mode 100644
index 0000000000..d091fbfa3d
--- /dev/null
+++ b/language/mongolian/montex/texinput/mlsgalig.tex
@@ -0,0 +1,132 @@
+% vim: ts=8 sw=8
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: mlsgalig.tex
+% Author: Oliver Corff
+% Date: November 1st, 1999
+% Version: \VersionRelease
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: The mls pretty-spell subroutine
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\long\def\my@mls@galig#1{%
+ \t@kenbuffer={}%
+ \do@mlsgalig#1\ \end@mlsgalig\the\t@kenbuffer}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \do@mlsgalig, \dodo@mlsgalig and the outer loop of \evaluate
+% are shamelessly stolen from or modelled after Knuth's token
+% scanners demonstrated in the TeXbook, exercise 11.5, chapter
+% 20 and, most notoriously, appendix D.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\do@mlsgalig{\afterassignment\dodo@mlsgalig\let\next= }
+
+\def\dodo@mlsgalig{\ifx\next\end@mlsgalig \let\next\relax
+ \else \prettify@mls\let\next\do@mlsgalig\fi
+ \next}
+
+\def\end@mlsgalig{\end@mlsgalig}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\let\following@char\empty % ditto
+\let\this@char\empty % general char var initialization
+%
+\newtoks\t@kenbuffer % token buffer collects output
+%
+\newif\ifShowSpecialMLS % Used for toggling token status
+\def\double@quote{''}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The \evaluate construct appears in the TeXbook, disguised
+% as \\; see above for sources of inspiration.
+%
+\def\prettify@mls{\expandafter\if\space \next\ % <- Watch space and `%'!
+ \let\this@char\space%
+ \the\t@kenbuffer%
+ \t@kenbuffer={}%
+ \this@char%
+ \else%
+ \let\this@char\next%
+% [[\expandafter\string\this@char]] % <- used for diagnostics only.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char E%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \"a}%
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char O%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \"o}%
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char U%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \"u}%
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char S%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \sh}%
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char G%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \g}%
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char '%
+ \ifShowSpecialMLS
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \fbox{\textsf{FVS1}}}%
+ \else%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer '}%
+ \fi
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char "%
+ \ifShowSpecialMLS
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \fbox{\textsf{FVS2}}}%
+ \else%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer ''}%
+ \fi
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char *%
+ \ifShowSpecialMLS
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \fbox{\textsf{*}}}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer *}%
+ \fi
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char -%
+ \ifShowSpecialMLS
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \fbox{\textsf{MSP}}}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer -}%
+ \fi
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\this@char =%
+ \ifShowSpecialMLS
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \fbox{\textsf{MVS}}}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer =}%
+ \fi
+ \else%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \the\t@kenbuffer\this@char\t@kenbuffer={}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fi% <- end of evaluate else branch
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+ %
+ }% End of evaluate definition
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\endinput
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The file mlsgalig.tex ends here.
+%
+% O. Corff, (c) 1999, Ulaanbaatar, Beijing, Berlin
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/language/mongolian/montex/texinput/mlstrans.tex b/language/mongolian/montex/texinput/mlstrans.tex
new file mode 100644
index 0000000000..cd28c40f56
--- /dev/null
+++ b/language/mongolian/montex/texinput/mlstrans.tex
@@ -0,0 +1,1231 @@
+% vim: ts=8 sw=8
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: mlstrans.tex
+% Author: Oliver Corff
+% Date: Novemer 10th, 1999
+% Version: \VersionRelease
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: The mls retransliteration engine
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Umlaut definitions
+%
+\let\a@mlaut=E%
+\let\o@mlaut=O%
+\let\u@mlaut=U%
+%
+% Top-level definition of `myfunction'
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\long\def\my@galig#1{%
+ \t@kenbuffer={}%
+ \loopcount=0%
+ \previousisboundarytrue%
+ \thisisboundarytrue%
+ \do@galiglist#1\ \end@galiglist\the\t@kenbuffer}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \do@galiglist, \dodo@galiglist and the outer loop of \evaluate
+% are shamelessly stolen from or modelled after Knuth's token
+% scanners demonstrated in the TeXbook, exercise 11.5, chapter
+% 20 and, most notoriously, appendix D.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\do@galiglist{\afterassignment\dodo@galiglist\let\next= }
+
+\def\dodo@galiglist{\ifx\next\end@galiglist \let\next\relax
+ \else \evaluate@galig\let\next\do@galiglist\fi
+ \next}
+
+\def\end@galiglist{\end@galiglist}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The following variables and counters are used in the retrans-
+% literation engine.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\let\previouschar\empty % general char var initialization
+\let\followingchar\empty % ditto
+\let\thischar\empty % ditto
+%
+\newtoks\t@kenbuffer % token buffer collects output
+\newif\iffvs % if FVS then loop once
+\newcount\thisfvs % the fvs value of this character
+\newcount\previousfvs % the fvs value of the previous char
+\newcount\followingfvs % the fvs value of the following char
+\newcount\loopcount % loop count
+\newcount\syllablecount % syllable count; needed
+ % for front vowels
+\newcount\raisel % takes care of longer l
+%
+\newif\iffollowingisvowel % if following is vowel then ...
+\newif\ifthisisvowel % if this is vowel then ...
+\newif\ifpreviousisvowel % if previous is vowel then ...
+%
+\newif\iffollowingisround % if following is round then ...
+\newif\ifthisisround % if this is round then ...
+\newif\ifpreviousisround % if previous is round then ...
+%
+\newif\iffollowingforcesround % if following forces successor
+ % to be round then ...
+\newif\ifthisforcesround % if this forces successor to be round then ...
+\newif\ifpreviousforcesround% if previous forces successor to be round then ...
+%
+\newif\iffollowingisboundary % if following is boundary then ...
+\newif\ifthisisboundary % if this is boundary then ...
+\newif\ifpreviousisboundary % if previous is boundary then ...
+%
+\newif\iffollowingispseudoboundary % needed for xoriy=a, Gar-aca
+\newif\ifthisispseudoboundary % and friends
+\newif\ifpreviousispseudoboundary %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The \evaluate construct appears in the TeXbook, disguised
+% as \\; see above for sources of inspiration.
+%
+\def\evaluate@galig{\expandafter\if\space \next % <- Watch space and `%'!
+ \let\followingchar\space %
+ \followingisboundarytrue %
+ \syllablecount=0 %
+ \the\t@kenbuffer%
+ \t@kenbuffer={}%
+ \else%
+ \let\followingchar\next %
+ \followingisboundaryfalse %
+ \fi% <- end of evaluate else branch
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Detect and treat FVSs
+%
+ \iffvs%(
+ \fvsfalse%
+ \let\thisfvs\followingfvs%
+ \else
+ \if\followingchar '%
+ \fvstrue\followingfvs=1 %
+ \else
+ \if\followingchar "%
+ \fvstrue\followingfvs=2 %
+ \else
+ \followingfvs=0 %
+ \fi
+ \fi
+ \fi%)
+ %
+ \iffvs%(<- vi jump tag for detected FVS
+ \else%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Analysis of incoming characters
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \followingispseudoboundaryfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\followingchar a%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar \a@mlaut%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar e%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar i%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar u%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar \u@mlaut%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar o%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar \o@mlaut%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvoweltrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar n%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar l%
+ \followingforcesroundtrue
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar r%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar g%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar -%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+ \followingispseudoboundarytrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar G%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar b%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar d%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar t%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar s%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar y%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar z%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar k%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar x%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar m%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar S%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar c%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar =%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+ \followingispseudoboundarytrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar v%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar h%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar p%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar K%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar f%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar Q%
+ \followingforcesroundfalse
+ \followingisroundtrue
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar Z%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar C%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar j%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar |%
+ % evaluate | (niruGu)
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\followingchar *%
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else
+ \followingisboundarytrue
+ \followingforcesroundfalse
+ \followingisroundfalse
+ \followingisvowelfalse
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fi % 37 * EnvMark
+ \fi % 36 | (niruGu)
+ \fi % 35 j
+ \fi % 34 C
+ \fi % 33 Z
+ \fi % 32 Q
+ \fi % 31 f
+ \fi % 30 K
+ \fi % 29 p
+ \fi % 28 h
+ \fi % 27 v
+ \fi % 26 =
+ \fi % 25 c
+ \fi % 24 S (sh)
+ \fi % 23 m
+ \fi % 22 x
+ \fi % 21 k
+ \fi % 20 z
+ \fi % 19 y
+ \fi % 18 s
+ \fi % 17 t
+ \fi % 16 d
+ \fi % 15 b
+ \fi % 14 G
+ \fi % 13 - (MSP)
+ \fi % 12 g
+ \fi % 11 r
+ \fi % 10 l
+ \fi % 9 n
+ \fi % 8 o@mlaut
+ \fi % 7 o
+ \fi % 6 u@mlaut
+ \fi % 5 u
+ \fi % 4 i
+ \fi % 3 e
+ \fi % 2 a@mlaut
+ \fi % 1 a
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Evaluate current character
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifnum\loopcount>0 %(<- vi jump tag for loopcount
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \if\thischar a% % 01
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ae}%
+ \else % Final Form
+ \ifpreviousisround %
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer AE}%
+ \else
+ \ifpreviousispseudoboundary %
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer E}%
+ \else
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer E}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aa}%
+ \else% % Medial Form
+ \ifpreviousisround %
+ \iffollowingispseudoboundary %
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer AE}%
+ \else%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer A}%
+ \fi
+ \else%
+ \ifpreviousispseudoboundary %
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer |a}%
+ \else%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer a}%
+ \fi
+ \fi
+ \fi
+ \fi%)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar \a@mlaut% % 02
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aE}%
+ \else % Final Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer AE}%
+ \else%
+ \ifpreviousispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer E}%
+ \else%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e}%
+ \fi
+ \fi
+ \fi
+ \else
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @a}%
+ \else% % Medial Form
+ \ifpreviousisround
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer AE}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer A}%
+ \fi
+ \else%
+ \ifpreviousispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer |a}%
+ \else%
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer a}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \advance\syllablecount by 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar e% % 03
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @av}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer vY}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @av}%
+ \else% % Medial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer v}%
+ \fi
+ \fi
+ \advance\syllablecount by 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar i% % 04
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aI}%
+ \else% % Final Form
+ \if\previouschar b%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer iY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer I}%
+ \fi
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ai}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer I}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \fi
+ \fi
+ \fi
+ \advance\syllablecount by 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar u% % 05
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ao|}%
+ \else% % Final Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \fi
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ao}%
+ \else% % Medial Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer o}%
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar\u@mlaut% % 06
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ab}%
+ \else% % Final Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \fi
+ \fi%
+ \else%
+ \ifpreviousisboundary%( % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aoi}%
+ \else% % Medial Form
+ \ifnum\syllablecount>0
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer o}%
+ \fi
+ \fi
+ \else
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer o}%
+ \fi
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \or
+ %\t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \fi
+ \fi
+ \fi%)
+ \fi%)
+ \advance\syllablecount by 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar o% % 07
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ao}%
+ \else% % Final Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \fi
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ao}%
+ \else% % Medial Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer o}%
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar\o@mlaut% % 08
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aoY}%
+ \else% % Final Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \fi
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @aoi}%
+ \else% % Medial Form
+ \ifnum\syllablecount>0
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer O}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer o}%
+ \fi
+ \fi
+ \else
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer Oi}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oi}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \advance\syllablecount by 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar n% % 09
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @n}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @n}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @a}%
+ \fi
+ \else% % Medial Form
+ \iffollowingisvowel
+ \ifcase\thisfvs
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer V}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer n}%
+ \fi
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer a}%
+ \fi
+ \else
+ \iffollowingispseudoboundary
+ \if\followingchar -%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer e-}%
+ \fi
+ \else
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer a}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer n}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar l% % 10
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @l}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer L}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @l}%
+ \else% % Medial Form
+ \ifpreviousisround
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer Q}%
+ \else
+ \ifnum\raisel>0
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \char152}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer L}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer l}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar r% % 11
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer r}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer R}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer r}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer R}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer r}%
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar g% % 12
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer ga}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer iE}%
+ \fi%
+ \else%
+ \iffollowingforcesround % Initial and Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer g}%
+ \else
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer iE}%
+ \else
+ \iffollowingisvowel
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer I}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer N}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar -% % 13
+ \iffollowingisboundary
+ \ifpreviousisboundary % Isolated Form
+ \char32 %
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \hskip0.33ex}%
+ \fi
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \hskip0.33ex}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar G% % 14
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer XY}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aG}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer X}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer x}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer g}%
+ \fi
+ \raisel=3 %
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \if\followingchar -%
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aG}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aG=}%
+ \fi
+ \else
+ \iffollowingisvowel
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer nn}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aa}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer g}%
+ \fi
+ \else
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aa}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer nn}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar b% % 15
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oE}%
+ \fi%
+ \else%
+ \iffollowingforcesround % Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer B}%
+ \else%
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oE}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer b}%
+ \fi
+ \fi%
+ \fi%
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar d% % 16
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer tY}%
+ \else \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \fi%
+ \else% % Final Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oe}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \else \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \fi%
+ \fi
+ \else
+ \ifpreviousisboundary% % Initial Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer t}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer d}%
+ \else \t@kenbuffer=\expandafter{\the\t@kenbuffer d}%
+ \fi%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oe}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \else \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \fi%
+ \else
+ \iffollowingisvowel
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer d}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer oa}%
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar t% % 17
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer tY}%
+ \else% % Final Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer dY}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer tY}%
+ \fi%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer t}%
+ \else% % Medial Form
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer d}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer t}%
+ \fi%
+ \fi
+ \fi%)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar s% % 18
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @s}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer S}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @s}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer S}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer s}%
+ \fi
+ \fi
+ \fi
+ \raisel=3 %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar y% % 19
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer y}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer yY}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer y}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer I}%
+ \else
+ \if\followingchar i%
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer y}%
+ \fi%
+ \else
+ \if\previouschar i%
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer y}%
+ \fi
+ \else
+ \ifcase\thisfvs
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer y}%
+ \or
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar z% % 20
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer zY}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer i}%
+ \else% % Medial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer z}%
+ \fi
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar k% % 21
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer ga}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer iE}%
+ \fi%
+ \else%
+ \iffollowingforcesround % Initial and Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer g}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer I}%
+ \fi
+ \fi
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar x% % 22
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer xY}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aG}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer x}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aG}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer aa}%
+ \fi
+ \fi
+ \fi%)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar m% % 23
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @m}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer M}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @m}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer M}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer m}%
+ \fi
+ \fi
+ \fi%)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar S% % 24
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @q}%
+ \else% % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer T}%
+ \fi%
+ \else%
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @q}%
+ \else% % Medial Form
+ \iffollowingispseudoboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer T}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer q}%
+ \fi
+ \fi
+ \fi%)
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar c% % 25
+ \iffollowingisboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer cY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer c}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar =% % 26
+ \iffollowingisboundary
+ \ifpreviousisboundary % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer =}%
+ \else
+ %\t@kenbuffer=\expandafter{\the\t@kenbuffer \hskip0.33ex}%
+ %\hskip0.33ex
+ \fi
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer \hskip0.33ex}%
+ %\hskip0.33ex
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar v% % 27
+ \iffollowingisboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer vY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer v}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar h% % 28
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ahY}%
+ \else % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer hY}%
+ \fi%
+ \else
+ \ifpreviousisboundary% % Initial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer @ah}%
+ \else % Medial Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer h}%
+ \fi
+ \fi%)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar p% % 29
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer p}%
+ \else % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer pE}%
+ \fi%
+ \else%
+ \iffollowingforcesround%% Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer P}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer p}%
+ \fi
+ \fi%)
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar K% % 30
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer k}%
+ \else % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer kE}%
+ \fi%
+ \else%
+ \iffollowingforcesround%% Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer K}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer k}%
+ \fi
+ \fi%)
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar f% % 31
+ \iffollowingisboundary%(
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer f}%
+ \else % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer fE}%
+ \fi%
+ \else%
+ \iffollowingforcesround%% Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer F}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer f}%
+ \fi
+ \fi%)
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar Q% % 32
+ \iffollowingisboundary%
+ \ifpreviousisboundary% % Isolated Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer w}%
+ \else % Final Form
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer wE}%
+ \fi%
+ \else%
+ \iffollowingforcesround%% Medial Forms
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer W}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer w}%
+ \fi
+ \fi
+ \raisel=3
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar Z% % 33
+ \iffollowingisboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer ZY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer Z}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar C% % 34
+ \iffollowingisboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer CY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer C}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar j% % 35
+ \iffollowingisboundary
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer jY}%
+ \else
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer j}%
+ \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar |% % 36
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer |}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else \if\thischar *% % 37
+ \t@kenbuffer=\expandafter{\the\t@kenbuffer *}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else%
+ \the\t@kenbuffer\thischar\t@kenbuffer={}%
+ % Output anything else which
+ % is not a mongolian character.
+ %
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+ %\showtriple%
+ \fi%)<- vi jump tag for loopcount
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \advance\loopcount by 1
+ %
+ \ifnum\raisel>0\advance\raisel by -1 \fi
+ %
+ \let\previousfvs\thisfvs % downcycle FVS
+ %
+ \let\previouschar\thischar % downcycle
+ \let\thischar\followingchar % character
+ %
+ \ifthisisround\previousisroundtrue % downcycle
+ \else\previousisroundfalse\fi % is round
+ \iffollowingisround\thisisroundtrue
+ \else\thisisroundfalse\fi%
+ %
+ \ifthisforcesround\previousforcesroundtrue % downcycle
+ \else\previousforcesroundfalse\fi % forces round
+ \iffollowingforcesround\thisforcesroundtrue
+ \else\thisforcesroundfalse\fi%
+ %
+ \ifthisisboundary\previousisboundarytrue % downcycle
+ \else\previousisboundaryfalse\fi % boundary
+ \iffollowingisboundary\thisisboundarytrue
+ \else\thisisboundaryfalse\fi%
+ %
+ \ifthisispseudoboundary\previousispseudoboundarytrue % downcycle
+ \else\previousispseudoboundaryfalse\fi % pseudo-
+ \iffollowingispseudoboundary\thisispseudoboundarytrue% boundaries
+ \else\thisispseudoboundaryfalse\fi%
+ %
+ \fi%)<- vi jump tag for detected FVS
+ %
+ }% End of evaluate definition
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \showtriple is used for debugging purposes. It shows every
+% letter surrounded by predecessor and follower, with Form
+% Variant Selector number indicated if present.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\showtriple{%
+ % show predecessor
+ \if\thischar\space\let\thischar *\fi%
+ \ifpreviousisboundary [\else (\fi%
+ \number\loopcount:
+ $_{\previouschar}%
+ ^{\ifnum\previousfvs>0 \number\previousfvs\fi}$%
+ %
+ % show present char and FVS
+ \thischar%
+ $^{\ifnum\thisfvs>0 \number\thisfvs\fi}$%
+ %
+ % show successor
+ $_{\followingchar}%
+ ^{\ifnum\followingfvs>0 \number\followingfvs\fi}$%
+ %
+ \iffollowingisboundary ]\else )\fi%
+ \ifthisisboundary\par\else\space\fi%
+ }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% We're done!
+%
+\endinput
+\def\mlsloaded{\yeshere}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The file mlstrans.tex ends here.
+%
+% O. Corff, (c) 1999, Ulaanbaatar, Beijing, Berlin
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/language/mongolian/montex/texinput/mnhyphen.tex b/language/mongolian/montex/texinput/mnhyphen.tex
new file mode 100644
index 0000000000..562e26bc95
--- /dev/null
+++ b/language/mongolian/montex/texinput/mnhyphen.tex
@@ -0,0 +1,583 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: mnhyphen.tex
+% Author: Oliver Corff and Dorjpalam Dorj
+% Date: February 26th, 1999 % mls.sty prevails
+% Version: \VersionRelease % see mls.sty!
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: The Mongolian Hyphenation Pattern File
+% to be used together with LMC encoding.
+% Hyphenation exceptions should be stored
+% in mnhyphex.tex.
+%
+% It may well be possible that the hyphenation
+% patterns given below are incomplete or plainly
+% wrong. It should also be mentioned that TeX
+% sometimes ignores correct hyphenation information
+% and makes up its own mind. Anyway, please con-
+% sider all hyphenation data strictly experimental
+% and *not yet stable*.
+%
+% This file is mostly based on Cäwäl's Mongol
+% Xälniï Towq Taïlbar Tol' (MXTTT for short;
+% ``Short Explanatory Dictionary of Mongolian)
+% but contains a few other sources as well.
+%
+% Comments, corrections and suggestions are
+% highly appreciated and should be directed to
+% the authors at corff@zedat.fu-berlin.de
+%
+% U/B/B, February 1999
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\message{mnhyphen.tex - Hyphenation Patterns for
+ Xalx Mongolian, LMC Encoding}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The following code is closely modelled after russian.sty and
+% its accompanying hyphenation file.
+%
+% We first must make some of the non-ASCII range characters known
+% as characters to TeX, and include case mapping information.
+%
+\begingroup
+\catcode`^^e4=11 \uccode`^^e4=`^^e4 \lccode`^^e4=`^^e4 % \"a
+\catcode`^^eb=11 \uccode`^^eb=`^^eb \lccode`^^eb=`^^eb % \"e
+\catcode`^^ef=11 \uccode`^^ef=`^^ef \lccode`^^ef=`^^ef % \"i
+\catcode`^^f6=11 \uccode`^^f6=`^^f6 \lccode`^^f6=`^^f6 % \"o
+\catcode`^^fc=11 \uccode`^^fc=`^^fc \lccode`^^fc=`^^fc % \"u
+\catcode`^^b2=11 \uccode`^^b2=`^^b2 \lccode`^^b2=`^^b2 % \sh
+\catcode`^^b3=11 \uccode`^^b3=`^^b3 \lccode`^^b3=`^^b3 % \xtu
+\catcode`^^b4=11 \uccode`^^b4=`^^b4 \lccode`^^b4=`^^b4 % \zln
+\catcode`^^b6=11 \uccode`^^b6=`^^b6 \lccode`^^b6=`^^b6 % \ya
+\catcode`^^b5=11 \uccode`^^b5=`^^b5 \lccode`^^b5=`^^b5 % \yu
+\patterns{%
+.aa2
+.in2
+.o^^eb2
+.oo2
+.^^f6^^f62
+.uu2
+.^^fc^^fc2
+.^^e4^^e42
+aa2j
+a1d
+a2di
+a^^ef2b
+a1p
+asaa3
+a1t
+a1f
+a1x
+a1c
+a3c2d
+a1q
+a1^^b2
+a1^^b5
+a2^^b6al
+1ba
+ba^^ef2du
+ba3mi
+2b1g
+1bi
+2bl
+2b1r
+bu3j
+1wa
+w1b
+2w1g
+2w1d
+1we
+we2d
+w1j
+w1z
+1wi
+2w1l
+2w1n
+1wo
+1w^^f6
+2w1r
+w1s
+2w1t
+1wu
+1w^^fc
+w1c
+2w1^^b2
+1w^^e4
+1w^^b6
+1ga
+g1b
+g1w
+2g1g
+2g1d
+2g1j
+1gi
+2g1l
+2g1m
+2g1n
+1go
+go2di
+1g^^f6
+g1r
+g2ram
+3gre
+2gs
+2g1t
+1gu
+guuliu2
+1g^^fc
+g1x
+g1c
+2g1q
+2g1^^b2
+g3^^b2i
+1gy
+1g^^e4
+g^^e42n^^fc
+g^^b6l3
+da1wy
+d1b
+2d1w
+2d1g
+2d1d
+2dek
+2d1j
+dia1
+2dit
+2d1l
+2d1m
+2d1n
+2d1r
+2d1s
+2d1t
+3d^^fc^^fc.
+2d1x
+2d1c
+2d1q
+2d^^b3
+2d^^b4
+e1b
+e1w
+e1g2
+e1d
+e1z
+e1i
+e1l
+e1m
+eo1
+e1p
+e1re
+e3t2ru
+e1x
+e1c
+eci1
+e1^^b2
+^^eb1d
+^^eb1z
+^^ebo2q
+^^ebx2
+1ja
+2j1w
+2j1g
+2j1d
+2j1j
+1ji
+3jig
+3jin
+2j1l
+2j1m
+2j1n
+1j^^f6
+2j1r
+2j1s
+2j1t
+1ju
+1j^^fc
+1jy
+1j^^e4
+1za
+2z1w
+2z1g
+2z1d
+2z1j
+1zi
+2z1l
+2z1m
+2z1n
+1zo
+1z^^f6
+2z1r
+2z1s
+2z1t
+1zu
+1z^^fc
+z1x
+z1c
+z1q
+2z1^^b2
+1zy
+2z^^b4
+1z^^e4
+ig2ra
+i1d
+i3dal
+i2dy
+i1j
+i1z
+il2di
+is3p
+i1t
+i1x
+i1c
+i1^^b2
+^^ef1b
+^^ef1w
+^^ef1g
+^^ef2gr
+^^ef1d
+^^ef1j
+^^ef1p
+^^ef2pl
+^^ef1r
+^^ef1s
+^^ef1t
+^^ef1x
+^^ef1c
+^^ef1q
+1ka
+1ke
+k1j
+1ki
+k1k
+k1l
+k1n
+ko1o
+ks3p
+k1t
+1ku
+2k1c
+1k^^e4
+1la
+2l1b
+l1w
+2l1g
+2l1d
+1le
+2l1j
+2l1z
+1li
+2l1l
+lli1
+2l1m
+2ln
+1lo
+lo2d
+1l^^f6
+2l1r
+2l1s
+2l1t
+1lu
+1l^^fc
+2l1x
+2l1c
+2lq
+2l^^b2
+2l^^b3
+1ly
+2l^^b4
+1l^^e4
+l1^^b5
+1ma
+m1b
+m1g
+m1d
+1me
+1mi
+2min
+m1k2
+m1l
+m1n
+1mo
+1m^^f6
+2m1p
+m1r
+1mu
+1m^^fc
+m1f
+m1x
+m1c
+m1^^b2
+1my
+1m^^e4
+1na
+n1b
+n1w
+n1g
+n2gr
+ng2re
+n1d
+1n^^ebwrl % The occasional Russian loan
+1ni
+n1k
+n1l
+n1m
+1no
+1n^^f6
+n1p
+n1s
+n3s2d
+n1t
+1nu
+1n^^fc
+n1x
+n1c
+1ny
+1n^^e4
+n1^^b6
+o1a
+o1b
+o1g2r
+o1d
+o1e
+o1j
+o1ne
+on3st
+on3t
+o1p2
+o2pe
+o1sp
+o1t
+o1f
+o1x
+o1c
+o1^^e4
+^^f61d
+^^f61j
+^^f62ri
+^^f61x
+^^f61c
+^^f61q
+2p1d
+po1
+po3s
+2p1p
+2pra
+p2ro
+2p1t
+1ra
+2rab
+r1b
+r1w
+2r1g
+2r1d
+1ri
+2r1l
+r1m
+2r1n
+1ro
+1r^^f6
+r1p
+r1r
+2r1s
+2r1t
+1ru
+2ruk
+1r^^fc
+2r1x
+r1c
+2rq
+2r1^^b2
+1ry
+1r^^e4
+1sa
+s1b
+2s1w
+2s1g
+2s1d
+1se
+2s1j
+s1z
+1si
+1sk2
+2skw
+2s1l
+2s1m
+2s1n
+1so
+1s^^f6
+s1p
+s2pe
+s2pi
+2s1r
+2s1s
+2s1t
+1su
+1s^^fc
+s1f
+2s1x
+s1c
+2s1q
+s3^^b22t
+1sy
+1s^^e4
+1ta
+2t1b
+2t1w
+2t1g
+2t1d
+2t1j
+2t1z
+1ti
+2t1l
+2t1m
+2t1n
+1to
+1t^^f6
+2t1r
+t2ro
+1tru
+2t1s
+2t1t
+1t^^fc
+2t1x
+2t1c
+2t1q
+2t1^^b2
+1ty
+1t^^e4
+u1d
+u2ji
+u1z
+u1l
+u1t
+u1f
+u1x
+u1c
+u1^^b2
+^^fc1d
+^^fc1z
+^^fc2z^^e4
+^^fc1l
+^^fc1p
+^^fcs2d
+^^fc1x
+^^fc1c
+^^fc1^^b2
+f1d
+f1m
+1fo
+1xa
+xaa2dy
+xa2^^b5
+2x1b
+2x1w
+2x1g
+2x1d
+2x1j
+2x1z
+1xi
+xi2da
+2xi^^b4
+2x1l
+2x1m
+2x1n
+1xo
+1x^^f6
+2x1r
+2x1s
+2x1t
+1xu
+xu3j
+1x^^fc
+2x1x
+2x1c
+2xq
+2x1^^b2
+1xy
+2x^^b4
+1x^^e4
+1ca
+2c1w
+2c1g
+2c1d
+2c1j
+2c1l
+2c1m
+2c1n
+2c1r
+2c1s
+2c1t
+2c1x
+2c1q
+2c^^b3
+1qa
+q1w
+2q1g
+2q1d
+1qi
+2q1l
+2q1m
+2q1n
+1qo
+2q1r
+2q1s
+2q1t
+1qu
+1q^^fc
+2q1x
+1q^^e4
+1^^b2a
+^^b21b
+2^^b21w
+2^^b21g
+2^^b21d
+2^^b21j
+1^^b2i
+2^^b21k
+2^^b21l
+2^^b21m
+2^^b21n
+1^^b2o
+1^^b2^^f6
+2^^b21r
+2^^b21s
+2^^b21t
+1^^b2u
+1^^b2^^fc
+^^b2^^fc^^fc3l^^b4
+2^^b21x
+2^^b21q
+1^^b2^^e4
+^^b31e2
+^^b31^^eb2
+^^b31^^b62
+y1g
+y1s
+y1x
+^^b41b
+^^b41d
+^^b41k
+^^b41t
+^^b41x
+^^b41c
+^^b41q
+^^b41^^b2
+^^b41^^b62
+^^e41d
+^^e41j
+^^e41z
+^^e42n^^e4xi
+^^e41x
+^^e41c
+2^^b5d
+1^^b6a
+^^b61d
+^^b6n^^b22d
+^^b61t
+^^b61x
+^^b61^^b2
+}
+\endgroup
diff --git a/language/mongolian/montex/texinput/mnhyphex.tex b/language/mongolian/montex/texinput/mnhyphex.tex
new file mode 100644
index 0000000000..cad373f448
--- /dev/null
+++ b/language/mongolian/montex/texinput/mnhyphex.tex
@@ -0,0 +1,24 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: mnhyphex.tex
+% Author: Oliver Corff
+% Date: February 21th, 1999
+% Version: \VersionRelease
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: The Mongolian Hyphenation Exception File
+% used for storing individual hyphenation
+% exceptions.
+%
+% This file is at present not loaded with initex
+% in order to allow for ad hoc modifications and
+% experiments.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{mnhyphex}[Mongolian Hyphenation Exceptions for MonTeX]
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\hyphenation{%
+}
diff --git a/language/mongolian/montex/texinput/mtdocmac.tex b/language/mongolian/montex/texinput/mtdocmac.tex
new file mode 100644
index 0000000000..a45605cd0a
--- /dev/null
+++ b/language/mongolian/montex/texinput/mtdocmac.tex
@@ -0,0 +1,185 @@
+%%
+%% The following commands and command groups are only used
+%% for abbreviating the typing work of the documentation.
+%%
+%% Special thanks to Dan Luecking who suggested to add a \kern0pt
+%% after \exa and \exb; without these, pdfelatex and elatex would
+%% result in a different page layout!
+%%
+\newcommand\exa{\nopagebreak \begin{flushleft}\smallskip \nopagebreak
+ \begin{minipage}[t]{6cm}\sloppy\kern0pt}%
+\newcommand\exb{\end{minipage}\kern 1cm\begin{minipage}[t]{8cm}\sloppy\kern0pt}%
+\newcommand\exc{\end{minipage}\kern -3cm \smallskip\end{flushleft}}%
+%
+%\renewcommand{\MonTeX}{Mon\TeX\ \textsf{Mongolian for \LaTeX}}
+%
+% The commands \cmd and \cmda take one argument, check whether
+% they've seen it before, and if not, create a label with the
+% argument's name. Otherwise, they confine themselves to putting the
+% argument in the margin and making it stand out \texttt-like, which
+% is the default behaviour even if a label is defined.
+%
+% The difference between \cmd and \cmda is simple. \cmd accepts a
+% command name _without_ the leading backslash and prints it with
+% backslash. \cmda takes _arguments_ to other commands, environments
+% etc.
+%
+% The code was inspired by the acronym package.
+%
+\newcommand{\cmd}[1]{%
+ \expandafter\ifx\csname cmd@#1\endcsname\relax
+ \expandafter\gdef\csname cmd@#1\endcsname{#1}%
+ \label{cmd:#1}
+ % (new label: #1)
+ \else
+ % (label #1 already defined, do nothing!)
+ \fi
+ \texttt{\char92 #1}%
+ \marginpar{\texttt{\char92 #1}}%
+}
+%
+\newcommand{\cmda}[1]{%
+ \expandafter\ifx\csname cmda@#1\endcsname\relax
+ \expandafter\gdef\csname cmda@#1\endcsname{#1}%
+ \label{a:#1}
+ % (new label: a:#1)
+ \else
+ % (label #1 already defined, do nothing!)
+ \fi
+ \texttt{#1}%
+ \marginpar{\texttt{#1}}%
+}
+%
+\newcommand{\refcmd}[1]{%
+ \texttt{\char92 #1}
+ (see section~\ref{cmd:#1}, page~\pageref{cmd:#1})
+}
+%
+\newcommand{\refcmda}[1]{%
+ \texttt{#1}
+ (see section~\ref{a:#1}, page~\pageref{a:#1})
+}
+%
+\ifthenelse{\value{GreekGammaAvailable}=1}{%
+ \def\IfG#1{#1}%
+ }
+ {\def\IfG#1{}%
+ }
+%
+\newcommand{\Soyombo}{\textsc{Soyombo}}
+\newcommand{\Zanabazar}{\textsc{Zanabazar}}
+\newcommand{\XD}{\textsc{X\"awt\"a\"a D\"orw\"oljin}}
+\newcommand{\LMA}{\textsf{LMA}}
+\newcommand{\LMC}{\textsf{LMC}}
+\newcommand{\LMO}{\textsf{LMO}}
+\newcommand{\LMS}{\textsf{LMS}}
+\newcommand{\LMT}{\textsf{LMT}}
+\newcommand{\LMU}{\textsf{LMU}}
+\newcommand{\LMX}{\textsf{LMX}}
+\newcommand{\Tone}{\textsf{T1}}
+\newcommand{\Ttwo}{\textsf{T2}}
+\newcommand{\TW}{{\mnr S\"UXBAT}}
+\newcommand{\WT}{{\rnm S\"UXBAT}}
+\newcommand{\Tw}{{\mnr S\"uxbat}}
+\newcommand{\Wt}{{\rnm S\"uxbat}}
+\newcommand{\WtSh}{{\rnm S\"uxbat \IfG{\Sh a\g dur}}}
+
+\newcommand{\ff}[1]{\fontfamily{#1}}
+\newcommand{\fs}[1]{\fontseries{#1}}
+\newcommand{\fsh}[1]{\fontshape{#1}}
+
+\newcommand{\tttt}[1]{\texttt{\char92#1}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The Captions List is helpful for presenting the captions in
+% various languages.
+%
+\newcommand{\CaptionsList}[1]{%
+ \begin{center}
+ \begin{tabular}{l|l|l}
+ Command & English & #1 \\
+ \hline
+ \tttt{prefacename} & Preface & \prefacename\\
+ \tttt{refname} & References & \refname\\
+ \tttt{abstractname} & Abstract & \abstractname\\
+ \tttt{bibname} & Bibliography & \bibname\\
+ \tttt{chaptername} & Chapter & \chaptername\\
+ \tttt{appendixname} & Appendix & \appendixname\\
+ \tttt{contentsname} & Contents & \contentsname\\
+ \tttt{listfigurename} & List of Figures& \listfigurename\\
+ \tttt{listtablename} & List of Tables& \listtablename\\
+ \tttt{indexname} & Index & \indexname\\
+ \tttt{figurename} & Figure & \figurename\\
+ \tttt{tablename} & Table & \tablename\\
+ \tttt{partname} & Part & \partname\\
+ \tttt{enclname} & encl & \enclname\\
+ \tttt{ccname} & cc & \ccname\\
+ \tttt{headtoname} & To & \headtoname\\
+ \tttt{pagename} & Page & \pagename\\
+ \tttt{seename} & see & \seename\\
+ \tttt{alsoname} & see also & \alsoname\\
+ \end{tabular}
+ \captionsenglish
+ \caption{Captions in #1%
+ \label{#1captions}}
+ \end{center}%
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The following command creates the structure of each entry in the
+% Command Reference.
+%
+\newcommand{\MyEnvironment}[8]{%
+ \hrule
+ \section[\texttt{\hskip1em#1}]%
+ {\texttt{#1}}% Command Name
+ \begin{description}
+ \ifthenelse{\equal{#2}{-}}%
+ {}{\item [Synopsis] \texttt{#1}#2}
+ \item [Function] \emph{(Environment \emph{or} Option) }#3 % Function
+ \ifthenelse{\equal{#5}{-}}%
+ {}{\item [Limitations] #5} % Limitations
+ \ifthenelse{\equal{#6}{-}}%
+ {}{\item [Comments] #6} % Comments
+ \ifthenelse{\equal{#7}{-}}%
+ {}{\item [Related commands] \texttt{#7}}% See also
+ \ifthenelse{\equal{#8}{-}}%
+ {}{\item [See page] \pageref{#8}}% See page
+ \ifthenelse{\equal{#4}{-}}%
+ {}{\item [Example]}
+ \end{description}
+ \ifthenelse{\equal{#4}{+}}{\vspace{-6mm}}{}%
+ }
+%
+\newcommand{\MyCommand}[8]{%
+ \hrule
+ \section[\hskip1em\tttt{#1}]%
+ {\tttt{#1}}% Command Name
+ \begin{description}
+ \ifthenelse{\equal{#2}{-}}%
+ {}{\item [Synopsis] \tttt{#1}#2}
+ \item [Function] \emph{(Command) }#3 % Function
+ \ifthenelse{\equal{#5}{-}}%
+ {}{\item [Limitations] #5} % Limitations
+ \ifthenelse{\equal{#6}{-}}%
+ {}{\item [Comments] #6} % Comments
+ \ifthenelse{\equal{#7}{-}}%
+ {}{\item [Related commands] \texttt{#7}}% See also
+ \ifthenelse{\equal{#8}{-}}%
+ {}{\item [See page] \pageref{#8}}% See page
+ \ifthenelse{\equal{#4}{-}}%
+ {}{\item [Example]}
+ \end{description}
+ \ifthenelse{\equal{#4}{+}}{\vspace{-6mm}}{}%
+ }
+%
+\endinput
+%
+% The file mtdocmac.tex ends here. Do not expect any secret to
+% follow!
+%
+% OC, Berlin, Beijing, Ulaanbaatar 2001
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
diff --git a/language/mongolian/montex/texinput/rlbicig.sty b/language/mongolian/montex/texinput/rlbicig.sty
new file mode 100644
index 0000000000..843d6bb051
--- /dev/null
+++ b/language/mongolian/montex/texinput/rlbicig.sty
@@ -0,0 +1,191 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: rlbicig.sty
+% Date: October 1st, 2001
+% Author: Oliver Corff
+% (c) 2001 Ulaanbaatar, Macau, Berlin
+%
+% No options.
+%
+% NB: This package requires eLaTeX2e!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Identification
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{rlbicig}
+ [2001/10/01 v0.8 Horizontal/Vertical Support for mls]
+%
+%
+% Preliminary declarations
+%
+% Well, I think, I'll shamelessly copy code from
+% the Hebrew package and redefine a few things:
+%
+% \eL
+% \R
+%
+% \RtoLtrue means that the main mode is currently Mongolian, Manju RL.
+% \RtoLfalse means that the main mode is currently Latin, Cyrillic LR.
+
+%\newif\ifRtoL
+
+% Change the main mode to Hebrew RL or English LR (default mode).
+% This is the only place the \ifRtoL value changes. Inner mode changes
+% with \eL{} \R{} \rmbox{} and \lmbox{} does not change it.
+%
+\def\setRtoL{\RtoLtrue\beginR}
+\def\setLtoR{\RtoLfalse\beginL}
+
+% Macros for changing direction, taken from TUGboat.
+% Usage: \eL{English Text} and \R{Mongol Bicig}.
+% Numbers should also be enclosed in \eL{}, as in \eL{123}.
+
+\let\next=\
+\def\eL{\protect\pL}
+\def\pL{\protect\afterassignment\moreL \let\next= }
+\def\moreL{\bracetext \aftergroup\endL \beginL}
+\def\R{\protect\pR}
+\def\pR{\protect\afterassignment\moreR \let\next= }
+\def\moreR{\bracetext \aftergroup\endR \beginR}
+\def\bracetext{\ifcat\next{\else\ifcat\next}\fi
+ \errmessage{Missing left brace has been substituted}\fi \bgroup}
+\everydisplay{\ifRtoL\aftergroup\beginR\fi }
+%\everybox{\ifRtoL\aftergroup\beginR\fi }
+
+% Take care of Hebrew indentation in every paragraph.
+%
+% Changes:
+% \noindent for Hebrew. Yaniv.
+% What about Mongol Bicig?
+%
+\def\bicigpar{\ifRtoL\kern-\parindent\beginR\indent\fi}
+\let\oldeverypar\everypar
+\def\everypar#1{\oldeverypar{\bicigpar#1}}
+\let\oldnoindent\noindent
+\def\noindent{\ifRtoL\indent\unskip\else\oldnoindent\fi}
+
+% Additions by Yaniv:
+% Useful vbox commands. All text in math formulas is best enclosed in these.
+% ex: $P=\{x|\lmbox{The is no } y \lmbox{ such that } y \lmbox{ divides }x\}$
+% $P=\{x|x\rmbox{ Mehalek et } y\rmbox{ Kach She } y\rmbox{ Lo Kayam }\}$
+% \mbox{} is useless for both cases, since it typesets in LR Hebrew.
+
+\newcommand{\rmbox}[1]{\mbox{\R{#1}}}
+\newcommand{\lmbox}[1]{\mbox{\eL{#1}}}
+
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% List environments %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% List environments in Hebrew, are ticked and indented from the right
+% instead of from the left. All the definitions that caused indentation
+% are revised for Hebrew. LaTeX keeps track on the indentation with the
+% \leftmargin and \rightmargin values. The changes below are mostly to
+% exchange these values in Hebrew mode.
+%
+\def\descriptionlabel#1{\hspace\labelsep \textbf{#1}}
+\def\description{\list{}{\labelwidth\z@ \itemindent-
+ \ifRtoL\rightmargin\else\leftmargin\fi
+ \let\makelabel\descriptionlabel}}
+\let\enddescription\endlist
+
+\def\@verbatim{%
+ \let\do\@makeother \dospecials%
+ \obeylines \verbatim@font \@noligs}
+
+\def\@listi{\ifRtoL\rightmargin\leftmargini\leftmargin=0pt%
+ \else\leftmargin\leftmargini
+ \fi
+ \labelwidth\leftmargini\advance\labelwidth-\labelsep
+ \topsep 4pt plus 2pt minus 1pt
+ \parsep 2pt plus 1pt minus 1pt
+ \itemsep \parsep
+ }
+\def\@listI{\ifRtoL\rightmargin\leftmargini\leftmargin=0pt%
+ \else\leftmargin\leftmargini
+ \fi
+ \labelwidth\leftmargini\advance\labelwidth-\labelsep
+ \topsep 4pt plus 2pt minus 1pt
+ \parsep 2pt plus 1pt minus 1pt
+ \itemsep \parsep
+ }
+%
+\def\@listii{\ifRtoL
+ \rightmargin\leftmarginii
+ \leftmargin=0pt
+\else
+ \leftmargin\leftmarginii
+\fi
+\labelwidth\leftmarginii\advance\labelwidth-\labelsep
+\topsep 4pt plus 2pt minus 1pt
+\parsep 2pt plus 1pt minus 1pt
+\itemsep \parsep
+}
+%
+\def\@listiii{%
+ \ifRtoL
+ \rightmargin\leftmarginiii
+ \leftmargin=0pt
+ \else
+ \leftmargin\leftmarginiii
+ \fi
+ \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+ \topsep 2pt plus 1pt minus 1pt
+ \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
+ \itemsep \parsep
+}
+%
+\def\@listiv{\ifRtoL
+\rightmargin\leftmarginiv
+\leftmargin=0pt
+\else\leftmargin\leftmarginiv
+\fi
+\labelwidth\leftmarginiv\advance\labelwidth-\labelsep
+\topsep 2pt plus 1pt minus 1pt
+\parsep \z@ \partopsep 1pt plus 0pt minus 1pt
+\itemsep \parsep}
+\def\@listv{\ifRtoL
+\rightmargin\leftmarginv
+\leftmargin=0pt
+\else\leftmargin\leftmarginv
+\fi
+\labelwidth\leftmarginv\advance\labelwidth-\labelsep
+\topsep 2pt plus 1pt minus 1pt
+\parsep \z@ \partopsep 1pt plus 0pt minus 1pt
+\itemsep \parsep}
+\def\@listvi{\ifRtoL
+\rightmargin\leftmarginvi
+\leftmargin=0pt
+\else\leftmargin\leftmarginvi
+\fi
+\labelwidth\leftmarginvi\advance\labelwidth-\labelsep
+\topsep 2pt plus 1pt minus 1pt
+\parsep \z@ \partopsep 1pt plus 0pt minus 1pt
+\itemsep \parsep}
+
+\renewcommand{\footnoterule}{%
+\vspace*{-3pt}%
+ \ifRtoL
+ \rule{.2\columnwidth}{0.4pt}\
+ \else\rule{.4\columnwidth}{0.4pt}\
+ \fi
+\vspace*{2.6pt}
+}
+\@ifclassloaded{article}{% article
+ \let\original@maketitle\maketitle
+ \renewcommand{\maketitle}{
+ \let\original@newpage\newpage
+ \let\newpage\relax
+ \original@maketitle
+ \let\newpage\original@newpage
+ }}{ % else all other classed
+ }
+
+% Options
+% No options with this package.
+%
+% No More declarations
+%
+% End of file `rlbicig.sty'.
diff --git a/language/mongolian/montex/texinput/russian.def b/language/mongolian/montex/texinput/russian.def
new file mode 100644
index 0000000000..796b059860
--- /dev/null
+++ b/language/mongolian/montex/texinput/russian.def
@@ -0,0 +1,67 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: Russian.tex
+% Author: Oliver Corff
+% Date: June 1st, 1998
+% Version: 0.2
+% Source: Russian.sty
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Russian captions
+%
+% Note: This file draws *HEAVILY* from the file
+% <russian.sty> (numerous authors, see comments)!
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+\def\captionsrussian{%
+ \def\prefacename {\xalx{Predislowie}} %{Orshil}
+ \def\refname {\xalx{Literatura}} %{Ashiglasan nom}
+ \def\abstractname {\xalx{Annotaciya}} %{Towqlol}
+ \def\bibname {\xalx{Literatura}} %{Nom z"u"i}
+ \def\chaptername {\xalx{Glawa}} %{B"ul"ag}
+ \def\appendixname {\xalx{Prilojenie}} %{Xawsralt}
+ % for books -- %{}
+ \def\contentsname {\xalx{Oglawlenie}} %{Garqig}
+ % for articles etc.-- %{}
+ %\def\contentsname {\xalx{Soderjanie}} %{Aguulga}
+ \def\listfigurename{\xalx{Spisok risunkow}} %{Zurgi"in jagsaalt}
+ \def\listtablename {\xalx{Spisok tablic}} %{X"usn"agti"in jagsaalt}
+ \def\indexname {\xalx{Predmetny"i ukazatel\i}} %{B"ugd x"alx"a"as}
+ \def\figurename {\xalx{Ris.}} %{Zurag}
+ \def\tablename {\xalx{Tablica}} %{X"usn"agt}
+ \def\partname {\xalx{Qast\i}} %{B"ul"ag}
+ \def\enclname {\xalx{wkl.}} %{Oruulax}
+ \def\ccname {\xalx{iz}} %{}
+ \def\headtoname {\xalx{w}} %{}
+ \def\pagename {\xalx{str.}} %{Xuudas}
+ \def\seename {\xalx{sm.}} %{"Uz}
+ \def\alsoname {\xalx{sm.~takje}} %{M"on "uz}
+}
+\def\MonthRussian{\ifcase\month%
+ \or yanwarya% January
+ \or fewralya% February
+ \or marta% March
+ \or aprelya% April
+ \or maya% May
+ \or iyunya% June
+ \or iyulya% July
+ \or awgusta% August
+ \or sentyabrya% September
+ \or oktyabrya% October
+ \or noyabrya% November
+ \or dekabrya% December
+ \fi}
+\def\RussianToday{{\mnr \number\day~\MonthRussian~\number\year}}
+
+%
+\newcommand{\Asbuk}[1]{{\mnr\ifcase#1%
+ \or A\or B\or W\or G\or D\or E\or J\or Z%
+ \or I\or K\or L\or M\or N\or O\or P\or R%
+ \or S\or T\or U\or F\or X\or C\or Q\or {\Sh}%
+ \or \Qh\or \"A\or \Yu\or \Ya\else\@ctrerr\fi}}%
+%
+\newcommand{\asbuk}[1]{{\mnr\ifcase#1%
+ \or a\or b\or w\or g\or d\or e\or j\or z%
+ \or i\or k\or l\or m\or n\or o\or p\or r%
+ \or s\or t\or u\or f\or x\or c\or q\or {\sh}%
+ \or \qh\or \"a\or \yu\or \ya\else\@ctrerr\fi}}%
diff --git a/language/mongolian/montex/texinput/xalx.def b/language/mongolian/montex/texinput/xalx.def
new file mode 100644
index 0000000000..15de094b2b
--- /dev/null
+++ b/language/mongolian/montex/texinput/xalx.def
@@ -0,0 +1,69 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: Xalx.def
+% Author: Oliver Corff
+% Date: November 1st, 1998
+% Version: 0.2
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Conventional Labels, litteral numbering and date,
+% given in Modern Mongolian (Xalx)
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ------------------- identification -------------------
+%
+% The caption names are defined here.
+%
+\def\captionsxalx{%
+ \def\prefacename {{\mnr Or{\sh}il}}
+ %\def\prefacename {{\mnr "Omn"ox "ug}}
+ \def\refname {{\mnr A{\sh}iglasan nom}}
+ \def\abstractname {{\mnr Towqlol}}
+ \def\bibname {{\mnr Nom z"u"i}}
+ \def\chaptername {{\mnr B"ul"ag}}
+ \def\appendixname {{\mnr Xawsralt}}
+ \def\contentsname {{\mnr Garqig}}
+ %\def\contentsname {{\mnr Aguulga}}
+ \def\listfigurename {{\mnr Zurgi"in jagsaalt}}
+ \def\listtablename {{\mnr X"usn"agti"in jagsaalt}}
+ \def\indexname {{\mnr B"ugd x"alx"a"as}}
+ \def\figurename {{\mnr Zurag}}
+ \def\tablename {{\mnr X"usn"agt}}
+ \def\partname {{\mnr X"as"ag}}
+ \def\enclname {{\mnr Oruulax}}
+ \def\ccname {{\mnr }}
+ \def\headtoname {{\mnr }}
+ \def\pagename {{\mnr Xuudas}}
+ \def\seename {{\mnr "uzn"a "u"u}}
+ \def\alsoname {{\mnr m"on "uzn"a "u"u}}%
+}
+\newcommand{\XalxToday}{%
+{\mnr\number\year\space ony\space\ifcase\month%
+ \or n"agd"ug"a"ar% Januar
+ \or xo"erdugaar% Februar
+ \or gurawdugaar% M"arz
+ \or d"or"owd"ug"a"ar% April
+ \or tawdugaar% Mai
+ \or zurgaadugaar% Juni
+ \or doloodugaar% Juli
+ \or na"imdugaar% August
+ \or esd"ug"a"ar% September
+ \or arawdugaar% Oktober
+ \or arwan n"agd"ug"a"ar% November
+ \or arwan xo"erdugaar\fi% Dezember
+ \space saryn\space\number\day}}
+%
+%
+\newcommand{\Useg}[1]{{\mnr\ifcase#1%
+ \or A\or B\or W\or G\or D\or E\or \"E\or J%
+ \or Z\or I\or K\or L\or M\or N\or O\or \"O%
+ \or P\or R\or S\or T\or U\or \"U\or F\or X%
+ \or C\or Q\or {\Sh}\or \Qh\or \"A\or \Yu\or \Ya%
+ \else\@ctrerr\fi}}%
+%
+\newcommand{\useg}[1]{{\mnr\ifcase#1%
+ \or a\or b\or w\or g\or d\or e\or \"e\or j%
+ \or z\or i\or k\or l\or m\or n\or o\or \"o%
+ \or p\or r\or s\or t\or u\or \"u\or f\or x%
+ \or c\or q\or {\sh}\or \qh\or \"a\or \yu\or \ya%
+ \else\@ctrerr\fi}}%