[LyX/master] he/Tutorial: fix conditional so that this also works with LuaTeX

Juergen Spitzmueller spitz at lyx.org
Sun Aug 16 08:57:58 UTC 2020


commit a7ad074776451ebc631e7eb1116c7391afc39b76
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Aug 16 11:22:53 2020 +0200

    he/Tutorial: fix conditional so that this also works with LuaTeX
    
    (requires forthcoming polyglossia 1.50 to work properly)
---
 lib/doc/he/Tutorial.lyx |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/lib/doc/he/Tutorial.lyx b/lib/doc/he/Tutorial.lyx
index c1dc32e..14c3a75 100644
--- a/lib/doc/he/Tutorial.lyx
+++ b/lib/doc/he/Tutorial.lyx
@@ -15,11 +15,10 @@
 % the documentation team
 % email: lyx-docs at lists.lyx.org
 
-\usepackage{ifpdf} % part of the hyperref bundle
-\ifpdf % if pdflatex is used
-
-% XeTeX with Hebrew does not like this bookmark code
-% so it is in the conditional.
+\usepackage{iftex}
+\ifpdftex % if pdflatex is used
+% XeTeX and LuaTeX with Hebrew do 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


More information about the lyx-cvs mailing list