summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-sel.mklx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/font-sel.mklx')
-rw-r--r--tex/context/base/mkxl/font-sel.mklx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/font-sel.mklx b/tex/context/base/mkxl/font-sel.mklx
index a1fc8cd7f..a25b7fab7 100644
--- a/tex/context/base/mkxl/font-sel.mklx
+++ b/tex/context/base/mkxl/font-sel.mklx
@@ -17,6 +17,8 @@
\installcorenamespace {selectfont}
\installsimplecommandhandler \??selectfont {selectfont}
+\let\selectfont_index\!!zerocount
+
\protected\def\selectfont_register[#style][#settings]%
{\begingroup
\edef\currentselectfont{\expandnamespacevalue\??fontshortstyle{#style}\s!rm}%