
過去 1 年ほど、私は PDFLaTeX 形式のヘブライ語 Article ドキュメント クラスで LyX をヘブライ語で使用してきました。最近、Hyperref パッケージを見つけたので、1 回のクリックで、ヘブライ語以外のすべての Article ドキュメントにクリック可能なリンクが表示されるようになりました。
ヘブライ語の記事文書で同じことを実行しようとすると、コンパイル エラーが発生します。
pdfTeX error (ext4): pdf_link_stack empty, \pdfendlink used without \pdfstart
この問題を解決し、クリック可能なリンクでコンパイルして文書化することは可能です。それなしXeTeX または他の形式に切り替えますか?
Windows 7を使用しています。よろしくお願いします。
LyX ファイル:http://www.filedropper.com/newfile1そしてhttp://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}