X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=translate_manual;h=055e2f0ff726284d567883fb19fe94c712c24c48;hp=5d8b4a17325e6f5b69ec1982271b01cb8c9d5c18;hb=6ab412e8cf56ec9ef37ce49fc15886a3289da81a;hpb=c191e126d562466ee465aa48864b0565f89eb4ad diff --git a/translate_manual b/translate_manual index 5d8b4a1..055e2f0 100755 --- a/translate_manual +++ b/translate_manual @@ -3,9 +3,12 @@ # First build PDF version, 3 times to be completely sure. # The various auxiliary files will be needed later. -pdflatex CinelerraGG_Manual -pdflatex CinelerraGG_Manual -pdflatex CinelerraGG_Manual +pdflatex CinelerraGG_Manual.tex +makeindex CinelerraGG_Manual.idx +makeindex CinelerraGG_Manual.nlo -s nomencl.ist -o CinelerraGG_Manual.nls +pdflatex CinelerraGG_Manual.tex +makeindex CinelerraGG_Manual.idx +pdflatex CinelerraGG_Manual.tex # Now build HTML version, using auxiliary files created by pdflatex. @@ -13,18 +16,18 @@ pdflatex CinelerraGG_Manual rm -rf CinelerraGG_Manual # latex2html does not know documentclass memoir. It does work nevertheless -# but produces slightly better results if we temporarily switch to book. -mv -f CinelerraGG_Manual.tex CinelerraGG_tmp.tex -sed -e 's/{memoir}/{book}/' CinelerraGG_Manual.tex +# but may produce slightly better results if we temporarily switch to book. +#mv -f CinelerraGG_Manual.tex CinelerraGG_tmp.tex +#sed -e 's/{memoir}/{book}/' CinelerraGG_Manual.tex # translate document -#latex2html -html_version 4.0,math -use_pdftex -nouse_dvipng -image_type gif -nofootnode -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex +#latex2html -html_version 4.0,math -use_pdftex -nouse_dvipng -image_type gif -nofootnode -numbered_footnotes -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex # another alternative options combination -latex2html -html_version 4.0,math -use_pdftex -use_dvipng -image_type png -nofootnode -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex +latex2html -html_version 4.0,math -use_pdftex -use_dvipng -image_type png -nofootnode -numbered_footnotes -cut_ref_name -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex # revert back to the original documentclass -mv -f CinelerraGG_tmp.tex CinelerraGG_Manual.tex +#mv -f CinelerraGG_tmp.tex CinelerraGG_Manual.tex # this single image has to be copied explicitly cp images/cin-big.png CinelerraGG_Manual