File: make_doc

package info (click to toggle)
gap-transgrp 3.6.5-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,692 kB
  • sloc: makefile: 120; sh: 9
file content (35 lines) | stat: -rwxr-xr-x 1,173 bytes parent folder | download | duplicates (2)
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 Example Package documentation          Greg Gamble
##
## Slightly modified by Leonard Soicher for use with GRAPE.
## 
#H  $Id: make_doc,v 4.1 2001/10/07 02:37:40 gap Exp $
##
##  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 Example Package.
##

echo "TeXing documentation"
# TeX the manual
tex manual
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 PDF version
pdftex manual; pdftex manual 

# The HTML version of the manual
mkdir -p ../htm
echo "Creating HTML documentation"
GAP_CONVERT_DATE="February 2022" /usr/share/gap/etc/convert.pl -t -c -n transgrp . ../htm

#############################################################################
##
#E