使用 auto-pst-pdf 產生大圖時遇到問題

使用 auto-pst-pdf 產生大圖時遇到問題

我嘗試使用乳膠包auto-pst-pdfpsfrag產生dot需要乳膠標籤的圖表。它適用於小型範例(10 ~ 20 個節點)。但是,當節點數量變大(1k+ 節點)時,pdfLatex無法產生所需的 pdf 文件,並顯示錯誤訊息File 'xxx-pics.pdf' not found。奇怪的是,pdfLatex輸出了一個名為 的文件xxx-autopp.pdf,而且內容似乎是正確的。我想知道無法將pdfLatex圖表整合到pdf文件中的可能原因。

我編譯latex檔的方式:

pdflatex -shell-escape xxx.tex

實際內容xxx.tex相當大,包含數千行,因此我無法將其發佈在這裡。但基本上它有以下形式:

% !TeX TXS-program:compile = txs:///pdflatex/[--shell-escape]
\documentclass{standalone}
\usepackage[psfrag]{graphviz}
\usepackage{auto-pst-pdf}
\usepackage{psfrag}
\begin{document}
\psfrag{label0}[cc][cc]{$\mathcal{F}$}
...
\digraph{abc}{
...
}
\end{document}

相關內容