home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / TEXDISK / GTEX.ZIP / EMTEX / TEXFMTS / GFMT.BAT next >
DOS Batch File  |  1992-06-08  |  900b  |  34 lines

  1. echo off
  2. rem gfmt.bat
  3. if exist hyphen.tex goto ex
  4. if exist plaing.tex goto ex
  5. if exist lplaing.tex goto ex
  6. if exist lhyphen.tex goto ex
  7. copy \emtex\texinput\plain.tex plaing.tex
  8. copy \emtex\texinput\ghyphen.min hyphen.tex
  9. tex -i -c850_tex \language1\input plaing \dump
  10. if errorlevel 1 goto error
  11. copy \emtex\texinput\lplain.tex lplaing.tex
  12. copy \emtex\texinput\lhyphen.ger lhyphen.tex
  13. tex -i -c850_tex lplaing \dump
  14. if errorlevel 1 goto error
  15. goto done
  16.  
  17. :ex
  18. echo The following files should be removed or renamed before running gfmt:
  19. if exist hyphen.tex echo hyphen.tex
  20. if exist plaing.tex echo plaing.tex
  21. if exist lplaing.tex echo lplaing.tex
  22. if exist lhyphen.tex echo lhyphen.tex
  23. goto end
  24.  
  25. :error
  26. echo Error
  27.  
  28. :done
  29. if exist hyphen.tex del hyphen.tex
  30. if exist plaing.tex del plaing.tex
  31. if exist lplaing.tex del lplaing.tex
  32. if exist lhyphen.tex del lhyphen.tex
  33. :end
  34.