LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Joseph Wright <[log in to unmask]>
Fri, 1 Jun 2012 17:12:22 +0100
text/plain (26 lines)
On 01/06/2012 11:47, Marco Daniel wrote:
> Hi,
> If you use the command \DeclareDocumentCommand and the command name
> already exists, you will get the warning "LaTeX warning
> "xparse/redefine-command" " initialized by
> \msg_kernel_warning:nnxx { xparse } { redefine-command }
> I think most package authors will use this command. (e.g. fontspec)
> Based on this fact you will get a lot of warnings. In my opinion
> warnings become ineffectually.
> So I suggest to use \msg_kernel_info:nnxx { xparse } { redefine-command }
> What do you think?

This is 'by design'. The reasoning is that altering an existing command
potentially changes the interfaces defined in a document, and so
deserves a warning in the log. You can of course redirect these warnings
to info before loading xparse, if you feel this is appropriate.
Joseph Wright