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$ $endif$
\fi \fi
$endif$ $endif$
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
$if(dir)$ $if(dir)$
\ifxetex \ifxetex
% Load bidi as late as possible as it modifies e.g. graphicx % Load bidi as late as possible as it modifies e.g. graphicx

View file

@ -81,6 +81,9 @@
\providecommand{\tightlist}{% \providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering \setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
\author{} \author{}
\date{} \date{}

View file

@ -48,6 +48,9 @@
\providecommand{\tightlist}{% \providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering \setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
\author{} \author{}
\date{} \date{}

View file

@ -63,6 +63,9 @@
\providecommand{\tightlist}{% \providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering \setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
\title{Pandoc Test Suite} \title{Pandoc Test Suite}
\author{John MacFarlane \and Anonymous} \author{John MacFarlane \and Anonymous}

View file

@ -66,6 +66,9 @@
\newcommand{\textfrench}[2][]{\foreignlanguage{french}{#2}} \newcommand{\textfrench}[2][]{\foreignlanguage{french}{#2}}
\newenvironment{french}[2][]{\begin{otherlanguage}{french}}{\end{otherlanguage}} \newenvironment{french}[2][]{\begin{otherlanguage}{french}}{\end{otherlanguage}}
\fi \fi
\ifluatex
\usepackage{selnolig} % disable illegal ligatures
\fi
\ifxetex \ifxetex
% Load bidi as late as possible as it modifies e.g. graphicx % Load bidi as late as possible as it modifies e.g. graphicx
\usepackage{bidi} \usepackage{bidi}