3 # First build PDF version, 3 times to be completely sure.
4 # The various auxiliary files will be needed later.
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
13 # Now build HTML version, using auxiliary files created by pdflatex.
15 # Clean the future HTML directory
16 rm -rf CinelerraGG_Manual
18 # Ensure creating the important settings file
19 if [ ! -f .latex2html-init ]
21 cp latex2html-init .latex2html-init
24 # When translating manual for context help, don't use -show_section_numbers !
25 # And do use -split +3 -link 3 -nofootnode and -local_icons.
26 # -use_dvipng, -image_type and -bottom_navigation can be used
27 # according to your preferences.
29 # translate document (GIF images generated via gs, good for debugging)
30 #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
32 # another alternative options combination (PNG images, nicer look)
33 #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
35 # Alternative currently used on the cinelerra-gg.org website / created on a Fedora system
36 latex2html -html_version 4.0,math -use_pdftex -nouse_dvipng -long_titles 5 -image_type gif -nofootnode -split +3 -link 3 -bottom_navigation -local_icons -t 'CinelerraGG_Manual' CinelerraGG_Manual.tex
38 # This single image has to be copied explicitly
39 cp images/cin-big.png CinelerraGG_Manual
41 # Clean temporary files in the HTML directory
42 rm -f CinelerraGG_Manual/WARNINGS
43 rm -f CinelerraGG_Manual/*.pl
44 rm -f CinelerraGG_Manual/images*