echo on
echo fmt.bat for 5 languages
del *.bak
del *.log
del *.tex
del *.sty
del *.ch
del *.mf
del *.tfm
del *.min
del *.doc
del *.dat
del *.zip
del *.tmp

rem copy d:\emtex\texinput\etc\plain.tex

copy d:\emtex\texinput\acmacros.sty
copy d:\emtex\texinput\hyconfig.ptx
copy d:\emtex\texinput\dcacceur.tex hyacceur.tex
copy d:\emtex\texinput\enhyph.tex
copy d:\emtex\texinput\enhyphex.tex
copy d:\emtex\texinput\f8hyph.tex
rem copy d:\emtex\texinput\french\f8hyphex.tex
rem copy d:\emtex\texinput\french\frhyphex.tex
copy d:\emtex\texinput\ithyph.tex
copy d:\emtex\texinput\eshyph.tex
copy d:\emtex\texinput\ghyph31.tex
copy d:\emtex\texinput\ec-plain.tex
copy d:\emtex\texinput\ec-plain.doc 00readme.doc
copy d:\emtex\mfinput\ec\exmi*.mf
del exmib*.mf
copy d:\emtex\mfinput\ec\ecbxmath.mf
copy d:\emtex\mfinput\ec\ecmathit.mf
copy d:\emtex\mfinput\misc\dy*.mf
copy d:\emtex\mfinput\misc\ofgree*.mf
copy d:\emtex\tfm\ec\exmi*.tfm
del exmib*.tfm
del dymib*.mf

echo french-english-german-italian-spanish plain
copy d:\emtex\texinput\language.eur language.dat
initex ec-plain \dump
if errorlevel 1 goto error

:error