summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-29 21:16:19 +0000
committerKarl Berry <karl@freefriends.org>2018-07-29 21:16:19 +0000
commit22732cc95c18343889729d2b33cadcaa09561171 (patch)
tree99b00aab650239d33fe44c326cd0b855bc257984 /Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx
parentf1d5ff4d5041a7f804fb723d4634d41f410d7f60 (diff)
unicode-math (29jul18)
git-svn-id: svn://tug.org/texlive/trunk@48309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx b/Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx
index 9b1d67a3061..833b4936bad 100644
--- a/Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx
+++ b/Master/texmf-dist/source/latex/unicode-math/um-code-sym-commands.dtx
@@ -65,7 +65,7 @@
\mode_if_math:F { \exp_args:Nc \non@alpherr {sym#1} }
\tl_set:Nn \l_@@_mathstyle_tl {#1}
}
- \exp_not:c {@@_switchto_#1:}
+ \@@_switch_to:n {#1}
\@@_mathgroup_set:n {-1}
\@@_group_end:n
}
@@ -83,7 +83,12 @@
\cs_set:Nn \@@_init_alphabet:n
{
\@@_log:nx {alph-initialise} {#1}
- \cs_set_eq:cN {@@_switchto_#1:} \prg_do_nothing:
+ \tl_gclear_new:c {g_@@_switchto_#1_tl}
+ \cs_set_protected:cpn {@@_switchto_#1:} { \tl_use:c {g_@@_switchto_#1_tl} }
+ }
+\cs_new_protected:Nn \@@_switch_to:n
+ {
+ \tl_use:c {g_@@_switchto_#1_tl}
}
% \end{macrocode}
% \end{macro}