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 % the documentation team
% email: lyx-docs@lists.lyx.org % email: lyx-docs@lists.lyx.org
\usepackage{ifpdf} % part of the hyperref bundle \usepackage{iftex}
\ifpdf % if pdflatex is used \ifpdftex % if pdflatex is used
% XeTeX and LuaTeX with Hebrew do not like this
% XeTeX with Hebrew does not like this bookmark code % bookmark code, so it is in the conditional.
% 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