summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:55:14 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:55:14 +0000
commitc775d5506be6571946b4b59bd82696dd64058a84 (patch)
treeadeabd72011c18d34458f39487bad1457ed8cae6
parent5185c8bb863b3923d54b8281306721bf06e0f452 (diff)
trunk/Master/texmf-dist/source/latex/montex
git-svn-id: svn://tug.org/texlive/trunk@393 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/latex/montex/ANNOUNCE39
-rw-r--r--Master/texmf-dist/source/latex/montex/EMTEX29
-rw-r--r--Master/texmf-dist/source/latex/montex/HISTORY124
-rw-r--r--Master/texmf-dist/source/latex/montex/INSTALL201
-rw-r--r--Master/texmf-dist/source/latex/montex/MIKTEX47
-rw-r--r--Master/texmf-dist/source/latex/montex/TODO39
-rw-r--r--Master/texmf-dist/source/latex/montex/UPDATE12
-rw-r--r--Master/texmf-dist/source/latex/montex/cyrename.pl81
-rw-r--r--Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.input3
-rw-r--r--Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.sh10
-rw-r--r--Master/texmf-dist/source/latex/montex/mkmlsmf.pl85
-rw-r--r--Master/texmf-dist/source/latex/montex/montex.xml63
-rw-r--r--Master/texmf-dist/source/latex/montex/testfont.input3
-rw-r--r--Master/texmf-dist/source/latex/montex/testfont.sh10
14 files changed, 746 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/montex/ANNOUNCE b/Master/texmf-dist/source/latex/montex/ANNOUNCE
new file mode 100644
index 00000000000..3e8b3c18a8d
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/EMTEX b/Master/texmf-dist/source/latex/montex/EMTEX
new file mode 100644
index 00000000000..b75cb0e2683
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/HISTORY b/Master/texmf-dist/source/latex/montex/HISTORY
new file mode 100644
index 00000000000..ef8134bda87
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/INSTALL b/Master/texmf-dist/source/latex/montex/INSTALL
new file mode 100644
index 00000000000..178925d8c2c
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/MIKTEX b/Master/texmf-dist/source/latex/montex/MIKTEX
new file mode 100644
index 00000000000..82a45a573a0
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/TODO b/Master/texmf-dist/source/latex/montex/TODO
new file mode 100644
index 00000000000..570bef5fa71
--- /dev/null
+++ b/Master/texmf-dist/source/latex/montex/TODO
@@ -0,0 +1,39 @@
+% File: mcytitle.mf
+% Based on: cycitle.mf
+% Modified by: Oliver Corff
+% Date: October 1997, Ulaanbaatar
+%
+% This makes a short cyrillic font (caps only)
+
+let cmchar=message; % `|cmchar|' should precede each character
+
+font_coding_scheme:="ASCII caps";
+input mccoding;
+
+mode_setup; font_setup;
+
+input mcyru; % upper case (majuscules)
+input cyrmoreu; % upper case (majuscules)
+input romand; % numerals
+
+font_slant slant; font_x_height x_height#;
+if monospace: font_normal_space 9u#; % no stretching or shrinking
+ font_quad 18u#;
+ font_extra_space 9u#;
+else: font_normal_space 6u#+2letter_fit#;
+ font_normal_stretch 3u#; font_normal_shrink 2u#;
+ font_quad 18u#+4letter_fit#;
+ font_extra_space 2u#;
+fi
+% k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
+% ligtable "P": "T": "Y": "A" kern kk#;
+% ligtable "F": "V": "W": "A" kern if serifs: kkk# else: kk#\\fi,
+% "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
+% ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
+% "V" kern k#, "Y" kern k#;
+% ligtable "A": if serifs: "R": fi
+% "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
+% "L": "T" kern kk#, "Y" kern kkk#, "V" kern kk#, "W" kern kkk#;
+% ligtable "I": "I" kern -k#; fi % Richard III
+bye.
+
diff --git a/Master/texmf-dist/source/latex/montex/UPDATE b/Master/texmf-dist/source/latex/montex/UPDATE
new file mode 100644
index 00000000000..1eaf50469c6
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/cyrename.pl b/Master/texmf-dist/source/latex/montex/cyrename.pl
new file mode 100644
index 00000000000..f7b4ef2a672
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/mfinput/bithe/testfont.input b/Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.input
new file mode 100644
index 00000000000..92898bc4081
--- /dev/null
+++ b/Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.input
@@ -0,0 +1,3 @@
+bthhsm
+\table\bye
+
diff --git a/Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.sh b/Master/texmf-dist/source/latex/montex/mfinput/bithe/testfont.sh
new file mode 100644
index 00000000000..e430a5e0e96
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/mkmlsmf.pl b/Master/texmf-dist/source/latex/montex/mkmlsmf.pl
new file mode 100644
index 00000000000..bbab9626c6f
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/montex.xml b/Master/texmf-dist/source/latex/montex/montex.xml
new file mode 100644
index 00000000000..c35f4f6c428
--- /dev/null
+++ b/Master/texmf-dist/source/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/source/latex/montex/testfont.input b/Master/texmf-dist/source/latex/montex/testfont.input
new file mode 100644
index 00000000000..37c6ea57ccb
--- /dev/null
+++ b/Master/texmf-dist/source/latex/montex/testfont.input
@@ -0,0 +1,3 @@
+bcghsm
+\table\bye
+
diff --git a/Master/texmf-dist/source/latex/montex/testfont.sh b/Master/texmf-dist/source/latex/montex/testfont.sh
new file mode 100644
index 00000000000..4a6889a0279
--- /dev/null
+++ b/Master/texmf-dist/source/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