> Hi Ross,
> 
> I have reduced the file to the absolute minimum
> and also updated to the l2h_devel (990311) Version.
> You will find the *.tex file in
> 
> http://genome.imb-jena.de/~schattev/ross_moore
> 
> and the l2h translation in
> 
> http://genome.imb-jena.de/~schattev/ross_moore/paper
 
Got it. Thanks.

> I have also included the stdout and stderr in
> the top directory.
> 
> I'm pretty sure that I'm doing some very stupid
> mistake. But I did not find any hint on what it
> could be in the documentation.
 
The problem is all that non-standard (La)TeX stuff in the preamble.
There are several things:

1.

\usepackage{geometry}
\geometry{verbose,a4paper,lmargin=20mm,rmargin=20mm}

LaTeX2HTML has no special support yet for the  geometry  package,
so it doesn't know what to do with the \geometry command.

By default, it will ignore the  \geometry  ...
...but it doesn't know to gobble the argument as well.

There are two approaches to handle this.
Easiest for a 1-off situation is to "comment" it out,
as follows:

\usepackage{geometry}
%begin{latexonly}
\geometry{verbose,a4paper,lmargin=20mm,rmargin=20mm}
%end{latexonly}

Note the special form of comment, which has meaning *only*
to LaTeX2HTML. It will ignore the contents, whereas
LaTeX will ignore the comments themselves.


Another way is to declare that \geometry is to be ignored,
along with a braced argument.

Find the section in the  latex2html.config  that starts:

        &ignore_commands( <<_IGNORED_CMDS_);

within the following list of commands insert a line:

        geometry # {}

That will fix this (minor) problem for evermore.
 

2.

Similarly screen-out all the guff about margins
and item-labels, ...

        ... and that \special{!... raw PostScript code ...}
definitely *must* go.
You will *never* get an image of the correct size if the
word 'DRAFT' has been slathered across every page.


e.g.
\makeatletter
%begin{latexonly}  % <<<---- Insert this.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\lyxline}[1]{
  {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\special{!userdict begin 

...
...

\leftmargini1.4em
\leftmarginii1.3em
\leftmarginiii1.3em
\leftmarginiv1.3em
\renewcommand{\labelenumi}{\arabic{enumi})}
\renewcommand{\labelenumii}{\alph{enumii})}
\renewcommand{\labelenumiii}{\arabic{enumiii}.}
\renewcommand{\labelenumiv}{\alph{enumiv}.}
\parskip-1ex
\tabcolsep0.2em

\makeatother

\renewcommand\labelitemi[0]{\(\blacktriangleright\)}
\renewcommand\labelitemii[0]{\(\vartriangleright\)}
\renewcommand\labelitemiii[0]{\(\triangleright\)}
%end{latexonly} % <<<---- Insert this.


All this header stuff really belongs in a separate file,
or package, to be input with a  \usepackage command.

Then we wouldn't have to insert these special comments.
(Though there might still be remaining problems.)



When this header stuff is removed, so that LaTeX2HTML never
has to process it, then I get a smooth translation:

        http://www-texdev.mpce.mq.edu.au/RUBEN/paper/node1.html

Comparing with  xvdi paper.dvi , I cannot see anything else
that ought to be called an error.


Hope this helps,

        Ross Moore

Reply via email to