I am using MikTex 2.9 and TexStudio on Windows 10.
1.I have included in my preamble: \usepackage[outdir=./converted_pdfs/]{epspdfconversion}
In Configure TexStudio -> Commands -> PdfLateX, I have: pdflatex.exe -synctex=1 -interaction=nonstopmode --enable-write18 %.tex
I have a main .tex file in a directory 'XX', and I have a subdirectory 'XX/gfx' where I have stored my EPS vector graphics.
When trying to build I get:
Package pdftex.def Error: File `./converted_pdfs/VTERM1042_WT_Spikes-epspdf-to.pdf' not found. ...th=0.8\textwidth]{VTERM1042_WT_Spikes.eps}
After searching a lot about the problem on the net I tend to think it is a problem of the path to the .tex file or the path to the .eps files. My impression from reading other people's posts is that "it" does not know where to look for the eps files.
Any help is most appreciated.
--enable-write18
.--shell-escape
works too. Beside I guess that you didn't read the documentation of epspdfconversion. It says foroutdir
: "For other directories ensure that they can be found. See \graphicspath or TEXINPUTS." – Ulrike Fischer Jan 7 '16 at 17:53