Author: bugman Date: Fri Oct 10 11:50:20 2014 New Revision: 26234 URL: http://svn.gna.org/viewcvs/relax?rev=26234&view=rev Log: Big bug fix for the text size formatting of the HTML manual. The previous fix for the user function chapter of the HTML manual (http://www.nmr-relax.com/manual/Alphabetical_listing_user_functions.html) did not fix the problem. The issue was with the {exampleenv} defined using a \newenvironment command in the preamble. The command \footnotesize was bing used in the start, but nothing was changing the font size at the end. In LaTeX, the ending of the environment appears to reset the font size, whereas in latex2html it does not. Therefore all text after this environment is prepended by <SMALL CLASS="FOOTNOTESIZE"> in the HTML manual and this keeps adding to the text after each new exampleenv environment. Modified: trunk/docs/latex/relax.tex Modified: trunk/docs/latex/relax.tex URL: http://svn.gna.org/viewcvs/relax/trunk/docs/latex/relax.tex?rev=26234&r1=26233&r2=26234&view=diff ============================================================================== --- trunk/docs/latex/relax.tex (original) +++ trunk/docs/latex/relax.tex Fri Oct 10 11:50:20 2014 @@ -108,7 +108,7 @@ \newcommand{\ufus}{\_\linebreak[0]} % New environment. -\newenvironment{exampleenv}{\footnotesize \begin{ttfamily} \sloppy}{\fussy \end{ttfamily}} +\newenvironment{exampleenv}{\begin{footnotesize} \begin{ttfamily} \sloppy}{\fussy \end{ttfamily} \end{footnotesize}} \newenvironment{spacedpara}{\setlength{\parindent}{0pt} \setlength{\parskip}{2ex plus 0.5ex minus 0.2ex}}{} % Modify the Toc, Lof, and Lot layout.