Hello,
I made a short test with l2h 98.1p3 and found the following
errors/problems.
1. local.pm file
----------------
Two errors concern the creation of the local.pm file by
configure-pstoimg. This might be a problem that only occurs
at this site; something similar has happened here before.
a) The variable $GS_LIB contains the help output of some command
(all on one line):
$GS_LIB = ' -q `quiet' mode, suppress most messages;
-r<res> set resolution, in pixels per inch;
-s<name>=<string> define name as string;
-sDEVICE=<devname> select initial device;
-sOutputFile=<file> select output file; embed %d for page #,;
- means stdout, use |command to pipe';
# Inserted by configure-pstoimg
In the former versions, configure-pstoimg left this variable empty and
issued a warning, so I know how to fix this. I didn't see a warning
message this time.
b) The new variable $GSLANDSCAPE doesn't get a value, again I didn't see a
warning message. What is it supposed to contain?
2. \begingroup-\endgroup pairs
------------------------------
Another error concerns \begingroup-\endgroup pairs in math mode and the
recognition of a closing $. E.g., l2h dies with the following output:
*** Error: unclosed math or extra `$', before:
t=<<1784>>\begin<<4526>>tex2html_begingroup<<4526>>
Died at /usr/local/bin/latex2html line 2402.
The input line is from the aux-file:
\@writefile{lof}{\contentsline {figure}{\numberline {4.12}
{\ignorespaces Geometrische Deutung des de Casteljau-Algorithmus
($t={\begingroup 1\endgroup \over 3}$)}}{122}}
There are two or three more instances like that.
3. eqnarraystar
---------------
If $NO_SIMPLE_MATH = 1 (or -no_math is used), eqnarray* environments are
written to images.tex as eqnarraystar environments, which LaTeX of
course doesn't know. BTW, a workaround is to add
\newenvironment{eqnarraystar}{\begin{eqnarray*}}{\end{eqnarray*}}
to the preamble or a local package.
4. Missing space after inline math at end of line
-------------------------------------------------
In the HTML file, spaces are missing after the images of inlined
formulae, that end a line in the .tex file. Bob Daley has reported
this before for l2h 98.1p1.
5.
--
Something that isn't a real bug: the "Writing image" message is issued
twice for each image.
I call LaTeX2HTML with the following options:
latex2html -external_file mi -dir $1 -show_section_numbers -short_index $1
Furthermore, the following settings are in effect:
$NO_SIMPLE_MATH = 1;
$REUSE = 1;
Christoph