[l2h] italic in indices, html 4.0 math entities

Ross Moore ross@ics.mq.edu.au
Thu, 19 Apr 2001 08:09:25 +1000 (EST)


> Hi,
> 
> I'm quite new to l2h (as you can probably tell from my questions anyway) and
> came across the two following problems regarding "fine-tuning" of l2h
> output. I have some knowledge of Perl, so if messing with the source code
> would be required to solve it, then so be it; however I still have no idea
> where to start searching:
> 
> 1. In math, I would like to appear indices in italic too, e.g. $x_y$ should
> become <i>x<sub>y</sub></i>, but $x_{\text{y}}$ (with amstext) should become
> <i>x</i><sub>y</sub> (the current situation)

On most browsers the italiced subscripts are unreadable;
at least that was the case back in 1998 or so.

Have you tried the different math-modes?
e.g. full parsing (expert-mode), with the command-line switch

  -html_version 4.0,math -nomath 

Perhaps it would be appropriate to put italiced super/subscripts
into this mode, if it isn't already there.

 
> 2. Instead of bitmap graphics, I would like to have the corresponding HTML
> 4.0 math entities (e.g. &Gamma; &xi; etc.) appear in the text whenever
> available.*)

The  -entities  command-line switch does this.

 
> Any help or hint is appreciated.

Explore the different command-line switches.

Have you read the chapter on LaTeX2HTML in  The LaTeX Web Companion ?
(Addison-Wesley, 1999, with reprints and translations in 2000, 2001)

This has a section explaining the different math-modes and the options
for handling character-sets and entities, in particular with math.

 
> *) Please don't respond just with: These are not supported in current
> browsers; because I know that myself :-( Mozilla rules :-)

Does Mozilla offer true support for the entities ?
If so, then fabulous.


Hope this helps,

	Ross Moore



> -- 
> Thomas Henlich
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html