[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: text change suggested by Bruno (6764f7fd)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jun 7 22:14:05 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : TL21-2-kernel-msgs
Link       : https://github.com/latex3/latex2e/commit/6764f7fd7d4c6d92bebf793b72adf370e238a20f

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

commit 6764f7fd7d4c6d92bebf793b72adf370e238a20f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jun 7 22:14:05 2021 +0200

    text change suggested by Bruno


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

6764f7fd7d4c6d92bebf793b72adf370e238a20f
 base/ltcmd.dtx                           | 9 ++++-----
 base/testfiles-ltcmd/ltcmd005.luatex.tlg | 8 ++++----
 base/testfiles-ltcmd/ltcmd005.tlg        | 8 ++++----
 base/testfiles-ltcmd/ltcmd007.tlg        | 2 +-
 4 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 126e2712..f35d18a1 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3115,7 +3115,7 @@
                   \ProcessedArgument
                   \q_stop
               }
-            \msg_error:nnxxx { cmd } { split-excess-tokens }
+            \msg_error:nnxxx { cmd } { arg-split }
               { \tl_to_str:n {#3} } { \int_eval:n { #2 + 1 } }
               { \tl_to_str:n {#4} }
           }
@@ -3693,13 +3693,12 @@
     You~have~asked~for~the~argument~specification~for~the~#1,~
     but~this~was~not~defined~using~xparse.
   }
-\msg_new:nnnn { cmd } { split-excess-tokens }
-%  { Too~many~'#1'~tokens~when~trying~to~split~argument. }
+\msg_new:nnnn { cmd } { arg-split }
   { Too~many~'#1'~separators~in~argument. }
   {
     LaTeX~was~asked~to~split~the~input~'#3'~
-    at~each~occurrence~of~the~token~'#1'~into~#2~parts.~
-    There~were~too~many~'#1'~tokens.
+    at~each~occurrence~of~the~separator~'#1'~into~#2~parts.~
+    Too~many~separators~were~found.
   }
 \msg_new:nnnn { cmd } { unknown }
   { Unknown~document~#1. }
diff --git a/base/testfiles-ltcmd/ltcmd005.luatex.tlg b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
index 4454a618..8d6d29fc 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -396,14 +396,14 @@ on each other in a way that cannot be resolved.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the token
-',' into 3 parts. There were too many ',' tokens.
+LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the
+separator ',' into 3 parts. Too many separators were found.
 ! LaTeX cmd Error: Too many ',' separators in argument.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the token
-',' into 3 parts. There were too many ',' tokens.
+LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the
+separator ',' into 3 parts. Too many separators were found.
 ! LaTeX cmd Error: Verbatim-like command '\testE' illegal in argument.
 For immediate help type H <return>.
  ...                                              
diff --git a/base/testfiles-ltcmd/ltcmd005.tlg b/base/testfiles-ltcmd/ltcmd005.tlg
index 069fa150..d4303bc3 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -396,14 +396,14 @@ on each other in a way that cannot be resolved.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the token
-',' into 3 parts. There were too many ',' tokens.
+LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the
+separator ',' into 3 parts. Too many separators were found.
 ! LaTeX cmd Error: Too many ',' separators in argument.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the token
-',' into 3 parts. There were too many ',' tokens.
+LaTeX was asked to split the input 'a,b,c,d' at each occurrence of the
+separator ',' into 3 parts. Too many separators were found.
 ! LaTeX cmd Error: Verbatim-like command '\testE' illegal in argument.
 For immediate help type H <return>.
  ...                                              
diff --git a/base/testfiles-ltcmd/ltcmd007.tlg b/base/testfiles-ltcmd/ltcmd007.tlg
index 5b07e347..a13bd3dd 100644
--- a/base/testfiles-ltcmd/ltcmd007.tlg
+++ b/base/testfiles-ltcmd/ltcmd007.tlg
@@ -60,7 +60,7 @@ For immediate help type H <return>.
  ...                                              
 l. ...}
 LaTeX was asked to split the input 'a;;b;;c;;d' at each occurrence of the
-token ';;' into 3 parts. There were too many ';;' tokens.
+separator ';;' into 3 parts. Too many separators were found.
 ==> {a}{b}{c}
 ==> {a}{}{b}{}{c}
 ============================================================





More information about the latex3-commits mailing list.