home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / textprocess / armtex / texsrc1 / Src / tex / convert < prev    next >
Encoding:
Text File  |  1993-05-03  |  572 b   |  28 lines

  1. |#!/bin/sh
  2. |# Convert TeX to C.
  3. |
  4. |cat ../lib/common.defines ../lib/texmf.defines tex.p \
  5. |       | ../web2c/web2c -t -htexmf.h \
  6. |       | ../web2c/fixwrites -t \
  7. |       | ../web2c/regfix \
  8. |       | ../web2c/splitup
  9. |
  10. |sync
  11. |
  12. |cat coerce.h fixcoerce.h > xcoerce.h
  13. |mv xcoerce.h coerce.h
  14. |
  15. |RISC OS:
  16. echo Concatenating...
  17. fcat ^.lib.common_def ^.lib.texmf_def ^.lib.riscos_def tex.p >temp
  18. echo web2c...
  19. web2c -t -hh.texmf <temp >temp2
  20. echo fixwrites...
  21. fixwrites -t <temp2 >temp
  22. echo regfix...
  23. regfix <temp >temp2
  24. echo splitup...
  25. splitup <temp2
  26. remove temp2
  27. remove temp
  28.