[l2h] question about ~\ref{} conversion

Ross Moore ross@ics.mq.edu.au
Thu, 9 Aug 2001 03:25:43 +1000 (EST)


> Thanks for the help, I appreciate it.
> 
> > See whether or not you like the results from 'expert' mode:
> >
> >    latex2html -html_version 3.2,math -nomath    <filename>.tex
> >
> > (or with  4.0  instead of 3.2 )
> >
> > With this, you'll get ascii for everything that make sense to be ascii,
> > and images for everything else; e.g. fractions, \sum, \pi, ...
> 
> This mode is quite nice. It adds the figure dereferencing and hotlinks I
> wanted. However, it still includes \pi, \sum, etc as images when they're
> inline with text. What I'd like to do is make any equation that occurs

That's because your browser doesn't have an easy way to show these characters inline.
Not until there is proper Unicode support in browsers, with adequate fonts
to match, is this a reasonable proposition.

Just in case you *do* have such support, then try:

latex2html -html_version 3.2,math,unicode -nomath -entities  <filename>.tex

or

latex2html -html_version 3.2,math,unicode,utf8  -nomath -entities  <filename>.tex



> inline with text, as in this one $y = mx + b$, be translated to ascii.
> This mode seems to do that, except for the \pi, \lambda, etc. I want math
> that is defined with \begin{equation} and \end{equation} to be translated
> to images.
> 
> The summary is I want everything outside of the \begin{equation} and \end
> {equation} to be treated as text, and everything inside to be converted to
> images. Do you have an idea how I might go about that?
> 
> > If you think that this goes overboard with its mixture of ascii and images,
> > then try 'pro' mode:
> >
> >    latex2html -html_version 3.2,math -nomath -no_math_parsing  <filename>.tex
> 
> This is a little too agressive for me, it has lots of images. For
> instance, superscripts made with $^1$ are converted to images.

Hmm; that shouldn't happen; try  $^{1}$ instead, or $ ^{1}$.


Hope this helps,

	Ross

> 
> Matt
> 
>