[l2h] Math in section title

Ross Moore ross@ics.mq.edu.au
Wed, 25 Sep 2002 18:55:18 +1000 (EST)


> 
> I have a simple equation in a section title.  I am using amsmath and L2H 
> 2002-2 (1.70).  The LaTeX output is perfect, i.e. the equation is 
> included everywhere it should be (TOC, section heading, etc.) and scales 
> correctly.
 
> in the LaTeX source.  In this TOC "copy" the equation displays fine, but 
> the real TOC (i.e. the separate html page accessed from the contents 
> navigation button when a \tableofcontents is included) does not contain 
> the equation.  The html source for this page is completely missing the 
> <img> tag for the equation.  I guess I could copy and paste the tag from 

Putting mathematics into section titles can be rather awkward,
with any form of LaTeX. Sometimes it works OK, other times it does not.
It depends on specifically which macros are being used, whether T-of-C entries
and/or Bookmarks are being created, and is related to the moving-argument
concept in LaTeX.

Similarly it can be quite awkward with LaTeX2HTML.

Please send me an example --- cut down as much as possible please --
that exhibits the bad behaviour. I'll test it, to determine the best
way to handle this specific case, and whether it leads to a general
principle that can be implemented within LaTeX2HTML to help lessen
the occurrence of this type of error in the future.


Hope this helps,

	Ross Moore

 
> There is a separate issue of getting the image to scale correctly in the 
> heading of the actual html file for that particular section.  I've tried 

That's a lot harder to automate, because the same piece of LaTeX source
is being used in multiple places:
	heading on a page, TOC, text of navigation links.

A single image is made for the maths, whereas you would really like
at least 2 images, at different sizes.

Remind me again in 3 months (or so) and I'll see if I've time then
to tackle this.



Hope this helps,

	Ross Moore


> \protect to no avail.  Any suggestions for both or either of these 
> issues will be appreciated.
> 
> -- 
> Darrell
> 
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html