From ef3875cfcc522a9deda31c1722367b3439ebbb04 Mon Sep 17 00:00:00 2001 From: Good Guy Date: Mon, 17 May 2021 13:13:12 -0600 Subject: [PATCH] sge modifications to HTML manual creation --- translate_manual | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/translate_manual b/translate_manual index 7aca587..cd2494d 100755 --- a/translate_manual +++ b/translate_manual @@ -12,9 +12,20 @@ pdflatex CinelerraGG_Manual.tex # Now build HTML version, using auxiliary files created by pdflatex. -# clean the future HTML directory +# Clean the future HTML directory rm -rf CinelerraGG_Manual +# Ensure creating the important settings file +if [ ! -f .latex2html-init ] +then + cp latex2html-init .latex2html-init +fi + +# When translating manual for context help, don't use -show_section_numbers ! +# And do use -split +3 -link 3 -nofootnode and -local_icons. +# -use_dvipng, -image_type and -bottom_navigation can be used +# according to your preferences. + # translate document (GIF images generated via gs, good for debugging) #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 @@ -22,12 +33,12 @@ rm -rf CinelerraGG_Manual #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 # Alternative currently used on the cinelerra-gg.org website / created on a Fedora system -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 +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 -# this single image has to be copied explicitly +# This single image has to be copied explicitly cp images/cin-big.png CinelerraGG_Manual -# clean temporary files in the HTML directory +# Clean temporary files in the HTML directory rm -f CinelerraGG_Manual/WARNINGS rm -f CinelerraGG_Manual/*.pl rm -f CinelerraGG_Manual/images* -- 2.26.2