
我可以讓 psfrag 在 Overleaf 中工作LaTeX 編譯器。
和代碼:
\begin{figure}[H]
\centering
\psfrag{F}[c][c][1][0]{$F$}
\includegraphics[width=0.9\textwidth]{root/Force.eps}
\end{figure}
但我不能讓 psfrag 工作背面 pdflatex 編譯器。
這些是我正在使用的軟體包:
\usepackage{pstool}
\usepackage{psfrag}
以及我的 design.tex 檔案中的程式碼:
\begin{center}
\includegraphics[width=0.9\textwidth]{root/Force.eps}
\end{center}
\begin{center}
\psfragfig[mode=nonstop]{root/Force}{
\psfrag{F}[c][c][1][0]{$F$}
}
\end{center}
錯誤:軟體包 pstool 警告:在輸入行 27 上找不到可能包含「root/Force.eps」巨集的檔案「root/Force.tex」或「root/Force-psfrag.tex」。
紀錄:
軟體包 pstool 警告:在輸入行 27 上找不到可能包含「root/Force.eps」巨集的檔案「root/Force.tex」或「root/Force-psfrag.tex」。
檔案:root/Force.eps 圖形檔(類型 eps)<root/Force.eps>