]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/he/Intro.lyx
Hebrew docs: move bookmarks inside of pdflatex if
[lyx.git] / lib / doc / he / Intro.lyx
index d0e883524b52f8c830b5b427b3d69cb838cdc9d5..ce3fcad762b37d5731bd6ff88fc68f9271156d25 100644 (file)
@@ -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}