
Overleaf의 pdfLaTeX와 작업하기 위해 chemnum의 psfrag를 기반으로 하는 .eps 파일의 대체 기능을 얻으려고 합니다. 나는 auto-pst-pdf, epstopdf, eps-to-pdf 또는 pstool(psfrag와 함께 작동하도록 설계됨)과 같은 패키지가 필요하다는 것을 알고 있습니다. 나는 많은 StackExchange 게시물을 읽었지만 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}
미리 감사드립니다!