% Set up the page layout
% memman.pdf capter 2: Laying out the page (READ IT!)
% example: memsty.sty
-%begin{latexonly}
\settypeblocksize{8.75in}{34pc}{*}
-%end{latexonly}
% In loose reference to the theme CW.
\definecolor{CinBlueText}{RGB}{23,85,142}% "Dark blue"
% \definecolor{subsectioncolour}{RGB}{23,85,142}
% \definecolor{subsubsectioncolour}{RGB}{23,85,142}
-%begin{latexonly}
\makechapterstyle{morrow}{% requires graphicx package
\chapterstyle{default}
\renewcommand*{\chapnamefont}{%
\renewcommand*{\chaptitlefont}{% Overwrites toc
\normalfont\Huge\bfseries\sffamily\raggedleft\color{CinBlueText}}
}
-%end{latexonly}
\addtodef{\printpartname}{\color{CinBlueText}}{}% Part
\addtodef{\printchaptername}{\color{CinBlueText}}{}% Chapter
\parindent=0.0cm % first indent in section
\righthyphenmin=2 % hyphen last charecter
-%begin{latexonly}
\setsecnumdepth{subsubsection} % section numeration depth
% We use the chapter header style:
\chapterstyle{morrow}
-%end{latexonly}
% \renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
\renewcommand{\chapterheadstart}{}
$default_language = 'english';
# The value of this variable determines how many words to use in each
-# title that is added to the navigation panel (see below)
+# title that is added to the navigation panel, see below (-1 is no limit).
+# If $SHOW_SECTION_NUMBERS == 1, then one additional word counts
+# for the section number.
#
$WORDS_IN_NAVIGATION_PANEL_TITLES = 4;
+# The value of this variable determines how many words to use in each
+# Index entry (analogous to $WORDS_IN_NAVIGATION_PANEL_TITLES).
+# If not set, it equals to $WORDS_IN_NAVIGATION_PANEL_TITLES by default.
+#
+#$WORDS_IN_INDEX = 4;
+
# This number will determine the size of the equations, special characters,
# and anything which will be converted into an inlined image
# *except* "image generating environments" such as "figure", "table"
&ignore_commands( <<_IGNORED_CMDS_);
captionsetup # {}
-settocdepth # {}
fboxsep # &ignore_numeric_argument
drop # &ignore_numeric_argument
AddToShipoutPicture # {}
# clean the future HTML directory
rm -rf CinelerraGG_Manual
-# latex2html does not know documentclass memoir. It does work nevertheless
-# 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_tmp.tex >CinelerraGG_Manual.tex
+# 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
-# translate document
-#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 -numbered_footnotes -cut_ref_name -split +3 -link 3 -bottom_navigation -local_icons -t 'Cinelerra-GG Infinity' CinelerraGG_Manual.tex
+# another alternative options combination (PNG images, nicer look)
+#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 -numbered_footnotes -split +3 -link 3 -cut_ref_name -bottom_navigation -local_icons -t 'CinelerraGG_Manual' CinelerraGG_Manual.tex
-
-# revert back to the original documentclass
-#mv -f CinelerraGG_tmp.tex CinelerraGG_Manual.tex
+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
# this single image has to be copied explicitly
cp images/cin-big.png CinelerraGG_Manual