Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions doc/make_doc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,25 @@
set -e

echo "TeXing documentation"
rm -f manual.aux manual.dvi manual.idx manual.ilg manual.ind manual.lab manual.log manual.six manual.toc
# delete old stuff to avoid spurious or "hidden errors" caused by their presence
rm -f manual.{aux,bbl,blg,dvi,idx,ilg,ind,lab,log,pdf,ps,six,toc}

# TeX the manual
tex manual
# ... and build its bibliography
#bibtex manual
# TeX the manual again to incorporate the ToC
tex manual
# ... and build the index
../../../doc/manualindex manual
# Finally TeX the manual again to get cross-references right
tex manual

echo "Creating PDF version"
pdftex manual; pdftex manual
# Create PDF version
pdftex manual
pdftex manual

echo "Creating HTML documentation"
# The HTML version of the manual
mkdir -p ../htm
../../../etc/convert.pl -c -i -u -n cryst . ../htm
echo "Creating HTML documentation"
../../../etc/convert.pl -i -u -c -n cryst . ../htm