0

I made changes to something in an (English language) .tex file and discovered all my ss now exported as ß. After some debugging in my version control, there was no clear culprit to undo (maybe a font changed?), so I have turned to patching the problem over.

I'm consulting:

I'm using the following, NoCommon, to disable ligatures:

\defaultfontfeatures{Scale=MatchLowercase,
                     Ligatures={NoCommon}}

Can I be more targeted than disabling all ligatures? Is it possible to disable /only/ the ss ligature when using fontspec with xelatex?

  • 1
    Please clarify what you mean by "all my ss [are] now exported as ß". Do you mean to say that "ss" gets typeset as ß"? (The verb "export" has many potential meanings...) Incidentally, are your free to switch from XeLaTeX to LuaLaTeX? If so, you might want to take a look at the selnolig package. – Mico Apr 17 at 6:43
  • 3
    does that work? I would expect that NoCommon disables ffi ligatures but I wouldn't have expected ss->ß to be in the Common ligature set? – David Carlisle Apr 17 at 6:45
  • Weird, right? My PDF rendered acceß, neceßary, etc., just from having contiguous s in text. Changing to this did actually fix it, but I wonder if I'm missing out on other potentially nice ligatures. It seems like oe stays, fwiw. – Mittenchops Apr 17 at 7:02
  • 3
    What font is that? Even for a german text this wouldn't be a suitable behaviour. – Ulrike Fischer Apr 17 at 8:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.