mkhelph 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #! /bin/csh
  2. #-------------------------------------------------------------
  3. #
  4. # Compile REDUCE help info into HTML
  5. #
  6. #-------------------------------------------------------------
  7. setenv package redhelp
  8. # if Not "%1" == "" setenv package %1
  9. # setenv tdir html
  10. reduce << EOF
  11. ON ERRCONT;
  12. symbolic;
  13. % !*lower := nil;
  14. on backtrace;
  15. on comp;
  16. !*windows := t;
  17. in "comphelp.red"\$
  18. in "helphtml.red"\$
  19. in "minitex.red"\$
  20. dir_src := "$reduce/doc/help/";
  21. package := getenv "package";
  22. % if package="" or package = "redref"
  23. % then << dir_src := "redref\"; package := "redhelp">>
  24. % else dir_src := "packages\";
  25. job(bldmsg("%w.tex",package),"null");
  26. <<
  27. terpri();
  28. prin2t "=================================================";
  29. prin2t " SECOND RUN ";
  30. prin2t "=================================================";
  31. >>;
  32. reset_html();
  33. job(bldmsg("%w.tex",package),"auxx.rtf");
  34. <<
  35. terpri();
  36. prin2t "=================================================";
  37. prin2t " THIRD RUN ";
  38. prin2t "=================================================";
  39. >>;
  40. reset_html();
  41. job(bldmsg("%w.tex",package),"auxx.rtf");
  42. html_indexfile();
  43. lisp_indexfile();
  44. bye;
  45. EOF