Use selnolig to selectively suppress ligatures with lualatex.
Closes #6534
This commit is contained in:
parent
302543af08
commit
06d834caaa
5 changed files with 15 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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{}
|
||||||
|
|
|
@ -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{}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue