diff options
Diffstat (limited to 'macros/generic/cptex/tex8fmts/gfmt.cmd')
-rw-r--r-- | macros/generic/cptex/tex8fmts/gfmt.cmd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/macros/generic/cptex/tex8fmts/gfmt.cmd b/macros/generic/cptex/tex8fmts/gfmt.cmd new file mode 100644 index 0000000000..76533dc493 --- /dev/null +++ b/macros/generic/cptex/tex8fmts/gfmt.cmd @@ -0,0 +1,29 @@ +echo off +rem gfmt.cmd +if exist hyphen.tex goto ex +if exist plaing.tex goto ex +if exist lplaing.tex goto ex +copy \emtex\texinput\plain.tex plaing.tex +copy \emtex\texinput\ghyphen.min hyphen.tex +texp -i -8 -o -r \language1\input plaing \dump +if errorlevel 1 goto error +copy \emtex\texinput\lplain.tex lplaing.tex +texp -i -8 -o -r \language1\input lplaing \input 3 \dump +if errorlevel 1 goto error +goto done + +:ex +echo The following files should be removed or renamed before running gfmt: +if exist hyphen.tex echo hyphen.tex +if exist plaing.tex echo plaing.tex +if exist lplaing.tex echo lplaing.tex +goto end + +:error +echo Error + +:done +if exist hyphen.tex del hyphen.tex +if exist plaing.tex del plaing.tex +if exist lplaing.tex del lplaing.tex +:end |