我在使用 Latex Studio 时遇到了一个意外的错误。我只是想使用以下命令在我的文字中插入两个子图:
begin{figure}
\centering
\subfigure[synchionization time]{
\includegraphics[width=0.4\columnwidth]{figures/056.pdf}
\label{fig5}
}
\subfigure[duty cycle]{
\includegraphics[width=0.4\columnwidth]{figures/057.pdf}
\label{fig6}
}
\caption{result}
\label{fig:44}
\end{figure}
终端显示:进程已启动:xelatex.exe -synctex=1 -interaction=nonstopmode "main".tex xdvipdfmx:fatal: pdf_link_obj():传递了无效对象。未写入输出 PDF 文件。fwrite:参数无效 xelatex.exe:进程因错误退出 有人遇到过这个错误或有好的解决方法吗?
答案1
我有相同的错误输出:
(/usr/share/texlive/texmf-dist/tex/latex/pdflscape/pdflscape.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty)) [1] [2]
Chapter 1.
[3] [4]
Chapter 2.
[5] [6]
Chapter 3.
[7] [8] [9] [10]
Chapter 4.
[11]
Overfull \hbox (4.64401pt too wide) in paragraph at lines 182--189
[]\TU/Inter(0)/m/n/10 This makes the use of \TU/Inter(0)/m/it/10 CTRL \TU/Inter
(0)/m/n/10 key combinations more ergonomic.
[12] [13]
Overfull \hbox (2.98775pt too wide) in paragraph at lines 205--212
\TU/Inter(0)/m/n/10 reachable through the OLED menu. Each cell icon corresponds
[14] [15] [16]
Chapter 5.
(/usr/share/texlive/texmf-dist/tex/latex/microtype/mt-cmr.cfg)
Overfull \hbox (15.37852pt too wide) in paragraph at lines 251--258
\TU/Inter(0)/m/n/10 for your computer to execute, but also to write programs (s
cripts)
[17]
xdvipdfmx:fatal: pdf_link_obj(): passed invalid object.
No output PDF file written.
我的乳胶中有问题的页面也使用了 pdf 图形。
安装 ghostscript 包后问题消失(我正在运行 Debian)。