diff options
| author | John MacFarlane <[email protected]> | 2024-06-10 19:33:43 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-06-10 19:33:43 -0700 |
| commit | cd9753d4af6286dfdd8e587314d1204f8e76801b (patch) | |
| tree | f3d5e92b542b45913934339dccb918a3a11fa064 /test/writer.latex | |
| parent | c9a3f5466e42ec984b5f105bb9b2023407b44997 (diff) | |
LaTeX writer/template: specify language option for `selnolig`...
...and only include it if `english` or `german` is used.
Since 3d8f011, the babel language is not specified as a
class option any more; so now we need to explicitly specify
the language option when we load `selnolig`. Only `german`
and `english` are valid, so we construct the variable
`selnolig-langs` in the writer and include `selnolig` if it
is nonempty.
This should restore proper ligature suppression when
lualatex is used.
Closes #9863. Supersedes #9864.
Thanks to @fkohrt for the initial fix.
Diffstat (limited to 'test/writer.latex')
| -rw-r--r-- | test/writer.latex | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/writer.latex b/test/writer.latex index b1d784f02..5027b85cc 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -60,9 +60,6 @@ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering -\ifLuaTeX - \usepackage{selnolig} % disable illegal ligatures -\fi \usepackage{bookmark} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \urlstyle{same} |
