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, 17 Feb 2010 15:11:26 +0000
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=UTF-8; format=flowed
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (18 lines)
On 17/02/2010 15:05, Joseph Wright wrote:
> I should add that the issue was *if* you could include verbatim input
> using \NewDocumentCommand (as the last argument). The problem is not so
> much getting things right for one argument but dealing with the various
> cases:
> - Several arguments with only the last optional
> - Verbatim w.r.t. only some characters (some can be handled with
> \scantokens, some cannot)
> - Dealing entirely properly with nested functions (and making sure that
> the limitations are clear).

I should also add that perhaps having something like 
\DeclareVerbatimCommand is at least as sensible as 
\DeclareExpandableDocumentCommand.  If others agree I'm sure we can look 
at it (starting with the suggested code and then trying to break it!).
-- 
Joseph Wright

ATOM RSS1 RSS2