[l2h] Illegal seek in pstoimg
William T. Martin
martin@orie.cornell.edu
Fri, 16 Aug 2002 06:44:22 -0400
I turned debugging on, I find than an error occurs in ppmtogif (ppmtogif:
EOF / read error reading magic number) when the latex2html image is
converted. I am using LaTeX2HTML Version 2002 (1.67). Any ideas?
-- Bill --
Here is some of the output with -debug turned on:
77 % latex2html -debug -html 2.0 fall02
Note: Loading /net/trout/export/home2/martin/.latex2html-init
Note: Initialising with file:
/net/trout/export/home2/martin/.latex2html-init
This is LaTeX2HTML Version 2002 (1.67)
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 2.0
...
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA. All rights
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>GS>>>showpage, press <return> to continue<<
GS>Image "/tmp/l2h22589/p22602.pnm" is PPM, 778x2087
Running "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif"
pnmcrop: cropping 2087 rows off the top
pnmcrop: cropping 777 cols off the left
ppmquant: making histogram...
ppmquant: 0 colors found
ppmquant: choosing 256 colors...
ppmtogif: EOF / read error reading magic number
pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif" failed: Illegal seek
On Fri, Aug 16, 2002 at
06:15:22AM -0400,
William T. Martin wrote: >
> I am getting an "illegal seek" error message in pstoimg. According
> to one post, there is a fix for this in the CVS latex2html distribution,
> but I cannot find this. Has anyone experienced this problem and found a
> solution to it?
>
> Thank you,
>
> -- Bill Martin --
>
> pstoimg: Error:
> "/usr/local/bin/pnmcrop <
> /tmp/l2h22497/p22510.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif" failed: Illegal se
>
> latex2html -html_version 2.0 fall02.tex
> Note: Loading /net/trout/export/home2/martin/.latex2html-init
> Note: Initialising with file:
> /net/trout/export/home2/martin/.latex2html-init
> This is LaTeX2HTML Version 2002 (1.67)
> 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 2.0
>
> *** processing declarations ***
>
> Loading /usr/local/share/lib/latex2html/versions/latin1.pl
> OPENING /net/trout/export/home2/martin/public_html/work/fall02.tex
>
> Cannot create directory fall02/: File exists, reusing it.
> Reusing directory fall02/:
>
> Note: Working directory is
> /net/trout/export/home2/martin/public_html/work/fall02
> Note: Images will be generated in /tmp/l2h22497
>
> texexpand V2002 (Revision 1.11)
>
> Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
> Loading /usr/local/share/lib/latex2html/styles/article.perl
> Loading /usr/local/share/lib/latex2html/styles/html.perl
> Loading /usr/local/share/lib/latex2html/styles/htmllist.perl
> Loading /usr/local/share/lib/latex2html/styles/color.perl
> *** color is not supported with HTML version: 2.0 ***
>
> Loading /usr/local/share/lib/latex2html/styles/makeidx.perl
> Loading /usr/local/share/lib/latex2html/styles/epsfig.perl
> Reading ...
> %%%%%%++
> @@@@@@@@@@@@
>
> Translating ...
> 0/0:top of fall02: for fall02.html
>
> *** translating preamble ***
> ............
> *** preamble done ***
> ;...;..
>
> Writing image file ...
>
> This is TeX, Version 3.14159 (C version 6.1)
> (images.tex
> LaTeX2e <1996/12/01> patch level 1
> Babel <v3.6h> and hyphenation patterns for american, german, loaded.
>
>
> *** processing 1 images ***
>
> Generating postscript images using dvips ...
> This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
> ' TeX output 2002.08.16:0537' -> /tmp/l2h22497/image
> (-> /tmp/l2h22497/image001) <tex.pro><special.pro><color.pro>[1]
> (-> /tmp/l2h22497/image002) <tex.pro><special.pro><color.pro>[2]
> Converting image #1
> pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22497/p22510.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif" failed: Illegal seek
>
> Error while converting image
>
> Doing section links ....
> Done.
>
> 45 % latex2html
> -version Note: Loading /net/trout/export/home2/martin/.latex2html-init
> Note: Initialising with file:
> /net/trout/export/home2/martin/.latex2html-init
> This is LaTeX2HTML Version 2002 (1.67)
> by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
>
>
> --
> =======================================================================
> William T. Martin email: martin@orie.cornell.edu
> Cornell University/ORIE Fax: (607) 255-9129
> 257 Rhodes Hall Phone: (607) 255-9134
> Ithaca, NY 14853
> Public Key: http://www.orie.cornell.edu/~martin/public_key.html
> =======================================================================
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
--
=======================================================================
William T. Martin email: martin@orie.cornell.edu
Cornell University/ORIE Fax: (607) 255-9129
257 Rhodes Hall Phone: (607) 255-9134
Ithaca, NY 14853
Public Key: http://www.orie.cornell.edu/~martin/public_key.html
=======================================================================