[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> 
> I have some questions. I'm using LaTeX2HTML for a user/online-doc
> for an Intranet-application.
> 
> I'm getting problems when using:
> 
> \begin{enumerate}
> \item foo
> \item bar
> \end{enumerate}
> 
> That will result in something like:
> 
> <DL COMPACT>
> <DT>.
> <DD>foo
> <DT>.
> <DD>bar
> </DL>
> 
> In TeX its ok, in HTML not, it looks like:
> 
> .  foo
> .  bar
> 
> missing the numbers.

That should not happen.
What version of LaTeX2HTML are you using ?
Are there local customisations that could be affecting this?

Perhaps elsewhere in the document you have commands that
redefine how counter values are shown;
 e.g. \renewcommand{\labelenumi}{\arabic{....}}


> What's wrong? Or what must I do to get HTML from L2H like:
> 
> <ol>
> <li>foo</li>
> <li>bar</li>
> </ol>
 
LaTeX2HTML up to v98 uses <DL COMPACT> with {enumerate}
environments, due to:
  1. the possibility of having  \item[...] to upset
the numerical sequence
  2. the use of  \begin{enumerate}[....] to specify
non-numerical parts to the item-numbering;
  3. \usecounter  to specify starting-values other than 1.

Now, from v99.1 (beta), *simple* numerical lists will
use <OL>  when it can be determined that 1., 2., and 3.
are not applicable to the particular {enumerate} environment.


This has been requested before, so now we'll have it.
The updated version will be at the developer's site in Bayreuth,
within a day or two.

> or correct usage of dd-tags:
> 
> <dl>
> <dt>1.</dt>
> <dd>foo</dd>
> <dt>2.</dt>
> <dd>bar</dd>
> </dl>
 
This is what your code ought to have produced
(but with 'COMPACT" and without closing tags).


> Could you help me? Thank you very much.
> 
> Best regards,
> 

Hope this helps,

        Ross Moore

Reply via email to