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
|
#!/bin/sh
set -e
DEFAULT_GAPPATH=/usr/share/gap
if test -z "$1"; then
GAPPATH=${DEFAULT_GAPPATH}; echo "Using ${DEFAULT_GAPPATH} as default GAP path";
else
GAPPATH=$1;
fi
echo "TeXing documentation"
# TeX the manual and build its bibliography
tex manual; bibtex manual
# TeX the manual again to incorporate the ToC ... and build the index
tex manual; $GAPPATH/etc/manualindex manual
# Finally TeX the manual again to get cross-references right
tex manual
# Create the .pdf version
pdftex manual; pdftex manual
# The HTML version of the manual
rm -rf ../htm
mkdir ../htm
echo "Creating HTML documentation"
export GAP_CONVERT_DATE="January 2020"
$GAPPATH/etc/convert.pl -i -u -c -n aclib . ../htm
#############################################################################
##
#E
|