Re: bug report
"Scott Prahl" <[email protected]> Mon, 4 Oct 2004 09:32:20 -0700
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sep 23, 2004, at 8:53 AM, Patrick De Maziere wrote:
> I like the program very well, but I spotted a problem concerning
> figures:
>
> I'm using the includegraphics command from the graphicx package, and I
> saw
> that the path given to the figure was appended to the actual path, due
> to
> which he couldn't find that figure of course:
>
> e.g.
>
> ...
> \includegraphics[height=2.5cm]{/path_to/figure.eps}
> ...
>
> gives the next error when running latex2rtf -F:
>
> Warning ... filename=</path_to/figure.eps>convert: unable to open file
> (/tmp//path_to/figure.png)
This should work as
\includegraphics[height=2.5cm]{path_to/figure.eps}
since only relative paths are supported. Figures must be in the same
directory or in a sub directory. Current versions of pdflatex work the
same
way.
I was surprised by this recently when I tried to typeset an old document
that was organized as
dir
dir/tex/main.tex
dir/tex/include1.tex
dir/fig/fig1.pdf
dir/fig/fig2.pdf
and
\includegraphics{../fig/fig1.pdf}
failed in pdflatex because of security issues.
Scott
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl