From 06d834caaa91bee53537e49251a1b30cfb9a8d00 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 15 Jul 2020 13:28:44 -0700 Subject: Use selnolig to selectively suppress ligatures with lualatex. Closes #6534 --- test/lhs-test.latex | 3 +++ test/lhs-test.latex+lhs | 3 +++ test/writer.latex | 3 +++ test/writers-lang-and-dir.latex | 3 +++ 4 files changed, 12 insertions(+) (limited to 'test') diff --git a/test/lhs-test.latex b/test/lhs-test.latex index 48d557b27..5dade622f 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -81,6 +81,9 @@ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering +\ifluatex + \usepackage{selnolig} % disable illegal ligatures +\fi \author{} \date{} diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 806cf598d..cd229e107 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -48,6 +48,9 @@ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering +\ifluatex + \usepackage{selnolig} % disable illegal ligatures +\fi \author{} \date{} diff --git a/test/writer.latex b/test/writer.latex index e859e2d2e..05dccbb1f 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -63,6 +63,9 @@ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering +\ifluatex + \usepackage{selnolig} % disable illegal ligatures +\fi \title{Pandoc Test Suite} \author{John MacFarlane \and Anonymous} diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index a9eefb32f..2e29bb196 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -66,6 +66,9 @@ \newcommand{\textfrench}[2][]{\foreignlanguage{french}{#2}} \newenvironment{french}[2][]{\begin{otherlanguage}{french}}{\end{otherlanguage}} \fi +\ifluatex + \usepackage{selnolig} % disable illegal ligatures +\fi \ifxetex % Load bidi as late as possible as it modifies e.g. graphicx \usepackage{bidi} -- cgit v1.2.3