aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2021-02-03 16:54:11 +0000
committerGitHub <noreply@github.com>2021-02-03 08:54:11 -0800
commit4de9edb8e82d14a0bd8f1e8b77e9019944c1440e (patch)
treed497a355b319d91824d4fb2bdd47fa70cd5cea47 /test/lhs-test.latex+lhs
parente6c7fcc59856893a4947925f0dddc3a44b74a48a (diff)
downloadpandoc-4de9edb8e82d14a0bd8f1e8b77e9019944c1440e.tar.gz
LaTeX template: Update to iftex package (#7073)
Load the iftex package directly rather than via the ifxetex and ifluatex compatibility wrappers, which have been merged into a single package that is part of the LaTeX core. The capitalization of the commands has been changed for compatibility with older versions of TeX Live that have the version of iftex by the Persian TeX Group. This had been removed in <https://github.com/jgm/pandoc/commit/2845794c0c31b2ef1f3e6a73bb5b109da4c74f37> for compatibility with BasicTeX, but that is no longer an issue.
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r--test/lhs-test.latex+lhs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index 4bc674f4a..f9149ba02 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -6,8 +6,8 @@
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
-\usepackage{ifxetex,ifluatex}
-\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+\usepackage{iftex}
+\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
@@ -48,7 +48,7 @@
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
-\ifluatex
+\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi