[l2h] cropping bars --- problem persists :(

C.W.J. Beenakker beenakker at lorentz.leidenuniv.nl
Fri Jan 31 16:30:24 CET 2003


Our mileage varies, Christian!
I looked into my l2conf.pm, but it had only the option -E for dvips; so, unfortunately,
Shihegaru's solution works for Christian but not for me; I am appending some
debugging output from latex2html; the figure img9.gif has a cropping bar at the bottom;
I'm clueless how to fix this...
Carlo Beenakker

Christian Mensing wrote on Fri Jan 31 14:34:36 CET 2003
>thanks to Shigeharu TAKENO the cropping problem was solved!
>
>While  l2hconf.pin defines only
> $DVIPSOPT .= " -E";
>the created l2hconf.pm says
>$DVIPSOPT = ' -Ppdf  -E';
>After removing "-Ppdf" in *l2hconf.pm* the cropping problem was solved.

---------debugging output from latex2html------------------------------------------------

[english]This is jLaTeX2HTML Version 2002 (1.62) JA patch-1.4
by Kenshi Muto, Debian Project.
.......................
Generating postscript images using dvips ...
/usr/bin/dvips -S1 -i  -E -o/tmp/l2h22213/image ./images.dvi
Debug (syswait): Running "/usr/bin/dvips -S1 -i  -E -o/tmp/l2h22213/image
./images.dvi
at /usr/bin/latex2html line 3892
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
' TeX output 2003.01.31:1606' -> /tmp/l2h22213/image
(-> /tmp/l2h22213/image009) <texc.pro><special.pro><color.pro>[9]
.......................
Converting image #9
Debug (syswait): Running "/usr/bin/perl /usr/bin/pstoimg -type gif -debug
-tmp /tmp/l2h22213 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 69x19
-margins 86,72 -crop abls -transparent -out img9.gif /tmp/l2h22213/image009.ps"
 at /usr/bin/latex2html line 4224
pstoimg V2002 (Revision 1.16, Perl 5.008)
pstoimg: Temporary directory is /tmp/l2h22213
pstoimg: Processing /tmp/l2h22213/image009.ps
pstoimg: EPSF dimensions are 76x27
pstoimg: Running /usr/bin/gs  -sDEVICE=ppmraw -g122x44  -r115
-dTextAlphaBits=4 -sOutputFile=/tmp/l2h22213/p22550.pnm
GS>-85 -694 translate
GS>(/tmp/l2h22213/image009.ps) run
GS>showpage
GS>quit
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb
... 2411748 1048213 1642520 347466 0 done.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb...
 2786708 1374111 1662616 358654 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb
... 2411748 1048213 1642520 347466 0 done.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb...
 2786708 1374111 1662616 358654 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
GS>GS>>>showpage, press <return> to continue<<
GS>>>showpage, press <return> to continue<<
GS>Running "/usr/bin/pnmcrop -verbose  < /tmp/l2h22213/p22550.pnm |
/usr/bin/pnmcrop -verbose  -bot  -sides  | /usr/bin/pnmcrop -verbose  -l  -sides   >
/tmp/l2h22213/p22550.t01"
pnmcrop: Background color is gray70
pnmcrop: cropping 1 row off the top
pnmcrop: cropping 3 rows off the bottom
pnmcrop: cropping 2 cols off the left
pnmcrop: cropping 3 cols off the right
pnmcrop: Background color is black
pnmcrop: Not cropping.  No border found.
pnmcrop: Background color is black
pnmcrop: cropping 2 cols off the left
Image "/tmp/l2h22213/p22550.pnm" is PPM, 115x40
pnmcrop: Background color is gray70
pnmcrop: Not cropping.  No border found.
Image "/tmp/l2h22213/p22550.t02" is PPM, 115x40
Image "/tmp/l2h22213/p22550.pnm" is PPM, 115x40
Running "/usr/bin/ppmquant -floyd 256 < /tmp/l2h22213/p22550.pnm |
/usr/bin/ppmtogif -interlace -trans '#ffffff'  > img9.gif"
ppmquant: making histogram...
ppmquant: 19 colors found
ppmquant: choosing 256 colors...
ppmquant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 19 colors found
pstoimg: Written img9.gif
Debug (syswait): Finished child process: #22550
 at /usr/bin/latex2html line 4224


More information about the latex2html mailing list