Use selnolig to selectively suppress ligatures with lualatex.

Closes #6534
This commit is contained in:
John MacFarlane 2020-07-15 13:28:44 -07:00
parent 302543af08
commit 06d834caaa
5 changed files with 15 additions and 0 deletions

View file

@ -339,6 +339,9 @@ $if(babel-newcommands)$
$endif$
\fi
$endif$
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
$if(dir)$
\ifxetex
% Load bidi as late as possible as it modifies e.g. graphicx

View file

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

View file

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

View file

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

View file

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