home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emtex11.zip / BTEX2.ZIP / EMTEX / BTEXFMTS / FMT.CMD < prev    next >
OS/2 REXX Batch file  |  1992-06-08  |  571b  |  26 lines

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