1#!/bin/sh 2######################################################################### 3## 4#W make_doc make SONATA Package documentation Alexander Hulpke 5## 6 7echo "TeXing documentation:ref" 8# TeX the manual and build its bibliography 9# CAVEAT: For version 2.4 manualindex did not produce a proper file manual.mst 10# for the reference-manual, hence no index. Copying manual.mst for the 11# tutorial-manual into the directory ref/ did the trick. 12(cd ref;tex manual;bibtex manual\ 13tex manual; ../../doc/manualindex manual\ 14tex manual;pdftex manual;pdftex manual) 15 16echo "TeXing documentation:tut" 17(cd tut;tex manual;bibtex manual\ 18tex manual; ../../doc/manualindex manual\ 19tex manual;pdftex manual;pdftex manual) 20 21# The HTML version of the manual 22mkdir -p ../htm 23mkdir -p ../htm/ref 24mkdir -p ../htm/tut 25echo "Creating HTML documentation:ref" 26(cd ref;../convert.pl -t -c -n SONATA . ../../htm/ref) 27(cd ../htm/ref;for d in *.htm; do sed 's/cite\([^ .,]\+\)/[\1]/g' < $d > tmp; cp tmp $d; done; rm -f tmp) 28 29#(cd ref;/home/staff/juergen/SSOONNAATTAA/gap/etc/convert.pl -t -c -n SONATA . ../../htm/ref) 30echo "Creating HTML documentation:tut" 31(cd tut;../convert.pl -t -c -n SONATA-tutorial . ../../htm/tut) 32(cd ../htm/tut;for d in *.htm; do sed 's/cite\([^ .,]\+\)/[\1]/g' < $d > tmp; cp tmp $d; done; rm -f tmp) 33#(cd tut;/home/staff/juergen/SSOONNAATTAA/gap/etc/convert.pl -t -c -n SONATA-tutorial . ../../htm/tut) 34######################################################################### 35## 36#E 37