[l2h] custom_titles affects counters in image file

Dr Nicola L C Talbot nlct at cmp.uea.ac.uk
Tue Jan 15 10:19:53 CET 2008


Hi Ross,

Thanks for your reply.

On Tue, 15 Jan 2008, Ross Moore wrote:

> On 15/01/2008, at 1:22 AM, nlct at cmp.uea.ac.uk wrote:
>
> > When I used -custom_titles, the sectioning counters in the image
> > file are
> > out by a factor of 2.
> > [snip]
>
> Normally it is not a good idea to include counter-values
> within images. There are several aspects about the way
> that LaTeX2HTML works that makes it hard to ensure that
> the LaTeX counters have the correct values at the time
> when the images are created.

Unfortunately the equation numbers (that depend on the chapter) are
incorrect. So in the text, the equation is referred to as, say, 9.2, but
the image shows the equation labelled as 18.2.

>   ... since you seem to be prepared to delve into the Perl scripts,
> you could try writing your own versions of these subroutines.
> Put them into an initialization file, so that they override the
> one's that LaTeX2HTML provides.

I'll investigate further ;-)

> If this works for you, then you have the behaviour that you require.
> I'll then try to determine why the original coding was wrong,
> and whether it is always wrong or only sometimes wrong.
> That is necessary to decide how best to fix it.

Regards
Nicola Talbot

____________________________________________

Dr Nicola Talbot
School of Computing Sciences
University of East Anglia
Norwich. NR4 7TJ. UK

web    : http://theoval.cmp.uea.ac.uk/~nlct/
email  : nlct at cmp.uea.ac.uk




More information about the latex2html mailing list