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 36
|
#!/bin/sh
#############################################################################
##
#W make_doc make Radiroot Package documentation Andreas Distler
##
## This shell script uses TeX, BibTeX and MakeIndex to build the .dvi, Adobe
## PDF, PostScript (commented out) and HTML (provided you have tth and
## etc/convert.pl) documentation for the Radiroot Package.
##
export GAP_CONVERT_DATE="April 2014"
TEXARG="\\def\\GAPDATE{$GAP_CONVERT_DATE}\input"
echo "TeXing documentation"
# TeX the manual
echo tex $TEXARG manual
tex $TEXARG manual
# ... and build its bibliography (uncomment if there is no `manual.bib')
bibtex manual
# TeX the manual again to incorporate the ToC ... and build the index
tex $TEXARG manual; /usr/share/gap/etc/manualindex manual
# Finally TeX the manual again to get cross-references right
tex $TEXARG manual
# Create the PostScript version (uncomment next line, if needed)
#dvips -D300 manual -o
# Create PDF version
pdftex $TEXARG manual; pdftex $TEXARG manual
# The HTML version of the manual
mkdir -p ../htm
echo "Creating HTML documentation"
GAP_CONVERT_DATE="March 2022" /usr/share/gap/etc/convert.pl -t -c -u -n Radiroot . ../htm
#############################################################################
##
#E
|