https://github.com/latex3/latex2e
Raw File
Tip revision: 45f16180ee26bc5db3717f66cc2ce56e9bdc9942 authored by Joseph Wright on 17 July 2022, 09:28:53 UTC
Step pre-release tag
Tip revision: 45f1618
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: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' is only allowed for trailing optional arguments. You tried to
apply it to 'R(){-NoValue-}'.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' is only allowed for trailing optional arguments. You tried to
apply it to 'm'.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided for command '\testA' has two '!' markers
applied to the same argument; one is redundant.
! LaTeX cmd Error: Bad argument specification '!+!' for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided is not valid: one or more mandatory parts
are 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 is not valid: one or more mandatory parts
are 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 is not valid: one or more mandatory parts
are missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '+' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided for command '\testA' has two '+' markers
applied to the same argument; one is redundant.
! LaTeX cmd Error: Bad argument specification '!o' for \testA.
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: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' is only allowed for trailing optional arguments. You tried to
apply it to 'm'.
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: Invalid argument type 'b' in command '\testE'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The letter 'b' can only be used in environment argument specifications, but
not for commands.
LaTeX will ignore the entire definition.
! LaTeX cmd Error: Argument type 'b' must be last in environment 'env3'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The 'b' argument type must come last but it is followed by 'm' in the argument
specification. 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 is not valid: one or more mandatory parts
are 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 is not valid: one or more mandatory parts
are 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 is not valid: one or more mandatory parts
are missing.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' is only allowed for trailing optional arguments. You tried to
apply it to 'm'.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '!' in environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The prefix '!' is only allowed for trailing optional arguments. You tried to
apply it to 'm'.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Too many arguments for command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification 'mmmmmmmmmmmm' asks for more than 9 arguments. This
cannot be implemented.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Too many arguments for environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification 'mmmmmmmmmmmm' asks for more than 9 arguments. This
cannot be implemented.
LaTeX will ignore this entire definition.
! LaTeX cmd Error: Invalid argument prefix '!' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided for command '\testA' has two '!' markers
applied to the same argument; one is redundant.
! LaTeX cmd Error: Invalid argument prefix '!' in environment 'testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification provided for environment 'testA' has two '!'
markers applied to the same argument; one is redundant.
! 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'.
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' undefined.
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' undefined.
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' invalid in command '\testB'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification contains 'ab' in a place where a single token is
required.
LaTeX will ignore this entire definition.
! Use of \??? doesn't match its definition.
<argument> \???  
      ! LaTeX cmd Error: Invalid argument {foo} to \IfBoolean...
l. ...  }
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
FALSE
! Use of \??? doesn't match its definition.
<argument> \???  
      ! LaTeX cmd Error: Invalid argument {\foo } to \IfBoolean...
l. ...  }
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
! Use of \??? doesn't match its definition.
<argument> \???  
      ! LaTeX cmd Error: Invalid argument {?} to \IfBoolean...
l. ...  }
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
FALSE
============================================================
============================================================
TEST 9: Invalid signatures for expandable commands
============================================================
! LaTeX cmd Error: Bad argument specification 'mo' for \testA.
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: Invalid argument prefix '+' in command '\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 when defining '\testA'.
! LaTeX cmd Error: Invalid argument type 'v' in \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: Invalid argument prefix '>' in command '\testA'.
For immediate help type H <return>.
 ...                                              
l. ...  }
The argument specification for '\testA' contains the processor function
'>{\TrimSpaces }'. This is only supported for robust commands, but not for
expandable ones.
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: Circular dependency in defaults of command '\testA'.
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: Circular dependency in defaults of environment 'testB'.
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 ',' 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
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
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>.
 ...                                              
l. ...  }
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-
+
! LaTeX cmd Error: Verbatim-like environment 'testF' illegal in argument.
For immediate help type H <return>.
 ...                                              
l. ...  }
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-
+
============================================================
! LaTeX cmd Error: Verbatim-like 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 '+' and you may get some additional (low-level) errors.
-NoValue-
+
! LaTeX cmd Error: Verbatim-like environment 'testH' ended by end of 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 '+' and you may get some additional (low-level) errors.
-NoValue-
+
back to top