Debian Codegraph @

doc/make_doc

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
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 set -e
•15
16 GAPDATADIR=/usr/share/gap
17
18 TEXINPUTS=$GAPDATADIR/etc:${TEXINPUTS}
19 export TEXINPUTS
20
21 PDFTEX='/usr/bin/pdftex -no-shell-escape -interaction batchmode'
22
23 echo "TeXing documentation"
24 # TeX the manual
•25 $PDFTEX manual
26 # ... and build its bibliography (uncomment if there is a `manual.bib')
27 bibtex manual
28 # TeX the manual again to incorporate the ToC ... and build the index
•29 $PDFTEX manual
30 $GAPDATADIR/etc/manualindex manual
31 # Finally TeX the manual again to get cross-references right
•32 $PDFTEX manual
33 # Create the PostScript version (uncomment next line, if needed)
34 #dvips -D300 manual -o
35 # Create PDF version
•36 $PDFTEX manual
37 $PDFTEX manual
38
39 # The HTML version of the manual
40 mkdir -p ../htm
41 echo "Creating HTML documentation"
•42 $GAPDATADIR/etc/convert.pl -s -t -c -n grape . ../htm
43
44 #############################################################################
45 ##
46 #E