LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

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

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

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Wed, 15 Jun 2011 13:23:48 +0100
Content-Type:
text/plain
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