[Tex/LaTex] Package pdftex.def Error file-pics.pdf not found

chemnumepspdf

I'm using chemnum. Conversion of EPS to PDF failed after a Windows updat:

! Package pdftex.def Error: File `file-pics.pdf' not found.See the pdftex.def package documentation for explanation.Type H <return> for immediate help.... \includeschemes{pictures/pic1.eps}

I've reinstalled MikTeX and TeXmaker and updated MikTeX's packages.

I apologyse for my big example. I minimized it.

EDIT

\documentclass[•]{article}
\usepackage{graphicx}
\usepackage[runs=2,crop=off]{auto-pst-pdf} 
  %eps mit pdflatex
%
\begin{document}
%
\includegraphics{5-FU.eps}
%
%
\end{document}

And here is the log:

 ------ LaTeX Warning: File `Latex_beispiel-pics.pdf' not found on input line 10.


! Package pdftex.def Error: File `Latex_beispiel-pics.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.10 \includegraphics{5-FU.eps}

Using draft setting for this image.
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.


Package pst-pdf Warning: File `Latex_beispiel-pics.pdf' not found.
(pst-pdf)                Use the following commands to create it:
(pst-pdf)                ---------------------------------------------------- 
(pst-pdf)                latex Latex_beispiel.tex
(pst-pdf)                dvips -o Latex_beispiel-pics.ps Latex_beispiel.dvi
(pst-pdf)                ps2pdf Latex_beispiel-pics.ps
(pst-pdf)                ---------------------------------------------- .

When i compile with \usepackge{epstopdf} it works. without it doesn't. I have even tried to compile it the way it says in the .log: Latex->dvips->ps2pdf It still doesn't work. And I've found another strange thing. When I copy the file-pics.pdf from when it still worked, it deletes the .pdf with the pictures and puts out an error. I just don't get it anymore.

Best Answer

LaTeX Warning: File `*YourFilename*-pics.pdf' not found on input line ##

is most likely a failing in the auto-pst-pdf call via --shell-escape to perl or ghostscript

By default Tex Live for windows or mac may include minimal sets of these utilities.
However they are not normally installed with MiKTeX.

For the potential tests and solution see

https://tex.stackexchange.com/a/473106/170109

Related Question