I have tried the following MWE on Windows 7 and OSX (Mavericks) with different front ends. Windows Tex system is Miktex 2.9 and on OSX it is MacTeX 2013. In all cases PdfLaTeX is run and write18 (or shell escape) is enabled. The result:
- Winedt+Miktex on windows, code compiles with no problem.
- Texstudio+Miktex on windows, code compiles with no problem.
- Texmaker+Miktex on windows, code compiles with no problem.
- Texshop+MacTex on Mavericks, code compiles with no problem.
- Texmaker+MacTeX on Mavericks, code compiles with no problem.
- Texstudio+MacTeX on Mavericks, code does not compile correctly, the figure does not show and is replaced by an empty square.
My guess is that there is something wrong with the way auto-pst-pdf operates when it is called via Texstudio under OSX. Probably in the first run that latex+dvips+ps2pdf is called via shell.
Can anyone verify this odd behavior of Texstudio under OSX or suggest a solution? Here is the MWE:
\documentclass{article}
\usepackage{graphicx}
\usepackage{microtype}
\usepackage{auto-pst-pdf}
\begin{document}
This is a test.
\bigskip
\includegraphics[width=5in]{example-image-a.eps}
\end{document}
.log
file tell you? – daleif Dec 27 '13 at 15:49qq-pics.pdf' not found on input line 8. ! Package pdftex.def Error: File
qq-pics.pdf' not found. See the pdftex.def package documentation for explanation. Type H <return> for immediate help. As you see, Texstudio under OSX fails to generate qq-pics.pdf file in the latex+dvips+ps2pdf phase (qq.tex is the name of the MWE file). – per Dec 27 '13 at 15:58/usr/texbin/pdflatex -synctex=1 --shell-escape -interaction=nonstopmode qq.tex
by hand in a shell? Just to make sure that this is the editors fault. Why are there--
for--shell -escape
and not for the other options? – daleif Dec 27 '13 at 16:11