https://github.com/latex3/latex2e
Raw File
Tip revision: 4166dffe428c8b01bd959d1d350695d881e9ad06 authored by Frank Mittelbach on 24 June 2021, 14:01:45 UTC
mumble, of course the test results change if we change the first aid
Tip revision: 4166dff
ltcmd005.luatex.tlg
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
Author: Bruno Le Floch
============================================================
TEST 1: Invalid '!'
============================================================
! LaTeX cmd Error: Prefix '!' used before mandatory argument 'R(){-NoValue-}'
(cmd)              of command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' can only apply to trailing optional arguments.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Prefix '!' used before mandatory argument 'm' of command
(cmd)              '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' can only apply to trailing optional arguments.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Two '!' apply to the same argument in argument
(cmd)              specification of command '\testA'.
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: Bad argument specification '!+!' for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Bad argument specification '+!' for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Bad argument specification '!' for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Two '+' apply to the same argument in argument
(cmd)              specification of command '\testA'.
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: Argument specification '!o' for expandable command '\testA'
(cmd)              ends with optional argument.
For immediate help type H <return>.
 ...                                              
l. ...  }
Expandable commands must have a final mandatory argument (or no arguments at
all). You cannot have a terminal optional argument with expandable commands.
! LaTeX cmd Error: Prefix '!' used before mandatory argument 'm' of command
(cmd)              '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' can only apply to trailing optional arguments.
LaTeX will ignore this entire definition.
============================================================
============================================================
TEST 2: Valid '!' and avoid dropping spaces
============================================================
Runaway argument?
! Paragraph ended before \testA  was complete.
<to be read again> 
\par 
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.
|a|-NoValue-|b||
|a|b|-NoValue-|  |
|a|b|d||
|a|b|c[d]| \c_space_token |
Runaway argument?
! Paragraph ended before \testB  was complete.
<to be read again> 
\par 
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.
|a|\BooleanFalse |\BooleanTrue ||
|a|\BooleanTrue |\BooleanFalse |  |
|a|\BooleanTrue |\BooleanTrue ||
|a|\BooleanTrue |\BooleanTrue | \c_space_token |
============================================================
============================================================
TEST 3: Signature normalized or not
============================================================
> \ArgumentSpecification=!+o.
<recently read> }
l. ...  }
> \ArgumentSpecification=+!o.
<recently read> }
l. ...  }
============================================================
============================================================
TEST 4: Environment body valid
============================================================
============================================================
|...|{\begin {any} \begin {unbalanced} \end {environments} \begin {provided}}{\end {nesting} \end {works} \begin {out} \end {!}}|
|...|
|-NoValue-| [...] \begin {any} \begin {unbalanced} \end {environments} \begin {provided} \end {nesting} \end {works} \begin {out} \end {!} |
|-NoValue-|
============================================================
TEST 5: Body invalid
============================================================
|-NoValue-|{}|
! LaTeX Error: \begin{env1} on input line ... ended by \end{env2}.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
l. ...  }
Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
Runaway argument?
\begin  
! Paragraph ended before \environment env2  was complete.
<to be read again> 
\par 
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: Argument type 'b' not available for command '\testE'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The letter 'b' can only be used in environment argument specifications, not
for commands.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: In the definition of environment 'env3', b (body) argument
(cmd)              must be last.
For immediate help type H <return>.
 ...                                              
l. ...  }
The 'body' argument type is followed by 'm' in the argument specification of
the environment 'env3'. This is not allowed.
LaTeX will ignore this entire definition.
============================================================
============================================================
TEST 6: Invalid signatures
============================================================
! LaTeX cmd Error: Bad argument specification 'O' for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Bad argument specification 'D[]' for environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Bad argument specification '!+>{\TrimSpaces }' for
(cmd)              environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided was not valid: one or more mandatory
pieces of information were missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Prefix '!' used before mandatory argument 'm' of command
(cmd)              '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' can only apply to trailing optional arguments.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Prefix '!' used before mandatory argument 'm' of
(cmd)              environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' can only apply to trailing optional arguments.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Too many arguments in argument specification 'mmmmmmmmmmmm'
(cmd)              of command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided has more than 9 arguments. This cannot be
implemented.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Too many arguments in argument specification 'mmmmmmmmmmmm'
(cmd)              of environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided has more than 9 arguments. This cannot be
implemented.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Two '!' apply to the same argument in argument
(cmd)              specification of command '\testA'.
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: Two '!' apply to the same argument in argument
(cmd)              specification of environment 'testA'.
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: Unknown argument type 'X' for the 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: Unknown argument type 'X' for the environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The letter 'X' does not specify a known argument type.
LaTeX will ignore this entire definition.
============================================================
============================================================
TEST 7: Already or not yet defined
============================================================
! LaTeX cmd Error: Command '\space' already defined!
For immediate help type H <return>.
 ...                                              
l. ...  }
You have used \NewDocumentCommand with a command that already has a
definition.
The existing definition of '\space' will not be altered.
|macro:-> |
! LaTeX cmd Error: Environment 'foo' already defined!
For immediate help type H <return>.
 ...                                              
l. ...  }
You have used \NewDocumentEnvironment with an environment that already has a
definition.
The existing definition of 'foo' will not be altered.
foo
! LaTeX cmd Error: Command '\testA' not yet defined!
For immediate help type H <return>.
 ...                                              
l. ...  }
You have used \RenewDocumentCommand with a command that was never defined.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Environment 'testA' not yet defined!
For immediate help type H <return>.
 ...                                              
