:: :: This file belongs to the MFTOEPS package. :: @echo off :: :: %1 is a file name WITHOUT extension :: :: This batch is an alternative to M2E.BAT using TeX rather than AWK :: :: Software used (change if required): :: MF386.EXE :: TEX.BAT (TEX.BAT calls TeX, because calling TeX may be :: configuration-dependent; see sample TEX.BAT) :: GFTODVI.EXE :: mf386 &plain \yeseps:=1; input %1 if errorlevel==1 goto EMERG call tex.bat \def\inputname{%1.log}\input spliteps.tex if exist %1.300 goto NOPSMODE goto CLEANUP :NOPSMODE :: `no_export_level' was used for some reason (error?)... gftodvi %1.300 if exist %1.300 del %1.300 if exist %1.tfm del %1.tfm if exist %1.eps del %1.eps :CLEANUP if exist spliteps.log del spliteps.log :: del %1.log :EMERG