[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: help text updates (796d1e10)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Jun 5 23:34:02 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : TL21-2-kernel-msgs
Link : https://github.com/latex3/latex2e/commit/796d1e1021e48b6f194a7b0d25f455977ad29122
>---------------------------------------------------------------
commit 796d1e1021e48b6f194a7b0d25f455977ad29122
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Jun 5 23:34:02 2021 +0200
help text updates
>---------------------------------------------------------------
796d1e1021e48b6f194a7b0d25f455977ad29122
base/ltcmd.dtx | 30 ++++++------
base/testfiles-ltcmd/ltcmd001.tlg | 4 +-
base/testfiles-ltcmd/ltcmd004.luatex.tlg | 79 ++++++++++++++------------------
base/testfiles-ltcmd/ltcmd004.tlg | 79 ++++++++++++++------------------
base/testfiles-ltcmd/ltcmd005.luatex.tlg | 16 +++----
base/testfiles-ltcmd/ltcmd005.tlg | 16 +++----
base/testfiles-ltcmd/ltcmd006.tlg | 16 +++----
7 files changed, 108 insertions(+), 132 deletions(-)
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 60740e2e..67901489 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3564,7 +3564,7 @@
arguments~after~long~arguments.~You~have~tried~to~mix~the~two~types.
}
\msg_new:nnnn { cmd } { invalid-command-arg }
- { Invalid~argument~type~'#2'~in~#1~definition. }
+ { Invalid~argument~type~'#2'~in~#1. }
{
The~letter~'#2'~can~only~be~used~in~environment~argument~
specifications,~but~not~for~commands.
@@ -3572,14 +3572,17 @@
LaTeX~will~ignore~the~entire~definition.
}
\msg_new:nnnn { cmd } { invalid-expandable-argument-type }
- { Invalid~argument~type~'#2'~in~#1~definition. }
+ { Invalid~argument~type~'#2'~in~#1. }
{
The~letter~'#2'~specifies~an~argument~type~which~cannot~be~used~
in~an~expandable~command.
\c_@@_ignore_def_tl
}
\msg_new:nnnn { cmd } { invalid-after-optional-expandably }
- { Invalid~argument~type~'#2'~in~#1~definition. }
+ {
+ Argument~type~'#2'~not~available~after~optional~argument~
+ for~expandable~command~'#1'.
+ }
{
The~letter~'#2'~specifies~an~argument~type~which~cannot~be~used~
in~an~expandable~command~after~an~optional~argument.
@@ -3608,20 +3611,19 @@
\c_@@_ignore_def_tl
}
\msg_new:nnnn { cmd } { not-single-token }
+ { Argument~delimiter~'#2'~invalid~in~#1. }
{
- Argument~delimiter~'#2'~for~the~#1~should~be~
- a~single~non-space~token.
- }
- {
- The~argument~specification~provided~was~not~valid:~in~a~place~
- where~a~single~token~is~required,~LaTeX~found~'#2'.
+ The~argument~specification~contains~
+ \tl_if_empty:nTF{#2}{nothing}{'#2'}~
+ in~a~place~
+ where~a~single~token~is~required.
\c_@@_ignore_def_tl
}
\msg_new:nnnn { cmd } { forbidden-implicit-group-token }
- { Argument~delimiter~'#2'~for~the~#1~is~not~allowed. }
+ { Argument~delimiter~'#2'~invalid~in~#1. }
{
- The~argument~specification~provided~was~not~valid:~the~implicit~
- #3-group~token~'#2'~is~not~allowed~as~an~argument~delimiter.
+ The~argument~specification~contains~the~implicit~
+ #3-group~token~'#2'~which~is~not~allowed~as~an~argument~delimiter.
\c_@@_ignore_def_tl
}
\msg_new:nnnn { cmd } { processor-in-expandable }
@@ -3645,13 +3647,13 @@
to~the~same~argument;~these~are~redundant.
}
\msg_new:nnnn { cmd } { unknown-argument-type }
- { Invalid~argument~type~'#2'~in~#1~definition. }
+ { Invalid~argument~type~'#2'~in~#1. }
{
The~letter~'#2'~does~not~specify~a~known~argument~type.
\c_@@_ignore_def_tl
}
\msg_new:nnnn { cmd } { xparse-argument-type }
- { Invalid~argument~type~'#2'~in~#1~definition~(requires~xparse). }
+ { Invalid~argument~type~'#2'~in~#1~(requires~xparse). }
{
The~letter~'#2'~specifies~a~known~but~deprecated~argument~type.~
If~you~really~need~it~you~have~to~load~the~xparse~package.
diff --git a/base/testfiles-ltcmd/ltcmd001.tlg b/base/testfiles-ltcmd/ltcmd001.tlg
index b6f34232..8d9b4ee7 100644
--- a/base/testfiles-ltcmd/ltcmd001.tlg
+++ b/base/testfiles-ltcmd/ltcmd001.tlg
@@ -322,7 +322,7 @@ l. ...}
============================================================
TEST 7: Unknown argument types
============================================================
-! LaTeX cmd Error: Invalid argument type 'n' in command '\foo' definition.
+! LaTeX cmd Error: Invalid argument type 'n' in command '\foo'.
For immediate help type H <return>.
...
l. ...}
@@ -334,7 +334,7 @@ l. ...}
> \foo code=undefined.
<recently read> }
l. ...}
-! LaTeX cmd Error: Invalid argument type 'a' in command '\foo' definition.
+! LaTeX cmd Error: Invalid argument type 'a' in command '\foo'.
For immediate help type H <return>.
...
l. ...}
diff --git a/base/testfiles-ltcmd/ltcmd004.luatex.tlg b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
index 939d61f7..aefa9700 100644
--- a/base/testfiles-ltcmd/ltcmd004.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
@@ -144,31 +144,28 @@ The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter 'oh' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter 'oh' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'oh'.
+The argument specification contains 'oh' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter '' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter '' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found ''.
+The argument specification contains nothing in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter '{Y}' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter '{Y}' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found '{Y}'.
+The argument specification contains '{Y}' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
! LaTeX cmd Error: Bad argument specification '+>{\ReverseBoolean }' for
@@ -581,20 +578,19 @@ and I'll forget about whatever was undefined.
============================================================
TEST 15: Bad arguments
============================================================
-! LaTeX cmd Error: Invalid argument type 'abc' in command '\foo' definition.
+! LaTeX cmd Error: Invalid argument type 'abc' in command '\foo'.
For immediate help type H <return>.
...
l. ... }
The letter 'abc' does not specify a known argument type.
LaTeX will ignore this entire definition.
undefined
-! LaTeX cmd Error: Argument delimiter 'abc' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter 'abc' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'abc'.
+The argument specification contains 'abc' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
undefined
! LaTeX cmd Error: Bad argument specification 'D{abc}{def}' for command
@@ -837,61 +833,54 @@ Removed: (\){r})
============================================================
TEST 29: Non-character delimiters: forbidden delimiters
============================================================
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
(abc)
(abc)
diff --git a/base/testfiles-ltcmd/ltcmd004.tlg b/base/testfiles-ltcmd/ltcmd004.tlg
index 7ed9755a..e2eefb59 100644
--- a/base/testfiles-ltcmd/ltcmd004.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.tlg
@@ -144,31 +144,28 @@ The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter 'oh' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter 'oh' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'oh'.
+The argument specification contains 'oh' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter '' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter '' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found ''.
+The argument specification contains nothing in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
-! LaTeX cmd Error: Argument delimiter '{Y}' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter '{Y}' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found '{Y}'.
+The argument specification contains '{Y}' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
> \foo=undefined.
! LaTeX cmd Error: Bad argument specification '+>{\ReverseBoolean }' for
@@ -581,20 +578,19 @@ and I'll forget about whatever was undefined.
============================================================
TEST 15: Bad arguments
============================================================
-! LaTeX cmd Error: Invalid argument type 'abc' in command '\foo' definition.
+! LaTeX cmd Error: Invalid argument type 'abc' in command '\foo'.
For immediate help type H <return>.
...
l. ... }
The letter 'abc' does not specify a known argument type.
LaTeX will ignore this entire definition.
undefined
-! LaTeX cmd Error: Argument delimiter 'abc' for the command '\foo' should be a
-(cmd) single non-space token.
+! LaTeX cmd Error: Argument delimiter 'abc' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'abc'.
+The argument specification contains 'abc' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
undefined
! LaTeX cmd Error: Bad argument specification 'D{abc}{def}' for command
@@ -837,61 +833,54 @@ Removed: (\){r})
============================================================
TEST 29: Non-character delimiters: forbidden delimiters
============================================================
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\)' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\)' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit end-group
-token '\)' is not allowed as an argument delimiter.
+The argument specification contains the implicit end-group token '\)' which is
+not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter '\(' for the command '\foo' is not
-(cmd) allowed.
+! LaTeX cmd Error: Argument delimiter '\(' invalid in command '\foo'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: the implicit begin-group
-token '\(' is not allowed as an argument delimiter.
+The argument specification contains the implicit begin-group token '\(' which
+is not allowed as an argument delimiter.
LaTeX will ignore this entire definition.
(abc)
(abc)
diff --git a/base/testfiles-ltcmd/ltcmd005.luatex.tlg b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
index ef06801a..3ab655a7 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -135,7 +135,7 @@ l. ... }
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
-! LaTeX cmd Error: Invalid argument type 'b' in command '\testE' definition.
+! LaTeX cmd Error: Invalid argument type 'b' in command '\testE'.
For immediate help type H <return>.
...
l. ... }
@@ -220,14 +220,13 @@ For immediate help type H <return>.
l. ... }
The argument specification provided has two markers '!' applying to the same
argument; these are redundant.
-! LaTeX cmd Error: Invalid argument type 'X' in command '\testA' definition.
+! LaTeX cmd Error: Invalid argument type 'X' in command '\testA'.
For immediate help type H <return>.
...
l. ... }
The letter 'X' does not specify a known argument type.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Invalid argument type 'X' in environment 'testA'
-(cmd) definition.
+! LaTeX cmd Error: Invalid argument type 'X' in environment 'testA'.
For immediate help type H <return>.
...
l. ... }
@@ -286,13 +285,12 @@ The first argument of '\NewDocumentCommand' should be the document command
that will be defined. The provided argument 'space' contains more than one
token. Perhaps a backslash is missing?
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter 'ab' for the command '\testB' should be
-(cmd) a single non-space token.
+! LaTeX cmd Error: Argument delimiter 'ab' invalid in command '\testB'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'ab'.
+The argument specification contains 'ab' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
! Undefined control sequence.
<argument> \::error
@@ -341,7 +339,7 @@ For immediate help type H <return>.
l. ... }
The arguments for an expandable command must not involve short arguments after
long arguments. You have tried to mix the two types.
-! LaTeX cmd Error: Invalid argument type 'v' in \testA definition.
+! LaTeX cmd Error: Invalid argument type 'v' in \testA.
For immediate help type H <return>.
...
l. ... }
diff --git a/base/testfiles-ltcmd/ltcmd005.tlg b/base/testfiles-ltcmd/ltcmd005.tlg
index 7ce255fd..c9fc2198 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -135,7 +135,7 @@ l. ... }
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
-! LaTeX cmd Error: Invalid argument type 'b' in command '\testE' definition.
+! LaTeX cmd Error: Invalid argument type 'b' in command '\testE'.
For immediate help type H <return>.
...
l. ... }
@@ -220,14 +220,13 @@ For immediate help type H <return>.
l. ... }
The argument specification provided has two markers '!' applying to the same
argument; these are redundant.
-! LaTeX cmd Error: Invalid argument type 'X' in command '\testA' definition.
+! LaTeX cmd Error: Invalid argument type 'X' in command '\testA'.
For immediate help type H <return>.
...
l. ... }
The letter 'X' does not specify a known argument type.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Invalid argument type 'X' in environment 'testA'
-(cmd) definition.
+! LaTeX cmd Error: Invalid argument type 'X' in environment 'testA'.
For immediate help type H <return>.
...
l. ... }
@@ -286,13 +285,12 @@ The first argument of '\NewDocumentCommand' should be the document command
that will be defined. The provided argument 'space' contains more than one
token. Perhaps a backslash is missing?
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Argument delimiter 'ab' for the command '\testB' should be
-(cmd) a single non-space token.
+! LaTeX cmd Error: Argument delimiter 'ab' invalid in command '\testB'.
For immediate help type H <return>.
...
l. ... }
-The argument specification provided was not valid: in a place where a single
-token is required, LaTeX found 'ab'.
+The argument specification contains 'ab' in a place where a single token is
+required.
LaTeX will ignore this entire definition.
! Undefined control sequence.
<argument> \::error
@@ -341,7 +339,7 @@ For immediate help type H <return>.
l. ... }
The arguments for an expandable command must not involve short arguments after
long arguments. You have tried to mix the two types.
-! LaTeX cmd Error: Invalid argument type 'v' in \testA definition.
+! LaTeX cmd Error: Invalid argument type 'v' in \testA.
For immediate help type H <return>.
...
l. ... }
diff --git a/base/testfiles-ltcmd/ltcmd006.tlg b/base/testfiles-ltcmd/ltcmd006.tlg
index 15e4f2e1..c2706d5d 100644
--- a/base/testfiles-ltcmd/ltcmd006.tlg
+++ b/base/testfiles-ltcmd/ltcmd006.tlg
@@ -4,32 +4,32 @@ Author: PhelypeOleinik
============================================================
TEST 1: Deprecated argument types
============================================================
-! LaTeX cmd Error: Invalid argument type 'G' in command '\testA' definition
-(cmd) (requires xparse).
+! LaTeX cmd Error: Invalid argument type 'G' in command '\testA' (requires
+(cmd) xparse).
For immediate help type H <return>.
...
l. ... }
The letter 'G' specifies a known but deprecated argument type. If you really
need it you have to load the xparse package.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Invalid argument type 'g' in command '\testA' definition
-(cmd) (requires xparse).
+! LaTeX cmd Error: Invalid argument type 'g' in command '\testA' (requires
+(cmd) xparse).
For immediate help type H <return>.
...
l. ... }
The letter 'g' specifies a known but deprecated argument type. If you really
need it you have to load the xparse package.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Invalid argument type 'l' in command '\testA' definition
-(cmd) (requires xparse).
+! LaTeX cmd Error: Invalid argument type 'l' in command '\testA' (requires
+(cmd) xparse).
For immediate help type H <return>.
...
l. ... }
The letter 'l' specifies a known but deprecated argument type. If you really
need it you have to load the xparse package.
LaTeX will ignore this entire definition.
-! LaTeX cmd Error: Invalid argument type 'u' in command '\testA' definition
-(cmd) (requires xparse).
+! LaTeX cmd Error: Invalid argument type 'u' in command '\testA' (requires
+(cmd) xparse).
For immediate help type H <return>.
...
l. ... }
More information about the latex3-commits
mailing list.