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!
