[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Update l3kernel for testing (102e6a4c)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jul 1 12:58:46 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/102e6a4c766e09600e5cbbe7a853fecb8629ba51

>---------------------------------------------------------------

commit 102e6a4c766e09600e5cbbe7a853fecb8629ba51
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jul 1 11:58:35 2022 +0100

    Update l3kernel for testing


>---------------------------------------------------------------

102e6a4c766e09600e5cbbe7a853fecb8629ba51
 texmf/tex/latex/l3kernel/expl3-code.tex | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index 97198e5c..f3c4e8f0 100644
--- a/texmf/tex/latex/l3kernel/expl3-code.tex
+++ b/texmf/tex/latex/l3kernel/expl3-code.tex
@@ -31718,6 +31718,7 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
     \group_end:
   }
 %% File: l3text.dtx
+\cs_generate_variant:Nn \tl_if_head_eq_meaning_p:nN { o }
 \scan_new:N \s__text_stop
 \quark_new:N \q__text_nil
 \__kernel_quark_new_conditional:Nn \__text_quark_if_nil:n { TF }
@@ -32098,9 +32099,14 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
         \bool_lazy_and:nnTF
           { \token_if_active_p:N #1 }
           {
-            ! \bool_lazy_or_p:nn
-              { \token_if_protected_macro_p:N #1 }
-              { \token_if_protected_long_macro_p:N #1 }
+            ! \bool_lazy_any_p:n
+              {
+                { \token_if_protected_macro_p:N #1 }
+                { \token_if_protected_long_macro_p:N #1 }
+                { \tl_if_head_eq_meaning_p:oN {#1} \UTFviii at two@octets }
+                { \tl_if_head_eq_meaning_p:oN {#1} \UTFviii at three@octets }
+                { \tl_if_head_eq_meaning_p:oN {#1} \UTFviii at four@octets }
+              }
           }
           { \exp_after:wN \__text_expand_loop:w #1 }
           {





More information about the latex3-commits mailing list.