在 LyX 中使用 Hyperref - PDFLaTeX 希伯來語

在 LyX 中使用 Hyperref - PDFLaTeX 希伯來語

在過去一年左右的時間裡,我一直在希伯來語中使用 LyX 和希伯來語文章文檔類,並採用 PDFLaTeX 格式。最近我發現了 Hyperref 包,只需單擊一下,所有非希伯來語文章文檔現在都有可單擊的連結。

當我嘗試對希伯來文文章文件執行相同操作時,遇到編譯錯誤:

pdfTeX error (ext4): pdf_link_stack empty, \pdfendlink used without \pdfstart

可以解決這個問題並透過可點擊的連結進行編譯和記錄,沒有切換到 XeTeX 或其他格式?

我使用的是 Windows 7。

LyX 檔案:http://www.filedropper.com/newfile1http://www.filedropper.com/newfile1_1

TeX 文字:

%% LyX 2.1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage{lmodern}
\usepackage{courier}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in,headheight=0.5in,headsep=0.5in,footskip=0.5in}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{babel}
\usepackage{float}
\usepackage{amsmath}
\usepackage[unicode=true,pdfusetitle,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
 {hyperref}
\usepackage{breakurl}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}

% The following chunk fixes export with XeTeX.
% It is needed because polyglossia is used by default
% and \make@lr is only defined by babel.
\@ifundefined{make@lr}
{\def\make@lr#1{\begingroup
    \toks@=\expandafter{#1}%
    \edef\x{\endgroup
  \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
  \x}}{\relax}

\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{braket}
\usepackage{tensind}
\tensordelimiter{?}
\usepackage{culmus}

\makeatother

\begin{document}

\title{כותרת -- \L{Title}}

\maketitle
\tableofcontents{}

\newpage{}


\part{חלק -- \L{Part}}


\section{נושא -- \L{Section}}


\subsection{תת-נושא -- \L{Subsection}}
\end{document}

相關內容