[l2h] psfrac

Bernd Hahnebach newsletter at hahnebach.com
Mon Jan 26 08:52:52 CET 2004


I was trying to compile my diploma work with latex2html. I got it 
running. I was really surprised how good it looked, but I encountered a 
big problem. I used many \psfrac commands. And I always placed the 
strings manually. Following an example:


latex2html really does not like the [Bc]. If one picture has the 
[]-brackets ALL following pictures (only the pictures not the math. 
formulas) gives an error during converting from eps to png.

If I use \psfrag{a}{STRUKTUR} I don't have any problems, but I don't 
want to change the code and the pictures again (100 pictures).

Thanks for any help


Output of latex2html:

hugo at eiche:~/Documents/projekte-diplom-fuer-internet> latex2html versuch.tex
This is LaTeX2HTML Version 2002-2-1 (1.70)
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

Extension: loading /usr/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/share/lib/latex2html/versions/html3_2.pl

 *** processing declarations ***

OPENING /home/hugo/Documents/projekte-diplom-fuer-internet/versuch.tex

Note: Working directory is 
Note: Images will be generated in /tmp/l2h3552

texexpand V2002-2-1 (Revision 1.11)

Loading /usr/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/share/lib/latex2html/styles/article.perl
Package: loading /usr/share/lib/latex2html/styles/psfrag.perl
Package: loading /usr/share/lib/latex2html/styles/graphics.perl
Package: loading /usr/share/lib/latex2html/styles/graphics-support.perl
Package: loading /usr/share/lib/latex2html/styles/getimagesize.perl
Reading ...

Reading aux file: 
/home/hugo/Documents/projekte-diplom-fuer-internet/versuch.aux ...
Processing macros ...++................
Translating ...
0/2:top of versuch: for versuch.html

 *** translating preamble ***
 *** preamble done ***

1/2:section:.."My Document" for node1.html

*** no brace for \psfrag , before:

*** using "" as the argument instead; is this correct?  ***


2/2:sectionstar:.."About this document ..." for node2.html

Writing image file ...

This is TeX, Version 3.14159 (Web2C 7.4.5)
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, 
ngerman, n
ohyphenation, loaded.

 *** processing 3 images ***

Generating postscript images using dvips ...
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software 
' TeX output 2004.01.20:1720' -> /tmp/l2h3552/image
(-> /tmp/l2h3552/image001) <tex.pro><alt-rule.pro><texc.pro><psfrag.pro>
<diplom/files/bilder/ansicht-luft.eps>] (-> /tmp/l2h3552/image002) <tex.pro>
(-> /tmp/l2h3552/image003) <tex.pro><alt-rule.pro><texc.pro><psfrag.pro>
Converting image #2
pstoimg: Error: "/usr/bin/pnmcrop -verbose  < /tmp/l2h3552/p3566.pnm | 
/usr/bin/ppmquant -floyd 256 | /usr/bin/pnmtopng -interlace -trans 
'#ffffff'  > img2.png" failed: Ungültiger Dateideskriptor

Error while converting image
Converting image #3
pstoimg: Error: "/usr/bin/pnmcrop -verbose  < /tmp/l2h3552/p3574.pnm | 
/usr/bin/ppmquant -floyd 256 | /usr/bin/pnmtopng -interlace -trans 
'#ffffff'  > img3.png" failed: Ungültiger Dateideskriptor

Error while converting image
Converting image #1

Doing section links ........
 *** Adding document-specific styles ***

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

? brace missing for \psfrag


More information about the latex2html mailing list