hyperref
使用&bookmark
包时无法生成 PDF \usepackage[arabic,english]{babel}
。如果我删除包hyperref
& bookmark
,则 PDF 可以成功生成。
请参阅下面的 MWE:
\documentclass{article}
\usepackage{graphicx}%
\usepackage[utf8]{inputenc}
\usepackage[arabic,english]{babel}
\selectlanguage{english}%
\usepackage{subfig}
\usepackage{hyperref}
\usepackage{bookmark}
\usepackage{lipsum}
\makeatother
\begin{document}
\begin{otherlanguage}{arabic}\AR{صفر}\end{otherlanguage}
\begin{otherlanguage}{arabic}\AR{الحمد لله رب كل العالمين.}\end{otherlanguage}
\begin{otherlanguage}{arabic}\AR{الرحيم الرحيم.}\end{otherlanguage}
\lipsum[1-2]
\begin{figure}
\centering
\subfloat[][a]{\includegraphics{figure1}\label{figure1}}
\subfloat[][b]{\includegraphics{figure2}\label{figure2}}
\caption{Comparison of steady state results (a) x method (b) y method}
\label{steady_state}
\end{figure}
\end{document}
在 DVI->PS 之后,我们在提取过程中收到以下错误:
%%[ Error: limitcheck; OffendingCommand: cvn ]%%
Stack:
(subfigure.\\protect \\protect \\bgroup \\beginL \\protect \\protect \\edef OT1{OT1}\\let \\enc@update \\relax \\protect \\xdef \\OT1/cmr/m/n/10 {\\OT1/cmr/m/n/10 }\\OT1/cmr/m/n/10 \\size@update \\enc@update \\def OT1{O...)
/Dest
[/XYZ 86.0023 440.288 -null-]
/View
-mark-
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
请只做那些需要的。