LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Wed, 15 Jun 2011 13:23:48 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (24 lines)
On 14/06/2011 22:48, Stephan Hennig wrote:
>> In the case case you mention, I'm not sure why you have used
>>
>>   \DeclareExpandableDocumentCommand{\foob}{m}{FooB}
>>
>> rather than
>>
>>   \DeclareExpandableDocumentCommand{\foob}{}{FooB}
>>
>> which works fine.
> 
> Well, because of this item from xparse documentation (sec. 1.7):
> 
>> * The function must have at least one mandatory argument, and in 
>> particular the last argument must be one of the mandatory types (l, m
>> or u).
> 
> Do I miss something?

This is a documentation error, which I'll sort out for the next CTAN
snapshot.
-- 
Joseph Wright

ATOM RSS1 RSS2