[l2h] error creating images

Olaf Bonorden bono@uni-paderborn.de
Wed, 17 Apr 2002 09:44:11 +0200


Hi,

Am Mittwoch, 17. April 2002 00:07 schrieben Sie:
[...]
> Following this, amongst the lines that follow, insert an extra line:
>
>     s/${verbatim_mark}tex2html_code(\d+)\#/$verbatim{$1}/go;
>     s/^($file_mark|$endfile_mark).*\#\n//gmo;   ## <-----------  INSERT
> THIS LINE s/$comment_mark(\d*)\s*\n/%\n/go;
>     s/$dol_mark/\$/go;
>     s/$caption_mark//go;
Thank you, i've fixed it.

> Since LaTeX2HTML typically works within a subdirectory of your source
> directory, and does not contain built-in support for the \eps... macros,
> then you may find that image-generation fails because your images
> cannot be found.
My Makefile copies all figures to the right directory, no problem there.

But there is still a problem left, now my images.tex file contains:

\begin{figure}\begin{center}
\begin{picture}(0,0)%
\epsfig{file=fig_structure.pstex}%
\end{picture}%%
\setlength{\unitlength}{4144sp}%%
\begingroup\makeatletter\ifx\reset@font\fontsize{\undefined}{\fipt}\fontfamily{\endgroup}\fontseries{\begin}\fontshape{picture}\selectfont 
(6099,3399)(2014,-2998)
[...]

But there is no \fi for the ifx. Something is missing, the original Latex file 
contains:

\begin{picture}(0,0)%
\epsfig{file=fig_structure.pstex}%
\end{picture}%
\setlength{\unitlength}{4144sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  \reset@font\fontsize{#1}{#2pt}%
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(6099,3399)(2014,-2998)
\put(4501,164){\makebox(0,0)[b]{\smash{\SetFigFont{12}{14.4}{\rmdefault}{\mddefault}{\updefa
[...]


CU
   Olaf