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

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Jun 8 18:56:19 CEST 2021


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

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

commit 7a1e360deaa16527aeddadcec110c771e4d8546e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Jun 8 18:56:19 2021 +0200

    change suggested by Bruno


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

7a1e360deaa16527aeddadcec110c771e4d8546e
 base/ltcmd.dtx                           |  4 ++--
 base/testfiles-ltcmd/ltcmd003.tlg        | 16 ++++++++--------
 base/testfiles-ltcmd/ltcmd005.luatex.tlg | 13 +++++++------
 base/testfiles-ltcmd/ltcmd005.tlg        | 13 +++++++------
 4 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 1c7b59a5..27155b3e 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3722,8 +3722,8 @@
 \msg_new:nnnn { cmd } { verbatim-tokenized }
   { Verbatim-like~#1~illegal~in~argument. }
   {
-    The~#1~takes~a~verbatim~argument~and~can~therefore~normally~
-    not~appear~in~arguments~of~other~commands~or~environments.~
+    The~#1~takes~a~verbatim~argument~and~should~therefore~normally~
+    not~be~used~in~arguments~of~other~commands~or~environments.~
     LaTeX~found~an~illegal~token~ \tl_if_empty:nF {#3} { (#3)~ }
     after~'#2'~and~will~drop~everything~up~to~this~point.
     \\ \\
diff --git a/base/testfiles-ltcmd/ltcmd003.tlg b/base/testfiles-ltcmd/ltcmd003.tlg
index 0978c75e..b4f9ccba 100644
--- a/base/testfiles-ltcmd/ltcmd003.tlg
+++ b/base/testfiles-ltcmd/ltcmd003.tlg
@@ -12,8 +12,8 @@ I got '\foo[a]-bcd-{de}
 For immediate help type H <return>.
  ...                                              
 l. ...\use:n {\foo*+&#~+}
-The command '\foo' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
+The command '\foo' takes a verbatim argument and should therefore normally not
+be used in arguments of other commands or environments. LaTeX found an illegal
 token (##) after '+&' and will drop everything up to this point.
 Expect further (low-level) errors.
 I got '\foo*--NoValue--{##}
@@ -21,8 +21,8 @@ I got '\foo*--NoValue--{##}
 For immediate help type H <return>.
  ...                                              
 l. ...\use:n {\foo[\ab]+\ab+}
-The command '\foo' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
+The command '\foo' takes a verbatim argument and should therefore normally not
+be used in arguments of other commands or environments. LaTeX found an illegal
 token (\ab ) after '+' and will drop everything up to this point.
 Expect further (low-level) errors.
 I got '\foo[\ab ]--NoValue--{\ab }
@@ -30,8 +30,8 @@ I got '\foo[\ab ]--NoValue--{\ab }
 For immediate help type H <return>.
  ...                                              
 l. ...\use:n {\foo\abc\ }
-The command '\foo' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
+The command '\foo' takes a verbatim argument and should therefore normally not
+be used in arguments of other commands or environments. LaTeX found an illegal
 token (\abc ) after '' and will drop everything up to this point.
 Expect further (low-level) errors.
 I got '\foo--NoValue--{\abc }
@@ -65,8 +65,8 @@ For immediate help type H <return>.
  ...                                              
 l. ...\foo#
            {}
-The command '\foo' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
+The command '\foo' takes a verbatim argument and should therefore normally not
+be used in arguments of other commands or environments. LaTeX found an illegal
 token (##) after '' and will drop everything up to this point.
 Expect further (low-level) errors.
 I got '\foo--NoValue--{##}
diff --git a/base/testfiles-ltcmd/ltcmd005.luatex.tlg b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
index 1ad5d44b..dd7e19c3 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -408,9 +408,9 @@ separator ',' into 3 parts. Too many separators were found.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-The command '\testE' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
-token (\TYPE ) after '+' and will drop everything up to this point.
+The command '\testE' takes a verbatim argument and should therefore normally
+not be used in arguments of other commands or environments. LaTeX found an
+illegal token (\TYPE ) after '+' and will drop everything up to this point.
 Expect further (low-level) errors.
 -NoValue-
 +
@@ -418,9 +418,10 @@ Expect further (low-level) errors.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-The environment 'testF' takes a verbatim argument and can therefore normally
-not appear in arguments of other commands or environments. LaTeX found an
-illegal token (\TYPE ) after '+' and will drop everything up to this point.
+The environment 'testF' takes a verbatim argument and should therefore
+normally not be used in arguments of other commands or environments. LaTeX
+found an illegal token (\TYPE ) after '+' and will drop everything up to this
+point.
 Expect further (low-level) errors.
 -NoValue-
 +
diff --git a/base/testfiles-ltcmd/ltcmd005.tlg b/base/testfiles-ltcmd/ltcmd005.tlg
index 5b800b9b..f9a116b8 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -408,9 +408,9 @@ separator ',' into 3 parts. Too many separators were found.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-The command '\testE' takes a verbatim argument and can therefore normally not
-appear in arguments of other commands or environments. LaTeX found an illegal
-token (\TYPE ) after '+' and will drop everything up to this point.
+The command '\testE' takes a verbatim argument and should therefore normally
+not be used in arguments of other commands or environments. LaTeX found an
+illegal token (\TYPE ) after '+' and will drop everything up to this point.
 Expect further (low-level) errors.
 -NoValue-
 +
@@ -418,9 +418,10 @@ Expect further (low-level) errors.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-The environment 'testF' takes a verbatim argument and can therefore normally
-not appear in arguments of other commands or environments. LaTeX found an
-illegal token (\TYPE ) after '+' and will drop everything up to this point.
+The environment 'testF' takes a verbatim argument and should therefore
+normally not be used in arguments of other commands or environments. LaTeX
+found an illegal token (\TYPE ) after '+' and will drop everything up to this
+point.
 Expect further (low-level) errors.
 -NoValue-
 +





More information about the latex3-commits mailing list.