Conversion ToolsRelative path problem with dvips

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Relative path problem with dvips

Post by M.A »

Hello,

I have a file that I compiled it with the following command:
latex --include-directory=../folder2 file.tex
where folder2 contains some eps images and tex input files.

However, dvips gives the following error:
dvips.exe: Could not find figure file image.eps; continuing
an absolute path or a relative path with .. are denied in -R2 mode

How to get red of the -R2 mode??
I tried the switch -R0 but nothing changed


Regards,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Relative path problem with dvips

Post by meho_r »

Have you tried specifying a path to images folder in the preamble of your .tex document instead of adding an argument to latex command? Something like this:

Code: Select all

\graphicspath{{folder2/}}
Maybe you'll find this and this helpful.
Post Reply