
Estou tentando obter um recurso de substituição em arquivos .eps baseados em psfrag em chemnum para funcionar com pdfLaTeX no Overleaf. Eu sei que preciso de um pacote como auto-pst-pdf, epstopdf, eps-to-pdf ou mesmo pstool (que foi projetado para funcionar com psfrag). Eu li muitas postagens do StackExchange, mas não consegui fazê-lo funcionar no Overleaf.
\documentclass[11pt, a4paper, openany]{scrartcl}
\usepackage[utf8]{inputenc} %for inputting international characters
\usepackage[T1]{fontenc} %output font encoding for international characters
\usepackage[crop=off,runs=2]{auto-pst-pdf}
\usepackage{chemnum}
\usepackage{bpchem}
\usepackage[version=4]{mhchem}
\ExplSyntaxOn
\cs_new:Npn \chemmacros_load_module:n #1 {} %ghs wont function without it
\ExplSyntaxOff
\usepackage{ghsystem} %for ghs symbols and senteces
\title{test}
\begin{document}
\maketitle
\section{Introduction}
\begin{scheme}
\centering
\replacecmpd{comp1}
\replacecmpd{comp2}
\replacecmpd{comp3}
\includegraphics{overview.eps}
\caption{A test to make the numbering work}
\label{sc:overview}
\end{scheme}
\end{document}
Agradeço antecipadamente!