1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#!/bin/sh
#########################################################################
##
#W make_doc make AutPGrp Package documentation Greg Gamble
##
#H $Id: make_doc,v 1.2 2003/10/01 11:39:27 gap Exp $
##
## This shell script uses TeX, BibTeX and MakeIndex to build the .dvi,
## PostScript (commented out), PDF, and HTML (provided you have tth
## and etc/convert.pl) documentation for the AutPGrp Package.
##
set -e
echo "TeXing documentation"
# TeX the manual
tex manual
# when there's a bibliography uncomment next line
#bibtex manual
# TeX the manual again to incorporate the ToC ... and build the index
tex manual; /usr/share/gap/etc/manualindex manual
# Finally TeX the manual again to get cross-references right
tex manual
# Create the PostScript version (uncomment next line, if needed)
#dvips -D300 manual -o
# Create the PDF version (uncomment next line, if needed)
pdftex manual; pdftex manual
# The HTML version of the manual
mkdir -p ../htm
echo "Creating HTML documentation"
/usr/share/gap/etc/convert.pl -c -n AutPGrp . ../htm
#########################################################################
##
#E
|