Prevent conflict with lower and upper case for outlier cases
[goodguy/cin-manual-latex.git] / translate_manual
1 #!/bin/sh
2
3 # First build PDF version, 3 times to be completely sure.
4 # The various auxiliary files will be needed later.
5
6 pdflatex CinelerraGG_Manual.tex
7 makeindex CinelerraGG_Manual.idx
8 makeindex CinelerraGG_Manual.nlo -s nomencl.ist -o CinelerraGG_Manual.nls
9 pdflatex CinelerraGG_Manual.tex
10 makeindex CinelerraGG_Manual.idx
11 pdflatex CinelerraGG_Manual.tex
12
13 # Now build HTML version, using auxiliary files created by pdflatex.
14
15 # clean the future HTML directory
16 rm -rf CinelerraGG_Manual
17
18 # translate document (GIF images generated via gs, good for debugging)
19 #latex2html -html_version 4.0,math -use_pdftex -nouse_dvipng -image_type gif -nofootnode -show_section_numbers -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex
20
21 # another alternative options combination (PNG images, nicer look)
22 #latex2html -html_version 4.0,math -use_pdftex -use_dvipng -image_type png -nofootnode -show_section_numbers -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex
23
24 # Alternative currently used on the cinelerra-gg.org website / created on a Fedora system
25 latex2html -html_version 4.0,math -use_pdftex -nouse_dvipng -long_titles 5 -image_type gif -nofootnode -show_section_numbers -split +3 -link 3 -bottom_navigation -local_icons -t 'CinelerraGG_Manual' CinelerraGG_Manual.tex
26
27 # this single image has to be copied explicitly
28 cp images/cin-big.png CinelerraGG_Manual
29
30 # clean temporary files in the HTML directory
31 rm -f CinelerraGG_Manual/WARNINGS
32 rm -f CinelerraGG_Manual/*.pl
33 rm -f CinelerraGG_Manual/images*