在 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}

相关内容