mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +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
|
% set fonts for nicer pdf view
|
||||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
||||||
|
|
||||||
\fi % end if pdflatex is used
|
% XeTeX with Hebrew does not like this bookmark code
|
||||||
|
% so it is in the conditional.
|
||||||
% the pages of the TOC is numbered roman
|
% The pages of the TOC is numbered roman
|
||||||
% and a pdf-bookmark for the TOC is added
|
% and a pdf-bookmark for the TOC is added
|
||||||
\pagenumbering{roman}
|
\pagenumbering{roman}
|
||||||
\let\myTOC\tableofcontents
|
\let\myTOC\tableofcontents
|
||||||
@ -31,6 +31,8 @@
|
|||||||
\cleardoublepage
|
\cleardoublepage
|
||||||
\pagenumbering{arabic} }
|
\pagenumbering{arabic} }
|
||||||
|
|
||||||
|
\fi % end if pdflatex is used
|
||||||
|
|
||||||
%disable hyphenation (breaking words at end of line)
|
%disable hyphenation (breaking words at end of line)
|
||||||
\usepackage[none]{hyphenat}
|
\usepackage[none]{hyphenat}
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
% set fonts for nicer pdf view
|
% set fonts for nicer pdf view
|
||||||
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
||||||
|
|
||||||
\fi % end if pdflatex is used
|
% XeTeX with Hebrew does not like this bookmark code
|
||||||
|
% so it is in the conditional.
|
||||||
% the pages of the TOC is numbered roman
|
% The pages of the TOC is numbered roman
|
||||||
% and a pdf-bookmark for the TOC is added
|
% and a pdf-bookmark for the TOC is added
|
||||||
\let\myTOC\tableofcontents
|
\let\myTOC\tableofcontents
|
||||||
\renewcommand\tableofcontents{%
|
\renewcommand\tableofcontents{%
|
||||||
@ -30,6 +30,8 @@
|
|||||||
\myTOC
|
\myTOC
|
||||||
\mainmatter }
|
\mainmatter }
|
||||||
|
|
||||||
|
\fi % end if pdflatex is used
|
||||||
|
|
||||||
%disable hyphenation (breaking words at end of line)
|
%disable hyphenation (breaking words at end of line)
|
||||||
\usepackage[none]{hyphenat}
|
\usepackage[none]{hyphenat}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user