Skip to content

Regression for LuaLaTeX: ligatures not suppressed anymore #9863

Closed
@fkohrt

Description

@fkohrt

Explain the problem.

The selnolig package has previously been integrated into the default LaTeX template to automatically disable incorrect ligatures.

With #7604, the document's (babel) language is not passed as classoption anymore, on which selnolig relied on. Citing from its documentation:

  • If you load the package without an explicit language option, i.e., as

    \usepackage{selnolig}
    

    but if one or more of the language options noted above are specified as options in the \documentclass instruction, LaTeX will pass these options on to the selnolig package.

Therefore, currently selnolig does not work for English or German documents.

Now, the alternative is to pass the (babel) language directly to selnolig:

  • If your document is in English and you want to enable a “basic” set of rules to suppress f-ligatures selectively, load the package by issuing the following instruction in the preamble of your document:

    \usepackage[english]{selnolig}
    

    Synonymous options are UKenglish, british, USenglish, american, canadian, australian, and newzealand.

[...]

  • If your document is written in German, load the package as follows:

    \usepackage[ngerman]{selnolig}
    

    Synonymous language options are german, austrian, naustrian, swissgerman, and swiss.

Pandoc version?

pandoc 3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions