[l2h] bug managing relative paths?

Ross Moore ross@ics.mq.edu.au
Thu, 24 Jan 2002 05:48:12 +1100 (EST)


Hello Fernando,

> Hello,
> 
> I've searched the list of known problems and I did not find this, so maybe
> is a but (in latex2html or in me, for not finding it).
> 
> The problem is as follows:
> 
> My .tex file contains a line like this:
> 
> \includegraphics[totalheight=3.56cm]{../Figuras/morphing.eps}
> 
> When compiling with latex all goes well, but when using latex2html the
> following error appears in prea/images.log (the file is prea.tex)
> 
> LaTeX Warning: File `../Figuras/morphing.eps' not found on input line
> 165.

LaTeX2HTML (by default) processes from within a subdirectory of the directory
where your source resides, so the relative path is out by a level.

Simply create a symbolic link:  ln -s ../Figuras ./Figuras
so that the same relative path will find the correct directory for figures
whether processed by either LaTeX or LaTeX2HTML.


Hope this helps,

	Ross Moore


> If I change the line to
> 
> \includegraphics[totalheight=3.56cm]{../../Figuras/morphing.eps}
> 
> it works well but latex compiling no.
> Is there a problem in the way paths are interpreted in latex2html?
> It seems that, as far as latex2html generates a new directory, this kind
> of relative paths miss their target.
> 
> I'm using  LaTeX2HTML Version 2K.1beta (1.48) in a Debian Linux machine.
> 
> Thank you and best regards,
> 
> --
> Fernando Tricas
> 
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html