l. ...  }
You have used \RenewDocumentEnvironment with an environment that was never
defined.
LaTeX will ignore this entire definition.
============================================================
============================================================
TEST 8: Not definable/multi-char
============================================================
! LaTeX cmd Error: First argument of '\NewDocumentCommand' must be a command.
For immediate help type H <return>.
 ...                                              
l. ...  }
The first argument of '\NewDocumentCommand' should be the document command
that will be defined. The provided argument '+' is a character. Perhaps a
backslash is missing?
LaTeX will ignore this entire definition.
! LaTeX cmd Error: First argument of '\NewDocumentCommand' must be a command.
For immediate help type H <return>.
 ...                                              
l. ...  }
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.
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'.
LaTeX will ignore this entire definition.
! Undefined control sequence.
<argument> \::error 
         ! cmd: Invalid use \IfBooleanTF {foo}
l. ...  }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
FALSE
! Undefined control sequence.
<argument> \::error 
         ! cmd: Invalid use \IfBooleanTF {\foo }
l. ...  }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \::error 
         ! cmd: Invalid use \IfBooleanTF {?}
l. ...  }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
FALSE
============================================================
============================================================
TEST 9: Invalid signatures for expandable commands
============================================================
! LaTeX cmd Error: Argument specification 'mo' for expandable command '\testA'
(cmd)              ends with optional argument.
For immediate help type H <return>.
 ...                                              
l. ...  }
Expandable commands must have a final mandatory argument (or no arguments at
all). You cannot have a terminal optional argument with expandable commands.
! LaTeX cmd Error: Inconsistent long arguments for expandable command
(cmd)              '\testA'.
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: Argument type 'v' not available for expandable command
(cmd)              '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The letter 'v' specifies an argument type which cannot be used in an
expandable command.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Argument processor '>{\TrimSpaces }' cannot be used for the
(cmd)              expandable command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification for \testA contains a processor function: this is
only supported for standard robust commands.
LaTeX will ignore this entire definition.
============================================================
============================================================
TEST 10: Arg spec
============================================================
! LaTeX cmd Error: Command '\space' not defined using xparse.
For immediate help type H <return>.
 ...                                              
l. ...  }
You have asked for the argument specification for the command '\space', but
this was not defined using xparse.
macro:->
! LaTeX cmd Error: Unknown document command '\undefined'.
For immediate help type H <return>.
 ...                                              
l. ...  }
You have asked for the argument specification for the command '\undefined',
but it is not defined.
! LaTeX cmd Error: Environment 'verbatim' not defined using xparse.
For immediate help type H <return>.
 ...                                              
l. ...  }
You have asked for the argument specification for the environment 'verbatim',
but this was not defined using xparse.
macro:->
! LaTeX cmd Error: Unknown document environment 'undefined'.
For immediate help type H <return>.
 ...                                              
l. ...  }
You have asked for the argument specification for the environment 'undefined',
but it is not defined.
============================================================
============================================================
TEST 11: Run-time errors
============================================================
! LaTeX cmd Error: Defaults of command '\testA' have circular dependency.
For immediate help type H <return>.
 ...                                              
l. ...  }
The default values of two or more arguments of the command '\testA' depend on
each other in a way that cannot be resolved.
\C \E \C \E \C \E \C \E -NoValue-|\C \E \C \E \C \E \C \E -NoValue--NoValue-|\C |\C \E |\E 
! LaTeX cmd Error: Defaults of environment 'testB' have circular dependency.
For immediate help type H <return>.
 ...                                              
l. ...  }
The default values of two or more arguments of the environment 'testB' depend
on each other in a way that cannot be resolved.
\C \E \C \E \C \E \C \E -NoValue-|\C \E \C \E \C \E \C \E -NoValue--NoValue-|\C |\C \E |\E 
! LaTeX cmd Error: Too many ',' tokens when trying to split 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
',', up to a maximum of 3 parts. There were too many ',' tokens.
! LaTeX cmd Error: Too many ',' tokens when trying to split 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
',', up to a maximum of 3 parts. There were too many ',' tokens.
! LaTeX cmd Error: The verbatim command '\testE' cannot be used inside an
(cmd)              argument.
For immediate help type H <return>.
 ...                                              
l. ...  }
The command '\testE' takes a verbatim argument. It may not appear within the
argument of another function. It received an illegal token '\TYPE '.
LaTeX will ignore '+'.
-NoValue-
+
! LaTeX cmd Error: The verbatim environment 'testF' cannot be used inside an
(cmd)              argument.
For immediate help type H <return>.
 ...                                              
l. ...  }
The environment 'testF' takes a verbatim argument. It may not appear within
the argument of another function. It received an illegal token '\TYPE '.
LaTeX will ignore '+'.
-NoValue-
+
============================================================
! LaTeX cmd Error: Verbatim argument of command '\testG' ended by end of line.
For immediate help type H <return>.
 ...                                              
l. ...\testG+
The verbatim argument of the command '\testG' cannot contain more than one
line, but the end of the current line has been reached. You may have forgotten
the closing delimiter.
LaTeX will ignore '+'.
-NoValue-
+
! LaTeX cmd Error: Verbatim argument of environment 'testH' ended by end of
(cmd)              line.
For immediate help type H <return>.
 ...                                              
l. ...\begin{testH}+
The verbatim argument of the environment 'testH' cannot contain more than one
line, but the end of the current line has been reached. You may have forgotten
the closing delimiter.
LaTeX will ignore '+'.
-NoValue-
+
back to top