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

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

:error
echo Error

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