[l2h] l2h-99.8 bug (linux) ???

M. Braeutigam m.braeutigam@fgan.de
Wed, 18 Jul 2001 11:40:31 +0000


This is a multi-part message in MIME format.
--------------2C5F6C864F2E9F342C53C296
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

l2h-99.8 (and earlier versions) has problems in
enumerating figures if in the caption text
german umlaute are uses while the german.sty
is in use. Sometimes the numbers are missing
completely, sometimes they are in wrong order.
There are warning messages in the l2h log.

Attached:
   ca-er.tex	a simple LaTeX source
   f1.eps       a simple figure used by ca-er
   l2h.log      the latex2html log file

The example shows missing figure number in the
caption of the second figure and a warning in
the l2h log file.

The following behavior has also been observed:

- Figure numbers are correct when the original
latex syntax is used for german umlaute (e.g. \"o)
This may help until a bug fix has been published!

- The error does not occur if there is text in the
optional argument of the caption directive (giving
an different text for the list of figures) 

--

M. Braeutigam
FGAN-FHR/HSZ, Wachtberg, GERMANY
--------------2C5F6C864F2E9F342C53C296
Content-Type: application/x-tex;
 name="ca_er.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ca_er.tex"

% mbr20010718
\documentclass[12pt]{article}
\usepackage{graphics}
\usepackage{german}
\usepackage{html}

\begin{document}

This is ok (english text in caption)
\begin{figure}[!ht]
\includegraphics{f1.eps}
\caption{Figure 1}
\end{figure}

This causes error report and does not
show number of figure
(uses function out of 'german.sty' for o-umlaut
in caption)
\begin{figure}[!ht]
\includegraphics{f1.eps}
\caption{Sch"ones Bild}
\end{figure}

\end{document}





--------------2C5F6C864F2E9F342C53C296
Content-Type: application/postscript;
 name="f1.eps"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="f1.eps"

%!PS-Adobe-2.0 EPSF-2.0
%%Title: f1.eps
%%Creator: fig2dev Version 3.2 Patchlevel 1
%%CreationDate: Wed Jul 18 11:22:48 2001
%%For: root@pc47-s74 (root)
%%Orientation: Portrait
%%BoundingBox: 0 0 103 46
%%Pages: 0
%%BeginSetup
%%EndSetup
%%Magnification: 1.0000
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put
/col-1 {0 setgray} bind def
/col0 {0.000 0.000 0.000 srgb} bind def
/col1 {0.000 0.000 1.000 srgb} bind def
/col2 {0.000 1.000 0.000 srgb} bind def
/col3 {0.000 1.000 1.000 srgb} bind def
/col4 {1.000 0.000 0.000 srgb} bind def
/col5 {1.000 0.000 1.000 srgb} bind def
/col6 {1.000 1.000 0.000 srgb} bind def
/col7 {1.000 1.000 1.000 srgb} bind def
/col8 {0.000 0.000 0.560 srgb} bind def
/col9 {0.000 0.000 0.690 srgb} bind def
/col10 {0.000 0.000 0.820 srgb} bind def
/col11 {0.530 0.810 1.000 srgb} bind def
/col12 {0.000 0.560 0.000 srgb} bind def
/col13 {0.000 0.690 0.000 srgb} bind def
/col14 {0.000 0.820 0.000 srgb} bind def
/col15 {0.000 0.560 0.560 srgb} bind def
/col16 {0.000 0.690 0.690 srgb} bind def
/col17 {0.000 0.820 0.820 srgb} bind def
/col18 {0.560 0.000 0.000 srgb} bind def
/col19 {0.690 0.000 0.000 srgb} bind def
/col20 {0.820 0.000 0.000 srgb} bind def
/col21 {0.560 0.000 0.560 srgb} bind def
/col22 {0.690 0.000 0.690 srgb} bind def
/col23 {0.820 0.000 0.820 srgb} bind def
/col24 {0.500 0.190 0.000 srgb} bind def
/col25 {0.630 0.250 0.000 srgb} bind def
/col26 {0.750 0.380 0.000 srgb} bind def
/col27 {1.000 0.500 0.500 srgb} bind def
/col28 {1.000 0.630 0.630 srgb} bind def
/col29 {1.000 0.750 0.750 srgb} bind def
/col30 {1.000 0.880 0.880 srgb} bind def
/col31 {1.000 0.840 0.000 srgb} bind def

end
save
2.0 44.0 translate
1 -1 scale

/cp {closepath} bind def
/ef {eofill} bind def
/gr {grestore} bind def
/gs {gsave} bind def
/sa {save} bind def
/rs {restore} bind def
/l {lineto} bind def
/m {moveto} bind def
/rm {rmoveto} bind def
/n {newpath} bind def
/s {stroke} bind def
/sh {show} bind def
/slc {setlinecap} bind def
/slj {setlinejoin} bind def
/slw {setlinewidth} bind def
/srgb {setrgbcolor} bind def
/rot {rotate} bind def
/sc {scale} bind def
/sd {setdash} bind def
/ff {findfont} bind def
/sf {setfont} bind def
/scf {scalefont} bind def
/sw {stringwidth} bind def
/tr {translate} bind def
/tnt {dup dup currentrgbcolor
  4 -2 roll dup 1 exch sub 3 -1 roll mul add
  4 -2 roll dup 1 exch sub 3 -1 roll mul add
  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
  bind def
/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
  4 -2 roll mul srgb} bind def
/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
/$F2psEnd {$F2psEnteredState restore end} def
%%EndProlog

$F2psBegin
10 setmiterlimit
n -1000 1697 m -1000 -1000 l 2597 -1000 l 2597 1697 l cp clip
 0.06299 0.06299 sc
% Polyline
15.000 slw
n 0 0 m 1575 0 l 1575 675 l 0 675 l cp gs col0 s gr 
/Helvetica-Bold ff 360.00 scf sf
0 450 m
gs 1 -1 sc (Figure 1) col0 sh gr
$F2psEnd
rs

--------------2C5F6C864F2E9F342C53C296
Content-Type: text/plain; charset=us-ascii;
 name="l2h.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="l2h.log"

This is LaTeX2HTML Version 99.2beta8 (1.46)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2  



Loading /usr/local/l2h-99.8/versions/html3_2.pl

 *** processing declarations ***

Loading /usr/local/l2h-99.8/versions/latin1.pl
OPENING /usr/local/l2h-99.8/ERRORS/ca_er.tex 

Cannot create directory ca_er/: File exists, reusing it.
Reusing directory ca_er/:

Note: Working directory is /usr/local/l2h-99.8/ERRORS/ca_er
Note: Images will be generated in /tmp/l2h3553




Loading /usr/local/l2h-99.8/styles/texdefs.perl...
Loading /usr/local/l2h-99.8/styles/article.perl
Loading /usr/local/l2h-99.8/styles/graphics.perl
Loading /usr/local/l2h-99.8/styles/german.perl
german style interface for LaTeX2HTML, revised: 23 May 1997

Loading /usr/local/l2h-99.8/styles/html.perl
Reading ...
%++
@@@@@@@@

Reading aux file: /usr/local/l2h-99.8/ERRORS/ca_er.aux ...
Processing macros ...++...........
Translating ...
0/1:top of ca_er: for ca_er.html

 *** translating preamble ***
.....
 *** preamble done ***
;.,,...,,...;

1/1:sectionstar:.."\"{U}ber dieses Dokument ..." for node1.html
;;.

Doing section links ......

*********** WARNINGS ***********  

No number for "SchönesBild"

Unknown commands: active_at_dq dq_at_prtct
Done.

--------------2C5F6C864F2E9F342C53C296--