summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/montex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-02 18:53:25 +0000
committerKarl Berry <karl@freefriends.org>2009-04-02 18:53:25 +0000
commitf35c8a8336c50073a0d2259793453d2f53d115c0 (patch)
treeb6ba76714770e4fa0fc4ddcfd19171feb48a9bbc /Master/texmf-dist/doc/latex/montex
parentf22ba9c58716477bc6e86f6508eb5e20a5422328 (diff)
montex subr fix + older updates (31mar09)
git-svn-id: svn://tug.org/texlive/trunk@12608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/montex')
-rw-r--r--Master/texmf-dist/doc/latex/montex/00readme (renamed from Master/texmf-dist/doc/latex/montex/00readme.1)0
-rw-r--r--Master/texmf-dist/doc/latex/montex/ANNOUNCE39
-rw-r--r--Master/texmf-dist/doc/latex/montex/EMTEX29
-rw-r--r--Master/texmf-dist/doc/latex/montex/HISTORY124
-rw-r--r--Master/texmf-dist/doc/latex/montex/INSTALL201
-rw-r--r--Master/texmf-dist/doc/latex/montex/MIKTEX47
-rw-r--r--Master/texmf-dist/doc/latex/montex/TODO9
-rw-r--r--Master/texmf-dist/doc/latex/montex/UPDATE12
-rw-r--r--Master/texmf-dist/doc/latex/montex/cyrename.pl81
-rw-r--r--Master/texmf-dist/doc/latex/montex/fontlist.pdfbin198168 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/montex/fontlist.tex8
-rw-r--r--Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.input3
-rw-r--r--Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.sh10
-rw-r--r--Master/texmf-dist/doc/latex/montex/mkmlsmf.pl85
-rw-r--r--Master/texmf-dist/doc/latex/montex/mnhyphen.tex583
-rw-r--r--Master/texmf-dist/doc/latex/montex/montex.xml63
-rw-r--r--Master/texmf-dist/doc/latex/montex/mtdocmac.tex185
-rw-r--r--Master/texmf-dist/doc/latex/montex/testfont.input3
-rw-r--r--Master/texmf-dist/doc/latex/montex/testfont.sh10
19 files changed, 1488 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/montex/00readme.1 b/Master/texmf-dist/doc/latex/montex/00readme
index dea85bbc0d3..dea85bbc0d3 100644
--- a/Master/texmf-dist/doc/latex/montex/00readme.1
+++ b/Master/texmf-dist/doc/latex/montex/00readme
diff --git a/Master/texmf-dist/doc/latex/montex/ANNOUNCE b/Master/texmf-dist/doc/latex/montex/ANNOUNCE
new file mode 100644
index 00000000000..409a78cf5bb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/ANNOUNCE
@@ -0,0 +1,39 @@
+ MonTeX provides Mongolian and Manju for the TeX/LaTeX
+ community.
+
+ Mongolian is a language spoken in North East Asia, namely
+ Mongolia and the Inner Mongol Autonomous Region of China.
+ Today, it is written in an extended Cyrillic alphabet in
+ Mongolia whereas the Uighur writing continues to be in
+ use in Inner Mongolia, though it is also, legally speaking,
+ the official writing system of Mongolia.
+
+ Manju is another language of North East Asia, belonging
+ to the Tungusic branch of the Altaic languages. Though
+ it is virtually not spoken anymore, it survives in
+ written form as Manju was the native language of the
+ rulers of the Qing dynasty (1644--1911) in China. Large
+ quantities of documents of the Imperial Archives survive,
+ as well as some of the finest dictionaries ever compiled
+ in Asia, like the Pentaglot, a dictionary comprising
+ Manju, Tibetan, Mongolian, Uighur and Chinese. MonTeX
+ provides all necessary characters for writing standard
+ Mongolian in Cyrillic and Classical (aka Traditional or
+ Uighur) writing, and Manju as well as transliterated
+ Tibetan texts, for which purpose a number of additional
+ characters was created.
+
+ In MonTeX, both Mongolian and Manju are entered in romanized
+ form. The retransliteration (from Latin input to Mongolian
+ and Manju output) is completely realized in TeX/Metafont so
+ that no external preprocessor is required.
+
+ Please note that most of the enhanced functions on MonTeX
+ require a working e-LaTeX environment. This is especially
+ true when compiling documents with Mongolian or Manju as
+ the main document language. It is recommended to choose
+ pdfelatex as the resulting PDF files are truly portable.
+ Vertical text generated by MonTeX is not supported in DVI.
+
+ This version of MonTeX makes all former versions of MonTeX
+ and ManjuTeX obsolete.
diff --git a/Master/texmf-dist/doc/latex/montex/EMTEX b/Master/texmf-dist/doc/latex/montex/EMTEX
new file mode 100644
index 00000000000..948f301b932
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/EMTEX
@@ -0,0 +1,29 @@
+REM This is the installation batch file skeleton for emtex
+REM users. Please check this file carefully whether it
+REM matches your system before you commit any changes.
+REM
+REM Please note that emtex does not support the complete
+REM range of MonTeX functions. Notably, RL vertical type-
+REM setting is not available.
+REM
+REM How to proceed:
+REM
+REM 1. Check for your drives and paths.
+REM 2. Correct the following md and copy statements where
+REM necessary.
+REM 3. Rename this file from EMTEX to EMTEX.BAT
+REM 4. Execute EMTEX.BAT
+
+ECHO Creating following directories:
+
+md \emtex\texinput\montex
+md \emtex\mfinput\mls
+md \emtex\tfm\mls
+md \emtex\doc\montex
+
+ECHO Copying contents into newly created directories:
+
+copy texinput\*.* \emtex\texinput\montex\
+copy mfinput\*.* \emtex\mfinput\mls\
+copy tfm\*.* \emtex\tfm\mls\
+copy doc\*.* \emtex\doc\montex\
diff --git a/Master/texmf-dist/doc/latex/montex/HISTORY b/Master/texmf-dist/doc/latex/montex/HISTORY
new file mode 100644
index 00000000000..66f3e89b0df
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/HISTORY
@@ -0,0 +1,124 @@
+Changes in MonTeX
+
+Implementation Level I
+
+Version 01
+
+October 1997: Cyrillic Font based on Nana Glonti's
+ and A. Samarin's work implemented
+
+
+Implementation Level II
+
+Version 02.01
+
+Summer/Fall 1998: The complete Cyrillic setup was
+ completely overhauled since the first attempt
+ was more or less broken.
+
+ Mongolian writing was added.
+
+ This version was never officially released and
+ circulated only among a handful of beta-testers.
+ (Or should we say: alpha-testers?).
+
+
+Implementation Level IIa
+
+Version 02.02
+
+January 1999: Lots of new ideas, such as -
+
+ - Mongolian currency sign `tugrig' created which
+ is a double-barred `t',
+
+ - Buryat language captions and date provided,
+ can be chosen with [buryat] as an option to mls
+
+ - Mongolian classical writing can be put in
+ vertical capsules within horizontal text,
+
+ - a simple retransliteration engine is installed
+ which accepts romanized input and combines
+ the correct presentation glyphs.
+
+ - Mongolian bicig glyphs overhauled where necessary.
+
+
+Version 02.03
+
+February 1999: minor nasty bugs removed, and -
+
+ - \PrettyMLS introduced which makes a nice gamma
+ out of G, regains umlauts, etc., shows special symbols
+ if needed.
+
+ - Documentation now complete with alphabetical
+ command reference.
+
+
+Version 03.03
+
+Mid February 1999: Complete character name mechanism overhaul -
+
+ - MonTeX conforms now with the LH encoding as far as
+ the glyph names are concerned.
+
+
+Version 04.03
+
+End of February 1999: Complete Bicig Definition overhaul, and -
+
+ - Ligatures in Mongol Bicig should now be working.
+
+ - There is now a hyphenation table for Xalx.
+
+ - Some bounding boxes for Mongolian glyphs were reviewed.
+
+
+Implementation Level IV
+
+Version 04.089
+
+December 2001: MonTeX finally steers towards its design goals
+
+ - Complete overhaul of the Mongolian font set
+
+ - Retransliteration now integrated into fonts
+
+ - full-scale Mongolian documents possible due to
+
+ - vertical typesetting
+
+ - working RL environments
+
+ - two script styles available
+
+ - ManjuTeX completely integrated into MonTeX
+
+ - language-independent glyph container for
+ Mongolian and Manju
+
+ - PDF generation supported
+
+Version 04.090
+
+December 2001: Massive Correction of Typos
+
+ - LMU Encoding added
+
+ - Glyphcontainer bxg now with own encoding files
+
+ - Exit code contents of \AtEndDocument fixed,
+ packages now communicate properly which
+ one is set, which one isn't
+
+Implementation Level IVu
+
+Version 04.092
+
+July 2002: Experimental Inclusion of Unicode Mongolian
+
+ - More input encodings for Latin
+
+ - Massive overhaul of documentation
diff --git a/Master/texmf-dist/doc/latex/montex/INSTALL b/Master/texmf-dist/doc/latex/montex/INSTALL
new file mode 100644
index 00000000000..4db3cce7140
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/INSTALL
@@ -0,0 +1,201 @@
+ Title: MonTeX, Implementation Level IVu
+ Version: 04.092
+ Author: Oliver Corff
+ Copyright: Ulaanbaatar, Berlin, Beijing 1997-2002
+ Date: July 01, 2002
+ (Timestamp: July 01, 2002)
+ Archive Name: montexivu.tgz
+ Description: Mongolian for LaTeX (Cyrillic)
+ System Requirements: e-LaTeX2e (limited functionality with LaTeX2e)
+ Fonts in Cork encoding (T1) are
+ required; they are considered
+ to be an integral part of any
+ up-to-date LaTeX2e installation.
+
+
+ Legal Notes: See end of this document
+
+0. Introduction
+
+MonTeX (Mongolian for LaTeX) is a modular package which provides
+Mongolian to the LaTeX user community.
+
+The present package represents Implementation Level IIa and provides
+the Cyrillic script in immediate and transliteration modes.
+
+In addition, it is possible to have short portions of Mongolian script
+(`bicig') in the document, both horizontally and vertically, but for
+enjoying vertical output it is necessary that PostScript support is
+installed. Most modern LaTeX installations come with PostScript
+anyway so this should not be a very difficult problem.
+
+Subsequent implementation levels add more features: scripts,
+writing directions, etc.
+
+
+1. Installation
+
+Remove all old files of previous MonTeX Implementation Level I
+installations, including the font bitmaps (*.pk) and tfm files.
+
+Unpack the archive montexivu.tgz in some temporary directory.
+
+teTeX users can proceed to section 1.1, MikTeX users should read
+section 1.2.
+
+
+1.1 teTeX (and other TeX systems based on the TeX Directory Structure)
+
+Create subdirectories, either in your main TeX installation, or
+in any local tree, with the following structure:
+
+ mkdir $TEXMF/tex/latex/montex/
+ mkdir $TEXMF/fonts/source/public/mfinput/mls/
+ mkdir $TEXMF/fonts/tfm/mls/
+ mkdir $TEXMF/doc/montex/
+
+Copy the appropriate contents into the newly created directories:
+
+ cp $TMP/texinput/* $TEXMF/tex/latex/montex/
+ cp $TMP/mfinput/* $TEXMF/fonts/source/public/mfinput/mls/
+ cp $TMP/tfm/* $TEXMF/fonts/tfm/mls/
+ cp $TMP/doc/* $TEXMF/doc/montex/
+
+Rehash the file name database by executing texhash.
+
+Execute texconfig and proceed to menu item <hyphenation>
+for creating a format file with Mongolian hyphenation
+patterns. You will have to edit the file language.dat (which
+appears in the editor window automatically) and insert
+the following line (perhaps somewhere after Hungarian (magyar)
+and before Norwegian (norsk):
+
+mongolian mnhyphen.tex % mnhyphex.tex % No exceptions now.
+
+in the list of languages.
+
+There is no need to procure the graphics and rotating packages
+externally since they are provided with teTeX.
+
+GhostScript and GhostView are also regularly found on UNIX and
+notably Linux systems so there should be full-fledged off-the-shelf
+support for the vertical text capsules offered by MonTeX.
+
+eLaTeX is included in modern teTeX versions, too.
+
+Please also make sure you have the diagnose.sty tool somewhere,
+as well as LGR Greek fonts.
+
+1.2 MikTeX
+
+Read and follow the instructions in the file MIKTEX.
+
+Get the graphics package and the rotating packages as well as
+GhostScript if you want to print portions of vertical Mongolian.
+
+The latex packages can be found at CTAN (both in the Internet and
+on CD-ROM) under
+
+ macros/latex/packages/graphics
+ macros/latex/contrib/supported/rotating
+
+GhostScript versions can be found at CTAN, too, in the
+/support/ghostscript/gnu subdirectory.
+
+
+2. Running MonTeX
+
+MonTeX is now ready for use. It is activated by stating
+
+\usepackage{mls}
+
+in the preamble of your document.
+
+You can provide options for the document language and/or the
+input file encoding, like
+
+\usepackage[xalx,mls]{mls}
+
+which prepares a document in Modern Mongolian using the MLS
+encoding. Consult doc/montex.tex for details.
+
+
+3. General Remarks
+
+When using MonTeX for the first time you may observe a
+seemingly unusual font generating activity. By default,
+MonTeX uses the T1 encoding, and requires these fonts
+to be available. If you happened to use the old TeX font
+encoding (known as OT1---and you may have been unconsciously
+doing so for all your previous documents) then prepare
+for anything between a few minutes and an hour (depending
+on your system's speed) for the fonts to be computed.
+
+This is a singular event and will not bother you later on.
+
+The user documentation montex.tex contains many typeface
+examples (in fact, unusually many for an average document)
+so the display and printing of this document does not
+reflect ordinary usage.
+
+
+4. Points of Concern for emtex users
+ -----
+
+emtex does not offer RL capabilities, and thus you will
+not be able to generate pure Mongolian or Manju documents
+on an emtex system. If you want to stick to a DOS-ish
+environment then the fptex system, available on CTAN, is
+recommended.
+
+It is however possible to execute all the functions MonTeX
+has been offering before Implementation Level IV.
+
+Under emtex, the document montex.tex requires substantial
+basic memory (below 640kB) for printing, and printing only.
+The typeface demonstration contained in the documentation
+loads a plethora of fonts (around twenty or so) which will
+force emtex's printing program to abort if available
+`conventional' memory is below 500 and a few kilobytes.
+In this case there are basically two choices: temporarily
+remove some device drivers, or start the program directly
+from the DOS prompt. Shells (even like Norton Commander and
+friends) sometimes eat exactly these 2 kB of memory which
+decide on failure or success. If nothing helps, open the
+file montex.tex in your editor, go to the line near no. 12
+and change the parameter of "FontSamples" from "6" to "1".
+You can now see whether the printer driver generates all
+necessary fonts without problems. Increase the FontSamples
+parameter step by step until all fonts are built, and try
+to print the document again.
+
+
+5. Legal Notes
+
+This program package is copyrighted software and placed under
+the Gnu Public Licence.
+
+Academical institutions and users are kindly requested to
+submit offprints of articles typeset with MonTeX.
+
+The author cannot accept any responsability for the usability
+and/or fitness of this software package for any particular
+purpose.
+
+You are not entitled to change the software while preserving
+original file names. If you ever happen to modify any of the
+files, then that file MUST be renamed.
+
+Please contact the author (e-mail: corff@zedat.fu-berlin.de)
+if you discover bugs, deficiencies etc.
+
+Thank you for using MonTeX!
+
+ Ulaanbaatar, Beijing, Berlin,
+ Shenyang,
+
+ December 2001
+
+ Oliver Corff
+ corff@zedat.fu-berlin.de
+ corff@arvis.ac.mn
diff --git a/Master/texmf-dist/doc/latex/montex/MIKTEX b/Master/texmf-dist/doc/latex/montex/MIKTEX
new file mode 100644
index 00000000000..afcac23e9a0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/MIKTEX
@@ -0,0 +1,47 @@
+REM WARNING: This file may be outdated!
+REM
+REM This is the installation batch file skeleton for MikTeX
+REM users. Please check this file carefully whether it
+REM matches your system before you commit any changes.
+REM
+REM How to proceed:
+REM
+REM 1. Check for your drives and paths.
+REM 2. Correct the following md and copy statements where
+REM necessary.
+REM 3. Rename this file from MIKTEX to MIKTEX.BAT
+REM 4. Execute MIKTEX.BAT
+
+ECHO Creating following directories:
+
+md \localtexmf\texinput\montex
+md \localtexmf\mfinput\mls
+md \localtexmf\tfm\mls
+md \localtexmf\doc\montex
+
+ECHO Copying contents into newly created directories:
+
+copy texinput\*.* \localtexmf\tex\latex\montex\
+copy mfinput\*.* \localtexmf\fonts\source\mls\
+copy tfm\*.* \localtexmf\fonts\tfm\mls\
+copy doc\*.* \localtexmf\doc\montex\
+
+ECHO Remake file database:
+
+cd \texmf\miktex\config
+configure -u
+
+ECHO Install Mongolian Hyphenation Patterns:
+
+cd \texmf\tex\generic\hyphen\local
+copy language.dat language.bak
+
+ECHO "mongolian mnhyphen.tex % Mongolian" >> language.dat
+
+cd \texmf\miktex\config
+
+configure --dump
+
+cd \temp\montex
+
+ECHO Everything should be installed now!
diff --git a/Master/texmf-dist/doc/latex/montex/TODO b/Master/texmf-dist/doc/latex/montex/TODO
new file mode 100644
index 00000000000..ae6a81fda23
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/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/Master/texmf-dist/doc/latex/montex/UPDATE b/Master/texmf-dist/doc/latex/montex/UPDATE
new file mode 100644
index 00000000000..db9d2dbf489
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/UPDATE
@@ -0,0 +1,12 @@
+MonTeX IVu.04.092
+
+
+For updating to the latest MonTeX version, please eliminate
+all remnants of former MonTeX installations from your computer,
+and then install the actual version anew. Far too many files
+have changed. Please be sure to include old font metric files
+and old .pk fonts as well, as the fonts have been completely
+reshuffled.
+
+
+Oliver Corff, November 2001.
diff --git a/Master/texmf-dist/doc/latex/montex/cyrename.pl b/Master/texmf-dist/doc/latex/montex/cyrename.pl
new file mode 100644
index 00000000000..f7b4ef2a672
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/cyrename.pl
@@ -0,0 +1,81 @@
+#!/usr/bin/perl -p -i.bak
+# vim: ts=16
+# A small script that replaces all old style labels with new ones
+#
+ s/CYR_A/CYRA/g;
+ s/CYR_BE/CYRB/g;
+ s/CYR_VE/CYRV/g;
+ s/CYR_GHE/CYRG/g;
+ s/CYR_DE/CYRD/g;
+ s/CYR_IE/CYRE/g;
+ s/CYR_YERU/CYRERY/g;
+ s/CYR_YE/CYRYO/g;
+ s/CYR_ZHE/CYRZH/g;
+ s/CYR_ZE/CYRZ/g;
+ s/CYR_I/CYRI/g;
+ s/CYR_SHORT_I/CYRISHRT/g;
+ s/CYR_KA/CYRK/g;
+ s/CYR_EL/CYRL/g;
+ s/CYR_EM/CYRM/g;
+ s/CYR_EN/CYRN/g;
+ s/CYR_OE/CYROTLD/g;
+ s/CYR_O/CYRO/g;
+ s/CYR_PE/CYRP/g;
+ s/CYR_ER/CYRR/g;
+ s/CYR_ES/CYRS/g;
+ s/CYR_TE/CYRT/g;
+ s/CYR_UE/CYRY/g;
+ s/CYR_U/CYRU/g;
+ s/CYR_EF/CYRF/g;
+ s/CYR_XA/CYRH/g;
+ s/CYR_HARD_SIGN/CYRHRDSN/g;
+ s/CYR_HA/CYRSHHA/g;
+ s/CYR_TSE/CYRC/g;
+ s/CYR_CHE/CYRCH/g;
+ s/CYR_SHA/CYRSH/g;
+ s/CYR_SHCHA/CYRSHCH/g;
+ s/CYR_SOFT_SIGN/CYRSFTSN/g;
+ s/CYR_E/CYREREV/g;
+ s/CYR_YU/CYRYU/g;
+ s/CYR_YA/CYRYA/g;
+ s/CYR_number/CYRNo/g;
+# s/CYR_TOGROG/g;
+# s/CYR_togrog/g;
+ s/CYR_left/guillemotleft/g;
+ s/CYR_right/guillemotright/g;
+ s/CYR_a/cyra/g;
+ s/CYR_be/cyrb/g;
+ s/CYR_ve/cyrv/g;
+ s/CYR_ghe/cyrg/g;
+ s/CYR_de/cyrd/g;
+ s/CYR_ie/cyre/g;
+ s/CYR_yeru/cyrery/g;
+ s/CYR_ye/cyryo/g;
+ s/CYR_zhe/cyrzh/g;
+ s/CYR_ze/cyrz/g;
+ s/CYR_i/cyri/g;
+ s/CYR_short_i/cyrishrt/g;
+ s/CYR_ka/cyrk/g;
+ s/CYR_el/cyrl/g;
+ s/CYR_em/cyrm/g;
+ s/CYR_en/cyrn/g;
+ s/CYR_oe/cyrotld/g;
+ s/CYR_o/cyro/g;
+ s/CYR_pe/cyrp/g;
+ s/CYR_er/cyrr/g;
+ s/CYR_es/cyrs/g;
+ s/CYR_te/cyrt/g;
+ s/CYR_ue/cyry/g;
+ s/CYR_u/cyru/g;
+ s/CYR_ef/cyrf/g;
+ s/CYR_xa/cyrh/g;
+ s/CYR_hard_sign/cyrhrdsn/g;
+ s/CYR_ha/cyrshha/g;
+ s/CYR_tse/cyrc/g;
+ s/CYR_che/cyrch/g;
+ s/CYR_sha/cyrsh/g;
+ s/CYR_shcha/cyrshch/g;
+ s/CYR_soft_sign/cyrsftsn/g;
+ s/CYR_e/cyrerev/g;
+ s/CYR_yu/cyryu/g;
+ s/CYR_ya/cyrya/g;
diff --git a/Master/texmf-dist/doc/latex/montex/fontlist.pdf b/Master/texmf-dist/doc/latex/montex/fontlist.pdf
deleted file mode 100644
index 2e51d8887ea..00000000000
--- a/Master/texmf-dist/doc/latex/montex/fontlist.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/montex/fontlist.tex b/Master/texmf-dist/doc/latex/montex/fontlist.tex
index 7dde2917edd..a1ef115e5f0 100644
--- a/Master/texmf-dist/doc/latex/montex/fontlist.tex
+++ b/Master/texmf-dist/doc/latex/montex/fontlist.tex
@@ -56,10 +56,10 @@ Name &Name &Design Sizes &{}\\
{10 } {cmss}{sbc}{n}\\
\Entry{kmssi}{Slanted Sans Serif}
{8 9 10 12 17} {cmss}{m}{sl}\\
-% \Entry{kmssq}{Sans Serif Quotation}
-% {8 } {cmssq}{m}{n}\\
-% \Entry{kmssqi}{Sans Serif Quotation Slanted}
-% {8 } {cmssq}{m}{sl}\\
+\Entry{kmssq}{Sans Serif Quotation}
+ {8 } {cmssq}{m}{n}\\
+\Entry{kmssqi}{Sans Serif Quotation Slanted}
+ {8 } {cmssq}{m}{sl}\\
\Entry{kmtcsc}{Typewriter Caps and Small Caps}
{10 } {cmtt}{m}{sc}\\
\Entry{kmti}{Text Italic}
diff --git a/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.input b/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.input
new file mode 100644
index 00000000000..92898bc4081
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.input
@@ -0,0 +1,3 @@
+bthhsm
+\table\bye
+
diff --git a/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.sh b/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.sh
new file mode 100644
index 00000000000..e430a5e0e96
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/mfinput/bithe/testfont.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+tex testfont < testfont.input
+rm testfont.log
+rm bthhsm.tfm
+rm bthhsm.600pk
+rm /home/corff/mls/mls-font/fonts/source/mls/tfm/bithe/*
+rm /usr/local/tex.local/fonts/tfm/mls/bithe/*
+rm /usr/local/tex.local/fonts/pk/ljfive/mls/bithe/*
+xdvi testfont
+rm testfont.dvi
diff --git a/Master/texmf-dist/doc/latex/montex/mkmlsmf.pl b/Master/texmf-dist/doc/latex/montex/mkmlsmf.pl
new file mode 100644
index 00000000000..bbab9626c6f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/mkmlsmf.pl
@@ -0,0 +1,85 @@
+#!/usr/bin/perl
+# vim:ts=4 sw=4
+#
+# (c) Oliver Corff. Ulaanbaatar, Beijing, Berlin
+#
+# This file generates the set of Metafont top level files for
+# the Mongol writing support. This generator can be used instead
+# of copying the individual files.
+#
+# 2001-10-01
+#
+$Filename ="";
+#
+@Languages =(Mongol,Manju,'Mongol Glyph');
+%glyph =( Mongol => Mongol,
+ Manju => Manju,
+ 'Mongol Glyph' => 'Mongolian and all derived');
+%Encoding =(Manju => LMA, Mongol => LMO, 'Mongol Glyph' => LMX);
+%comment =(Manju => '', Mongol => '', 'Mongol Glyph' => '% ');
+%tab =(Manju => ' ', Mongol => ' ', 'Mongol Glyph' => '');
+%Writing =(Manju => Bithe, Mongol => Bicig, 'Mongol Glyph' => Container);
+%wrtng =(Manju => bth, Mongol => bcg, 'Mongol Glyph' => bxg);
+%Abbr =(Manju => 'a', Mongol => 'o', 'Mongol Glyph' => 'x');
+@LRs =(Horizontal,Vertical);
+%LRvalue =(Horizontal => true, Vertical => false);
+%lrv =(Horizontal => 'h', Vertical => 'v');
+@Styles =(Wood,Steel);
+%StyleValue =(Wood => wood, Steel => steel);
+%stv =(Wood => 'w', Steel => 's');
+@Weights =(Medium,Bold);
+%WeightValue=(Medium => 'm', Bold => 'b');
+
+sub redefined {
+ $output = qq{%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: $Filename
+% Author: Oliver Corff and Dorjpalam Dorj
+% Date: October 1st, 2001
+% Version: 0.8
+% Copyright: Ulaanbaatar, Beijing, Berlin
+%
+% Description: Local $Language Script in Ligature Mode (Encoding: $Encoding{$Language})
+% $Language $Writing{$Language} $LR $Style $Weight Font Definition
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+font_identifier:= "TeX $Language $Writing{$Language}";
+font_coding_scheme:= "$Encoding{$Language}";
+input mbatoms.mf; % Load Atoms
+style:=$StyleValue{$Style}; % Defines titem and suul shapes, etc.
+writing:=$Writing{$Language};$tab{$Language} % Font: $Language $Writing{$Language}
+LR:=$LRvalue{$LR}; % This is a $LR Font
+input mbparm$WeightValue{$Weight}.mf; % Load $Weight Weight Parameters
+$comment{$Language}input mbcodes.mf; % Load Common Encoding Vectors
+input m$Abbr{$Language}codes.mf; % Load $Language Encoding Vectors
+$comment{$Language}input m$Abbr{$Language}ntrlig.mf; % Load $Language Transliteration Ligatures
+input mbpunc.mf; % Oh yes, we build punctuation
+input mbnums.mf; % Oh yes, we build digits
+input mbglyphs.mf; % Oh yes, we build common glyphs
+input m$Abbr{$Language}glyphs.mf; % And we build $glyph{$Language} glyphs
+end.}
+}
+
+for $Language (@Languages) {
+ for $LR (@LRs) {
+ for $Style (@Styles) {
+ for $Weight (@Weights) {
+ $Filename= $wrtng{$Language}.
+ $lrv{$LR}.
+ $stv{$Style}.
+ $WeightValue{$Weight}.
+ ".mf";
+
+ print "$Filename: ";
+ print "$Language\t-> $Writing{$Language} ";
+ print "($Encoding{$Language}) ";
+ print "$LR\t$Style$Weight\n";
+
+ redefined;
+
+ open(OUTPUT,">$Filename");
+ print OUTPUT $output;
+ close OUTPUT;
+ }
+ }
+ }
+}
diff --git a/Master/texmf-dist/doc/latex/montex/mnhyphen.tex b/Master/texmf-dist/doc/latex/montex/mnhyphen.tex
new file mode 100644
index 00000000000..562e26bc958
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/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
+a3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^^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/Master/texmf-dist/doc/latex/montex/montex.xml b/Master/texmf-dist/doc/latex/montex/montex.xml
new file mode 100644
index 00000000000..c35f4f6c428
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/montex.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE entry SYSTEM "../catalogue.dtd">
+<entry id="montex"
+ datestamp="2002/07/01"
+ modifier="Graham.Williams@cmis.csiro.au">
+ <about>
+ <name>montex</name>
+ <caption>Mongolian LaTeX.</caption>
+ <author>
+ <name>Oliver Corff</name>
+ <email>corff@zedat.fu-berlin.de</email>
+ </author>
+ <license type="gpl"/>
+ </about>
+ <description>
+ <abstract>
+ MonTeX provides Mongolian and Manju for the TeX/LaTeX
+ community.
+
+ Mongolian is a language spoken in North East Asia, namely
+ Mongolia and the Inner Mongol Autonomous Region of China.
+ Today, it is written in an extended Cyrillic alphabet in
+ Mongolia whereas the Uighur writing continues to be in
+ use in Inner Mongolia, though it is also, legally speaking,
+ the official writing system of Mongolia.
+
+ Manju is another language of North East Asia, belonging
+ to the Tungusic branch of the Altaic languages. Though
+ it is virtually not spoken anymore, it survives in
+ written form as Manju was the native language of the
+ rulers of the Qing dynasty (1644--1911) in China. Large
+ quantities of documents of the Imperial Archives survive,
+ as well as some of the finest dictionaries ever compiled
+ in Asia, like the Pentaglot, a dictionary comprising
+ Manju, Tibetan, Mongolian, Uighur and Chinese. MonTeX
+ provides all necessary characters for writing standard
+ Mongolian in Cyrillic and Classical (aka Traditional or
+ Uighur) writing, and Manju as well as transliterated
+ Tibetan texts, for which purpose a number of additional
+ characters was created.
+
+ In MonTeX, both Mongolian and Manju are entered in romanized
+ form. The retransliteration (from Latin input to Mongolian
+ and Manju output) is completely realized in TeX/Metafont so
+ that no external preprocessor is required.
+
+ Please note that most of the enhanced functions on MonTeX
+ require a working e-LaTeX environment. This is especially
+ true when compiling documents with Mongolian or Manju as
+ the main document language. It is recommended to choose
+ pdfelatex as the resulting PDF files are truly portable.
+ Vertical text generated by MonTeX is not supported in DVI.
+
+ This version of MonTeX makes all former versions of MonTeX
+ and ManjuTeX obsolete.
+ </abstract>
+ </description>
+ <distribution>
+ <ctan>language/mongolian/montex</ctan>
+ <texlive>lang3</texlive>
+ </distribution>
+</entry>
+
diff --git a/Master/texmf-dist/doc/latex/montex/mtdocmac.tex b/Master/texmf-dist/doc/latex/montex/mtdocmac.tex
new file mode 100644
index 00000000000..a45605cd0a9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/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/Master/texmf-dist/doc/latex/montex/testfont.input b/Master/texmf-dist/doc/latex/montex/testfont.input
new file mode 100644
index 00000000000..37c6ea57ccb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/testfont.input
@@ -0,0 +1,3 @@
+bcghsm
+\table\bye
+
diff --git a/Master/texmf-dist/doc/latex/montex/testfont.sh b/Master/texmf-dist/doc/latex/montex/testfont.sh
new file mode 100644
index 00000000000..4a6889a0279
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/montex/testfont.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+tex testfont < testfont.input
+rm testfont.log
+rm bcghsm.tfm
+rm bcghsm.600pk
+rm /home/corff/mls/mls-font/fonts/source/mls/tfm/bicig/*
+rm /usr/local/tex.local/fonts/tfm/mls/bicig/*
+rm /usr/local/tex.local/fonts/pk/ljfive/mls/bicig/*
+xdvi testfont
+rm testfont.dvi