Menu

#5 \use…ofkomafont broken with LaTeX 2021/06/01

LaTeX 2021-06-01
closed
2021-05-17
2021-05-17
Markus Kohm
No

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.

Related

Wiki (Deutsch): Release 3.33
Wiki (English): Release 3.33

Discussion

  • Markus Kohm

    Markus Kohm - 2021-05-17
    • status: open --> closed
     
  • Markus Kohm

    Markus Kohm - 2021-05-17

    All these commands redefined in [r3597].

     

    Related

    Commit: [r3597]


    Last edit: Markus Kohm 2021-05-17
  • Markus Kohm

    Markus Kohm - 2021-05-17
    • labels: bug --> bug, kernelchange
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.