Hi,
I used the patch posted by Bob Daley on 28 April i.e. to
insert
$text = $img_params...
in sub purify_caption. While it did no harm, it did not fix my
problem: the lack of figure numbers when the caption contains
maths.
My supervisor observed there was a problem with captions with l2h
whenever the package `amsmath' was used. I suspect if I didn't use
the package then Bob Daley's patch would work for me ... but I use
the `amsmath' package quite extensively. Can someone supply a patch
that will work with `amsmath'? ... or is the problem now comprehensively
fixed in later versions? I'm still using l2h98.1p1 after finding
too many problems with p2 p3 and even p4.
BTW The `align*' environment supplied by `amsmath' is far nicer than
`eqnarray*' ... but to get correct centering of the environment via
l2h I need to nest inside \DIV and \endDIV which I define as follows:
\def\DIV{\begin{rawhtml}
<br><p></p>
<div align=center>
\end{rawhtml}}
\def\endDIV{\begin{rawhtml}
</div>
<p></p>
<br clear="all">
\end{rawhtml}}
This works fine and also works to ensure centering of the `gather*'
environment. When it comes to the numbered environments, however, there is a
problem: while l2h uses its own counter for the `eqnarray' environment
(and so generates correct numbers), the `align' environment is passed
naively to dvips and each new `align' environment has its equations start
from 1. Could whoever did the fine work on implementing the `eqnarray*'
and `eqnarray' translation by l2h, please adapt these to the `amsmath'
environments: `align', `align*', `gather', `gather*'.
Regards,
Greg Gamble
___________________________________________________________________
Greg Gamble __________________ mailto:[EMAIL PROTECTED]
Department of Mathematics ___ Tel: +61-8 9380 3383
The University of Western Australia Fax: +61-8 9380 1028
NEDLANDS WA 6907 AUSTRALIA http://maths.uwa.edu.au/~gregg/
___________________________________________________________________