mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Hebrew docs: move bookmarks inside of pdflatex if
This fixes XeTeX export of the Hebrew documents.
This commit is contained in:
parent
828db4287d
commit
6f488a9ef2
@ -19,9 +19,9 @@
|
||||
% set fonts for nicer pdf view
|
||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
||||
|
||||
\fi % end if pdflatex is used
|
||||
|
||||
% the pages of the TOC is numbered roman
|
||||
% XeTeX with Hebrew does not like this bookmark code
|
||||
% so it is in the conditional.
|
||||
% The pages of the TOC is numbered roman
|
||||
% and a pdf-bookmark for the TOC is added
|
||||
\pagenumbering{roman}
|
||||
\let\myTOC\tableofcontents
|
||||
@ -31,6 +31,8 @@
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic} }
|
||||
|
||||
\fi % end if pdflatex is used
|
||||
|
||||
%disable hyphenation (breaking words at end of line)
|
||||
\usepackage[none]{hyphenat}
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
||||
% set fonts for nicer pdf view
|
||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
||||
|
||||
\fi % end if pdflatex is used
|
||||
|
||||
% the pages of the TOC is numbered roman
|
||||
% XeTeX with Hebrew does not like this bookmark code
|
||||
% so it is in the conditional.
|
||||
% The pages of the TOC is numbered roman
|
||||
% and a pdf-bookmark for the TOC is added
|
||||
\let\myTOC\tableofcontents
|
||||
\renewcommand\tableofcontents{%
|
||||
@ -30,6 +30,8 @@
|
||||
\myTOC
|
||||
\mainmatter }
|
||||
|
||||
\fi % end if pdflatex is used
|
||||
|
||||
%disable hyphenation (breaking words at end of line)
|
||||
\usepackage[none]{hyphenat}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user