summaryrefslogtreecommitdiff
path: root/macros/generic/cptex/btex8fmt/fmt.cmd
blob: 579e89808617975bcb59f257deb3f43fe5b00916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo off
rem fmt.cmd
if exist hyphen.tex goto ex
copy \emtex\texinput\hyphen.tex hyphen.tex
btexp -i -8 -o -r plain \dump
if errorlevel 1 goto error
btexp -i -8 -o -r lplain \input 3 \dump
if errorlevel 1 goto error
goto done

:ex
echo The following files should be removed or renamed before running fmt:
if exist hyphen.tex echo hyphen.tex
goto end

:error
echo Error

:done
if exist hyphen.tex del hyphen.tex
:end