summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty38
1 files changed, 6 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty b/Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
index b7b7113ee80..a5cac59aec8 100644
--- a/Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
+++ b/Master/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
@@ -1188,26 +1188,12 @@
}
\CatchFileEdef \g__um_mathtable_tl {unicode-math-table.tex} {\__um_symbol_setup:}
\cs_new:Nn \__um_input_math_symbol_table: {\g__um_mathtable_tl}
+\cs_set:Npn \__um_cs_set_eq_active_char:Nw #1 = "#2 \q_nil
+ {
+ \exp_last_unbraced:NNx \cs_gset_eq:NN #1 { \Ucharcat "#2 ~ 12 ~ }
+ }
\group_begin:
\char_set_catcode_other:N \^
- \cs_gset:Npn \__um_cs_set_eq_active_char:Nw #1 = "#2 \q_nil
- {
- \tex_lowercase:D
- {
- \tl_rescan:nn
- {
- \ExplSyntaxOn
- \char_set_catcode_other:N \{
- \char_set_catcode_other:N \}
- \char_set_catcode_other:N \&
- \char_set_catcode_other:N \%
- \char_set_catcode_other:N \$
- }
- {
- \cs_gset_eq:NN #1 ^^^^^#2
- }
- }
- }
\cs_new:Npn \__um_active_char_set:wc "#1 \q_nil #2
{
\tex_lowercase:D
@@ -1235,18 +1221,6 @@
\__um_input_math_symbol_table:
\group_end:
}
-\group_begin:
- \lccode`\*=`\\
- \char_set_catcode_escape:N \|
- \char_set_catcode_other:N \\
- |lowercase
- {
- |AtBeginDocument
- {
- |let|backslash=*
- }
- }
-|group_end:
\AtBeginDocument { \__um_load_lm_if_necessary: }
\cs_new:Nn \__um_load_lm_if_necessary:
{
@@ -1968,7 +1942,7 @@
&& \int_compare_p:nNn { \leftroot@ } = { \c_zero }
}
{
- \luatexUroot \l__um_radical_sqrt_tl { #1 } { #2 }
+ \Uroot \l__um_radical_sqrt_tl { #1 } { #2 }
}
{
\hbox_set:Nn \rootbox
@@ -2009,7 +1983,7 @@
\mskip \uproot@ mu
\c_math_toggle_token
}
- \luatexUroot \l__um_radical_sqrt_tl
+ \Uroot \l__um_radical_sqrt_tl
{
\box_move_up:nn { \box_wd:N \l_tmpa_box }
{