Index: gap-radiroot-2.9/doc/make_doc =================================================================== --- gap-radiroot-2.9.orig/doc/make_doc +++ gap-radiroot-2.9/doc/make_doc @@ -8,19 +8,23 @@ ## 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 -tex 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 manual; /usr/share/gap/etc/manualindex manual +tex $TEXARG manual; /usr/share/gap/etc/manualindex manual # Finally TeX the manual again to get cross-references right -tex manual +tex $TEXARG manual # Create the PostScript version (uncomment next line, if needed) #dvips -D300 manual -o # Create PDF version -pdftex manual; pdftex manual +pdftex $TEXARG manual; pdftex $TEXARG manual # The HTML version of the manual mkdir -p ../htm Index: gap-radiroot-2.9/doc/manual.tex =================================================================== --- gap-radiroot-2.9.orig/doc/manual.tex +++ gap-radiroot-2.9/doc/manual.tex @@ -40,7 +40,7 @@ \centerline{\secfont by}\vfill \centerline{\secfont Andreas Distler}\bigskip \centerline{\tt a.distler@tu-bs.de}\vfill - \centerline{\secfont{April} 2014} + \centerline{\secfont \GAPDATE} } % %