pdflatex 从 .tex 文件生成 PDF 时偶尔会出现管道断裂错误

pdflatex 从 .tex 文件生成 PDF 时偶尔会出现管道断裂错误

我编写了一个软件,可以使用 pdflatex 从生成的 .tex 文件生成相当长的 PDF。有时,我会收到损坏的管道错误,导致 PDF 生成失败。我很难重现这些错误,如果我再试一次,PDF 生成通常会成功。

我已经用 调用 pdflatex 了-interaction=nonstopmode

我正在寻找一种方法来:防止发生管道破裂错误,或者忽略管道破裂错误并继续

这是我收到的错误:

[323] [324 </srv/www/mydomain.com/public_html/crawler/RRnKPFCjyZMKk1nUg/Images/Q
BFkqp_thumbnail1063.png
!pdfTeX error: pdflatex (file /srv/www/mydomain.com/public_html/crawler/RRnKPFCj
yZMKk1nUg/Images/QBFkqp_thumbnail1063.png): fflush() failed (Broken pipe)
 ==> Fatal error occurred, no output PDF file produced!

相关内容