Mercurial > ~dholland > hg > ag > index.cgi
comparison doc/manual/buildguide.sh @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children | bebb2ba69e1d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 #!/bin/sh | |
2 # buildguide.sh - build the AG manual | |
3 # usage: path-to-doc/manual/buildguide.sh | |
4 | |
5 # "usersguide.ind}" is required to work around a bug in latex | |
6 # that still exists as recently as teTeX 3.0. | |
7 | |
8 SRCDIR=`dirname "$0"` | |
9 | |
10 TEXINPUTS=".:${SRCDIR}:" | |
11 export TEXINPUTS | |
12 | |
13 touch usersguide.ind | |
14 rm -f 'usersguide.ind}' | |
15 ln -s 'usersguide.ind' 'usersguide.ind}' | |
16 | |
17 dolatex() { | |
18 echo ' [LATEX] usersguide.tex' | |
19 #pdflatex "$SRCDIR/usersguide.tex" | |
20 pdflatex "\\newcommand{\\nohtml}{1}\\input{$SRCDIR/usersguide.tex}" | |
21 } | |
22 | |
23 dolatex | |
24 dolatex | |
25 | |
26 echo ' [INDEX] usersguide.idx' | |
27 makeindex usersguide.idx | |
28 | |
29 dolatex | |
30 dolatex | |
31 | |
32 rm -f 'usersguide.ind}' |