he/Tutorial: fix conditional so that this also works with LuaTeX

(requires forthcoming polyglossia 1.50 to work properly)
This commit is contained in:
Juergen Spitzmueller 2020-08-16 11:22:53 +02:00
parent 812ff7de75
commit a7ad074776

View File

@ -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