summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-31 21:09:11 +0000
committerKarl Berry <karl@freefriends.org>2017-07-31 21:09:11 +0000
commit03112d94c0d80f90df3d31232ea53c1953eb0bee (patch)
treea4ad27bf21bf64b57c8df7f5849c670c899629ed /Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx
parent89ca7ced47afa7482445dfbb4fda99f93d1ce4b4 (diff)
unicode-math (31jul17)
git-svn-id: svn://tug.org/texlive/trunk@44930 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx b/Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx
index 69eeeaccc20..4513ee78eaf 100644
--- a/Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx
+++ b/Master/texmf-dist/source/latex/unicode-math/unicode-math.dtx
@@ -69,7 +69,7 @@ This work is "maintained" by Will Robertson.
%<preamble&XE>\ProvidesPackage{unicode-math-xetex}
%<preamble&LU>\ProvidesPackage{unicode-math-luatex}
%<*preamble>
- [2017/01/27 v0.8d Unicode maths in XeLaTeX and LuaLaTeX]
+ [2017/07/30 v0.8e Unicode maths in XeLaTeX and LuaLaTeX]
%</preamble>
%<*internal>
\def\DOCUMENTEND{F}
@@ -759,9 +759,11 @@ This work is "maintained" by Will Robertson.
% \begin{macrocode}
\cs_set:Nn \@@_set_mathsymbol:nNNn
{
- \bool_if:nT
+ \bool_lazy_and:nnT
+ {
+ \int_compare_p:nNn {#4} > {127}
+ }
{
- \int_compare_p:nNn {#4} > {127} &&
\int_compare_p:nNn { \char_value_catcode:n {#4} } = {11}
}
{ \char_set_catcode_other:n {#4} }
@@ -1980,7 +1982,7 @@ This work is "maintained" by Will Robertson.
\seq_if_in:NnTF \g_@@_mathclasses_seq {##1}
{ \seq_put_right:Nn \l_@@_mclass_range_seq {##1} }
{
- \bool_if:nTF { \tl_if_single_p:n {##1} && \token_if_cs_p:N ##1 }
+ \bool_lazy_and:nnTF { \tl_if_single_p:n {##1} } { \token_if_cs_p:N ##1 }
{ \seq_put_right:Nn \l_@@_cmd_range_seq {##1} }
{ \seq_put_right:Nn \l_@@_char_range_seq {##1} }
}
@@ -3633,11 +3635,11 @@ This work is "maintained" by Will Robertson.
% \begin{macrocode}
\cs_new:Npn \@@_peek_execute_branches_ss:
{
- \bool_if:nTF
+ \bool_lazy_any:nTF
{
- \token_if_eq_catcode_p:NN \l_peek_token \c_group_begin_token ||
- \token_if_eq_catcode_p:NN \l_peek_token \c_group_end_token ||
- \token_if_eq_meaning_p:NN \l_peek_token \c_space_token
+ { \token_if_eq_catcode_p:NN \l_peek_token \c_group_begin_token }
+ { \token_if_eq_catcode_p:NN \l_peek_token \c_group_end_token }
+ { \token_if_eq_meaning_p:NN \l_peek_token \c_space_token }
}
{ \__peek_false:w }
{ \@@_peek_execute_branches_ss_aux: }