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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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