mkman 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #!/bin/csh -f
  2. # Create reduce.tex
  3. setenv man $reduce/doc/manual
  4. cat $man/header.tex > reduce.tex
  5. cat $man/macros.tex >> reduce.tex
  6. echo "\
  7. \makeindex\
  8. \
  9. \begin{document}\
  10. \pagestyle{empty}" >> reduce.tex
  11. cat $man/title.tex >> reduce.tex
  12. echo "\pagestyle{headings}\
  13. \setcounter{page}{0}\
  14. \tableofcontents\
  15. " >> reduce.tex
  16. cat $man/abstract.tex >> reduce.tex
  17. cat $man/acknowl.tex >> reduce.tex
  18. cat $man/intro.tex >> reduce.tex
  19. cat $man/progstr.tex >> reduce.tex
  20. cat $man/exprn.tex >> reduce.tex
  21. cat $man/list.tex >> reduce.tex
  22. cat $man/statemnt.tex >> reduce.tex
  23. cat $man/command.tex >> reduce.tex
  24. cat $man/oper.tex >> reduce.tex
  25. cat $man/solve.tex >> reduce.tex
  26. cat $man/oper2.tex >> reduce.tex
  27. cat $man/structr.tex >> reduce.tex
  28. cat $man/polyrat.tex >> reduce.tex
  29. cat $man/subst.tex >> reduce.tex
  30. cat $man/io.tex >> reduce.tex
  31. cat $man/inter.tex >> reduce.tex
  32. cat $man/matrix.tex >> reduce.tex
  33. cat $man/proc.tex >> reduce.tex
  34. cat $man/rememb.tex >> reduce.tex
  35. cat $man/user.tex >> reduce.tex
  36. cat $man/symbolic.tex >> reduce.tex
  37. cat $man/rlisp88.tex >> reduce.tex
  38. cat $man/rlispref.tex >> reduce.tex
  39. cat $man/hephys.tex >> reduce.tex
  40. cat $man/util.tex >> reduce.tex
  41. cat $man/maintain.tex >> reduce.tex
  42. cat $man/appenda.tex >> reduce.tex
  43. echo "\
  44. \printindex\
  45. \
  46. \end{document}" >> reduce.tex
  47. expand reduce.tex > ,tmp
  48. sed 's/ *$//g' ,tmp > reduce.tex
  49. rm ,tmp