From a7ad074776451ebc631e7eb1116c7391afc39b76 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 16 Aug 2020 11:22:53 +0200 Subject: [PATCH] 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 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/doc/he/Tutorial.lyx b/lib/doc/he/Tutorial.lyx index c1dc32e968..14c3a75835 100644 --- a/lib/doc/he/Tutorial.lyx +++ b/lib/doc/he/Tutorial.lyx @@ -15,11 +15,10 @@ % the documentation team % email: lyx-docs@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