summaryrefslogtreecommitdiff
path: root/tex/context/base/font-pre.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-pre.mkiv')
-rw-r--r--tex/context/base/font-pre.mkiv7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/font-pre.mkiv b/tex/context/base/font-pre.mkiv
index 74c39722f..bbb06dce1 100644
--- a/tex/context/base/font-pre.mkiv
+++ b/tex/context/base/font-pre.mkiv
@@ -501,8 +501,11 @@
\definefontfeature[f:smallcaps][smcp=yes]
\definefontfeature[f:oldstyle] [onum=yes]
-\definealternativestyle [\v!smallcaps] [\doaddfeature{f:smallcaps}] [\doaddfeature{f:smallcaps}]
-\definealternativestyle [\v!oldstyle] [\doaddfeature{f:oldstyle}] [\doaddfeature{f:oldstyle}]
+\definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps]
+\definealternativestyle [\v!oldstyle] [\setoldstyle ] [\setoldstyle ]
+
+\unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}}
+\unexpanded\def\setoldstyle {\doaddfeature{f:oldstyle}}
%D \macros
%D {tinyfont}