| 1 |
#!/bin/sh |
| 2 |
############################################################################# |
| 3 |
## |
| 4 |
#W make_doc make Example Package documentation Greg Gamble |
| 5 |
## |
| 6 |
## Slightly modified by Leonard Soicher for use with GRAPE. |
| 7 |
## |
| 8 |
#H $Id: make_doc,v 4.1 2001/10/07 02:37:40 gap Exp $ |
| 9 |
## |
| 10 |
## This shell script uses TeX, BibTeX and MakeIndex to build the .dvi, Adobe |
| 11 |
## PDF, PostScript (commented out) and HTML (provided you have tth and |
| 12 |
## etc/convert.pl) documentation for the Example Package. |
| 13 |
## |
| 14 |
|
| 15 |
echo "TeXing documentation" |
| 16 |
# TeX the manual |
| 17 |
tex manual |
| 18 |
bibtex manual |
| 19 |
# TeX the manual again to incorporate the ToC ... and build the index |
| •20 |
tex manual; /usr/share/gap/etc/manualindex manual |
| 21 |
# Finally TeX the manual again to get cross-references right |
| 22 |
tex manual |
| 23 |
# Create the PostScript version (uncomment next line, if needed) |
| 24 |
#dvips -D300 manual -o |
| 25 |
# Create PDF version |
| 26 |
pdftex manual; pdftex manual |
| 27 |
|
| 28 |
# The HTML version of the manual |
| 29 |
mkdir -p ../htm |
| 30 |
echo "Creating HTML documentation" |
| •31 |
GAP_CONVERT_DATE="February 2022" /usr/share/gap/etc/convert.pl -t -c -n transgrp . ../htm |
| 32 |
|
| 33 |
############################################################################# |
| 34 |
## |
| 35 |
#E |