diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/MF-PS/progs/m2e.bat |
Initial commit
Diffstat (limited to 'graphics/MF-PS/progs/m2e.bat')
-rw-r--r-- | graphics/MF-PS/progs/m2e.bat | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/MF-PS/progs/m2e.bat b/graphics/MF-PS/progs/m2e.bat new file mode 100644 index 0000000000..53a5aad72a --- /dev/null +++ b/graphics/MF-PS/progs/m2e.bat @@ -0,0 +1,26 @@ +:: This file belongs to the MFTOEPS package. +:: +@echo off +:: +:: %1 is a file name WITHOUT extension +:: +:: Software used (change if required): +:: MF386.EXE +:: GAWK.EXE or (better) GAWK32.EXE, ver. 3.0.x +:: GFTODVI.EXE +:: + mf386 &plain \yeseps:=1; input %1 + if errorlevel==1 goto EMERG +:: gawk -f spliteps.awk %1.log + gawk32 -f spliteps.awk %1.log + 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 +:: del %1.log +:EMERG |