Does anyone know what I could use instead of auto-pst-pdf combined with chemnum to replace tags in eps-files? Since this week it doesn't work anymore. Pstool (\usepackage[mode=nonstop,crossref=true,crop=pdfcrop, process=all]{pstool}) works halfway, but can't replace tags. Im currently using \usepackage[runs=2, crop=off, cleanup=]{auto-pst-pdf} and I'm getting a Ghostscript error.
\documentclass[ ngerman,11pt,
paper=a4,
listsfo=totoc,
bibliography=totocnumbered,
parskip=half,
twoside=true,
]{scrbook}
\usepackage[onehalfspacing]{setspace}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{lmodern}
\usepackage{libertine}
\usepackage{enumerate}
\usepackage{
caption,
graphicx,
wrapfig,
}
\usepackage{chemcompounds}
\usepackage{bpchem}
\usepackage{chemnum}
\usepackage[version=4]{mhchem}
\newcommand{\CNfig}[1]{\sffamily{\CNref{#1}}}
\usepackage{chemgreek}
\usepackage{psfrag}
\usepackage[runs=2,crop=off,cleanup=]{auto-pst-pdf}
\begin{document}
plain text
\begin{figure}
\replacecmpd[tag=TMP1]{1}
\includegraphics{pic.eps}
\end{figure}
plain text with \cmpd{1}
\end{document}
xelatex? It doesn't require auto-pst-pdf. – Bernard Oct 06 '20 at 17:53pdfLatexand I have many graphics in eps-format, but not all. – Chris Oct 06 '20 at 18:25chemnum/auto-pst-pdf, this feature is broken every few months when some other package is updated. – tstone-1 Dec 20 '20 at 16:38