I am using lyx (ver .12.0) to develope the manual for my Mysql C++ API
(sunsite.unc.edu/kevina/mysql++).  I am then using latex2html (march 98 rel.)
to convert the document to html.  It does a pretty good job except for
centering paragraphs and the lyx-code environment.

When I mark a paragraph as centered it simply ignores it.  The Latex code
looks like this...

{\centering GNU LIBRARY GENERAL PUBLIC LICENSE \\
Version 2, June 1991\par}

And it doesn't properly display the lyxcode environment.  It indents it ok but
it doesn't put it in a fixed width font like it should be.  The lyxcode
environment is defined as follows.

\newenvironment{lyxcode}
  {\begin{list}{}{
    \setlength{\rightmargin}{\leftmargin}
    \raggedright
    \setlength{\itemsep}{0pt}
    \setlength{\parsep}{0pt}
    \ttfamily}%
   \item[]}
  {\end{list}}

Is there any easy way to fix this without having to manually modifying the
latex code.

Thanks in advance.

Reply via email to