[l2h] l2h/99.1: ppmquant & picture-trouble

Wolfgang Weigel Wolfgang Weigel <wgweigel@wpax13.physik.uni-wuerzburg.de>
Mon, 28 Jun 1999 22:44:44 +0200 (METDST)


hi everybody!
it`s first time using l2h and all i got is trouble!
i wanted to convert a tex-file with eps-files and wrapfigure-environments.
e.g. \vspace{1cm}
 \begin{center}
 \begin{figure}[h!t]
 \hspace{1cm}
 %
 \begin{minipage}{6cm}
 \centering
     \epsfxsize=6cm
     \epsffile{PIC00010.eps}
     \caption{Unser Rechner}

 \end{minipage}
 \hspace{1cm}
 %
 %
  \begin{minipage}{4cm}
Dieser etwas angestaubte Rechner 
sollte unser Arbeitstier sein.
Des "ofteren war er allerdings
mehr Hindernis als Hilfe.  

 \end{minipage} 
 \end{figure}
 \end{center}

and others like this:

+dq;
  u_c:=q/C;
  t:=t+dt;
until t>mt;  
\end{verbatim}  
\caption{Entladevorgang}
\end{minipage}
\end{figure}
\end{center}
%%%%%

the problems were:

1. some pictures can`t be converted to gifs by l2h. l2h produced the
following errors:

a:
file basename : l2h23361/image003
Converting image003.ppm to img3.gif
Input file: image003.ppm Output file: img3.gif
Image is PPM, 582x521
Running /users/ss97/wgweigel/zula/latex2html/pnm/pnmcrop < image003.ppm |
/users/ss97/wgweigel/zula/latex2html/ppm/ppmquant 256 |
/users/ss97/wgweigel/zula/latex2html/ppm/ppmtogif -interlace -trans
\#ffffff  > img3.gif
pnmcrop: cropping 521 rows off the top
pnmcrop: cropping 581 cols off the left
ppmquant: making histogram...
ppmquant: 0 colors found
ppmquant: choosing 256 colors...
ppmtogif: EOF / read error reading magic number
pstoimg: Conversion failed: No such file or directory

 *** finished child process: #23479    


b:

equant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 255 colors found
sh: 21266 Memory fault
pstoimg: Conversion failed: No such file or directory

 *** finished child process: #21257
                       

During searching the error, i detected a 'core' file in the directory
l2h23361 (which includes images and is also produced by l2h). 
This file says that there`s an error in ppmquant (what i can`t believe)






2. if the are produced any pictures, then only some of them are included
in the html and they are all at the wrong place!


thank you for helping

wolfgang weigel