<html>
<body>
<font size=3>The conclusion that replacing graphics by graphicx fixes the
problem was incorrect. I now think that upgrading to
ghostscript-8.64 on Mac OS X fixed it. Note that this required changing
iconv to libiconv in three places (in one file) before it would link. -
jos<br><br>
At 11:40 PM 3/13/2009, Julius Smith wrote:<br>
<blockquote type=cite class=cite cite="">I've discovered that the problem
goes away if I replace<br><br>
\usepackage{graphics}<br><br>
with<br><br>
\usepackage{graphicx}<br><br>
(I also updated to ghostscript-8.64, which did not seem to make any
difference.)<br><br>
Julius<br><br>
At 04:13 PM 3/13/2009, Julius Smith wrote:<br>
<blockquote type=cite class=cite cite="">Somewhere around
ghostscript-8.63 (and presumably somewhat earlier),<br>
all images generated by the latex2html's pstoimg utility became
empty.<br>
Some debugging revealed that the problem could be worked around
by<br>
disabling the $have_geometry variable in pstoimg. This results in no<br>
translation or cropping of the image when converting from PostScript<br>
to .pnm using gs. The cropping is then done later by pnmcrop. Fixing<br>
this bug will speed up image translation. I first noticed the
problem<br>
very recently (on Fedora 10 and Mac OS X).<br><br>
Here is the relevant diff for pstoimg:<br><br>
diff -cb pstoimg-prv pstoimg<br>
*** pstoimg-prv Sat Dec 27 04:54:49 2008<br>
--- pstoimg Fri Mar 13 03:39:48 2009<br>
***************<br>
*** 961,967 ****<br>
$bbw =
int($bbw + 0.99);<br>
$bbh =
int($bbh + 0.99);<br>
$GEOMETRY =
"${bbw}x${bbh}";<br>
!
$have_geometry = 1;<br>
last;<br>
}<br>
}<br>
--- 968,974 ----<br>
$bbw =
int($bbw + 0.99);<br>
$bbh =
int($bbh + 0.99);<br>
$GEOMETRY =
"${bbw}x${bbh}";<br>
! #jos:
$have_geometry = 1;<br>
last;<br>
}<br>
}<br>
***************<br>
*** 1001,1007 ****<br>
$bbw += 10; # add a 5pt margin for
safety<br>
$bbh += 40; # add a 20pt margin for
safety<br>
$GEOMETRY = "${bbw}x$bbh";<br>
! $have_geometry = 1;<br>
}<br>
if($have_geometry) {<br>
$gs_size = "-g$GEOMETRY ";<br>
--- 1008,1014 ----<br>
$bbw += 10; # add a 5pt margin for
safety<br>
$bbh += 40; # add a 20pt margin for
safety<br>
$GEOMETRY = "${bbw}x$bbh";<br>
! #jos: $have_geometry = 1;<br>
}<br>
if($have_geometry) {<br>
$gs_size = "-g$GEOMETRY ";<br><br>
Needless to say, this is just a workaround for the problem, and
really<br>
the arguments to ghostscript should be properly debugged.<br><br>
-- <br>
"Anybody who knows all about nothing knows everything" --
Leonard Susskind<br>
_______________________________________________<br>
latex2html mailing list<br>
latex2html@tug.org<br>
<a href="http://tug.org/mailman/listinfo/latex2html" eudora="autourl">
http://tug.org/mailman/listinfo/latex2html</a></blockquote><br><br>
Julius O. Smith III <jos@ccrma.stanford.edu><br>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical
Engineering<br>
CCRMA, Stanford University<br>
<a href="http://ccrma.stanford.edu/~jos/" eudora="autourl">
http://ccrma.stanford.edu/~jos/</a> <br>
_______________________________________________<br>
latex2html mailing list<br>
latex2html@tug.org<br>
<a href="http://tug.org/mailman/listinfo/latex2html" eudora="autourl">
http://tug.org/mailman/listinfo/latex2html</a></blockquote>
<x-sigsep><p></x-sigsep>
<br>
Julius O. Smith III <jos@ccrma.stanford.edu><br>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical
Engineering<br>
CCRMA, Stanford University<br>
<a href="http://ccrma.stanford.edu/~jos/" eudora="autourl">
http://ccrma.stanford.edu/~jos/</a> </font></body>
</html>