I am aware that similar questions have been asked a few times. However, none of the answers solved my problem. This Answer says that it is a bug in luaotfload. But I'm already using a newer version (2.80001).
I'm trying to supress ligatures via selnolig package. It works great, but not for text that was set in capitals. Using microtypes \DisableLigatures or selnolig package \breaklig also has no effect. See MWE:
% !TeX program = lualatex
% !TeX encoding = UTF-8 Unicode
\documentclass[%
a4paper,
DIV=9,
fontsize=14pt,
parskip=half-
]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes}[%
Ligatures=Common,
SmallCapsFeatures={Letters=UppercaseSmallCaps},
]
\setkomafont{disposition}{\rmfamily}
\usepackage[tracking=true]{microtype}
\SetTracking{encoding=*,shape=sc}{160}
\usepackage[ngerman]{selnolig}
\RedeclareSectionCommand[%
font={\scshape\mdseries\Large}
]{section}
\RedeclareSectionCommand[%
font={\mdseries\Large}
]{subsection}
\begin{document}
% Heading set in caps => ligature still present
\section{Berufliche Praxis}
Berufliche Praxis\par
ff fl fi
% Using \breaklig command => ligature still present
\section{Beruf\breaklig liche Praxis}
% Disabling selnolig => works as expected
\selnoligoff
\section{Berufliche Praxis}
\selnoligon
% No caps => works as expected
\subsection{Berufliche Praxis}
\end{document}
So the selnolig package takes care that ligatures in Berufliche gets suppressed. This is correct. But it does not work for headings with small caps. Adding \selnoligoff right before the \section seems to be the only way to supress ligatures in headings with small caps? Or have I missed a setting? I'm wondering which package is responsible for this bug.




\section{Beruf\kern0ptliche Praxis}– Steven B. Segletes Apr 03 '19 at 11:11\kern0ptworks. Although this is rather inconvenient because it must be applied separately to each and every occurrence of all words that contain unwanted ligatures. The shortcut"|(provided by babel) does not work. – maaattes Apr 03 '19 at 11:46\kern0ptany more inconvenient that the attempted\breaklig? – Steven B. Segletes Apr 03 '19 at 11:48SmallCapsFeatures={Ligatures=CommonOff}) actually was my first approach. However, it has no effect in headings. – maaattes Apr 03 '19 at 13:53\breakligwhich inserts a 0pt space). – Ulrike Fischer Apr 05 '19 at 18:58