home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / TEXDISK / LATEX2.ZIP / EMTEX / TEXFMTS / SLIFMT.CMD < prev   
OS/2 REXX Batch file  |  1992-06-23  |  523b  |  24 lines

  1. echo off
  2. rem slifmt.cmd
  3. if exist hyphen.tex goto ex
  4. if exist lhyphen.tex goto ex
  5. copy \emtex\texinput\hyphen.tex hyphen.tex
  6. copy \emtex\texinput\lhyphen.tex lhyphen.tex
  7. texp -i -8 splain \dump
  8. if errorlevel 1 goto error
  9. goto done
  10.  
  11. :ex
  12. echo The following files should be removed or renamed before running slifmt:
  13. if exist hyphen.tex echo hyphen.tex
  14. if exist lhyphen.tex echo lhyphen.tex
  15. goto end
  16.  
  17. :error
  18. echo Error
  19.  
  20. :done
  21. if exist hyphen.tex del hyphen.tex
  22. if exist lhyphen.tex del lhyphen.tex
  23. :end
  24.