[l2h] Inline math cropping
Jean-Pierre.Chretien
Jean-Pierre.Chretien at cert.fr
Thu Feb 19 09:37:30 CET 2004
Hello,
With this:
1/ This is LaTeX2HTML Version 2002-2-1 (1.71)
2/ pnmcrop: Using libpbm from Netpbm Version: Netpbm 10.3
3/ AFPL Ghostscript 7.04 (2002-01-31)
4/ TeXLive8 on Solaris-Sparc
I get this:
[snip]
/usr/local/share/ghostscript/fonts/n021003l.pfb... 1940248 598800 1863680
555232 0 done.
[snip]
GS>Running "/usr/local/netpbm/bin/pnmcrop -verbose < /tmp/l2h12894/p12922.pnm |
/usr/local/netpbm/bin/pnmcrop -verbose -bot -sides |
/usr/local/netpbm/bin/pnmcrop -verbose -l -sides > /tmp/l2h12894/p12922.t01"
pnmcrop: Background color is gray70
[snip]
Image "/tmp/l2h12894/p12922.pnm" is PPM, 37x30
Running "/usr/local/netpbm/bin/pnmcrop -verbose -sides -bot <
/tmp/l2h12894/p12922.pnm > /tmp/l2h12894/p12922.t02"
pnmcrop: Background color is gray70
pnmcrop: cropping 16 rows off the bottom
Image "/tmp/l2h12894/p12922.t02" is PPM, 37x14
Image "/tmp/l2h12894/p12922.pnm" is PPM, 37x30
Running "/usr/local/netpbm/bin/ppmquant -floyd 256 < /tmp/l2h12894/p12922.pnm |
/usr/local/netpbm/bin/pnmtopng -interlace -trans 'gray85' > s-img1.png"
[snip]
pstoimg: Written s-img1.png
%->identify p12803*
p12803.pnm PNM 37x30+0+0 DirectClass 8-bit 3.3k 0.000u 0:01
p12803.t00[1] PNM 42x36+0+0 DirectClass 8-bit 9.0k 0.000u 0:01
p12803.t00[1] PNM 42x36+0+0 DirectClass 8-bit 9.0k 0.000u 0:01
p12803.t01[2] PNM 37x30+0+0 DirectClass 8-bit 3.3k 0.000u 0:01
p12803.t02[3] PNM 37x14+0+0 DirectClass 8-bit 1.5k 0.000u 0:01
The image remains 37x30 instead of 37x14, and the inline equation
is not aligned on the baseline of the text.
Any clue ?
Oh, yes, here is the call to latex2html:
latex2html -html_version 3.2,latin1,Unicode,latin9 -no_math -no_navigation
-auto_prefix -split 0 -link 2 -no_subdir -noshow_section_numbers -debug s.tex
Same result with and without -E as dvips arg.
--
Jean-Pierre
More information about the latex2html
mailing list