\use…ofkomafont broken with LaTeX 2021/06/01
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
MH reported an bug in KOMA-Script's \use…ofkomafont
commands due to an change of \selectfont
in LaTeX 2021/05/01.
Testfile:
\RequirePackage[2021/06/01]{latexrelease} \documentclass{scrartcl} \begin{document} {\usefontofkomafont{disposition} should be sf+bf} {\usefontofkomafont{pageheadfoot} should be sl} {\useseriesofkomafont{disposition} should be bf} {\useshapeofkomafont{pageheadfoot} should be sl} \end{document}
The reason is, that KOMA-Script redefines \selectfont
to detect the series and shape from \f@shape
and \f@series
, but from LaTeX 2021/06/01 the definition of these internals are delayed until \selectfont
.
All these commands redefined in [r3597].
Related
Commit: [r3597]
Last edit: Markus Kohm 2021-05-17