hyperref
當與 一起使用& bookmark
package時,我無法產生 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. ] %%
請只做那些需要的事。