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:
Frank Mittelbach <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 6 Jan 2011 18:15:17 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Uwe Lueck writes:
 > I wrote:
 > > A better proposal than using different category codes is 
 > > programming macros with optional arguments obeying 
 > > a convention that makes a choice of delimiters available to users.  
 > > Any macro package replacing \@ifnextchar[ by some 
 > > \ifx\let@token\opt@arg@delim could be run this way. 
 > > 
 > > If no LaTeXY will adopt this, I will call it LüTeX :-)
 > 
 > I had thought of posting such a "feature request" earlier, 
 > refrained from it for not having found a good idea how 
 > to implement it. If I now found it so simple, I must have 
 > overlooked a problem ...
 > 
 >  [...]
 > 
 > Maybe this already is in xparse? Sorry, I cannot afford more right now ...

Uwe

xparse offer a fairly general snytax including variable delimiters and default
values per argument and more. Perhaps you should *indeed* have a look at it
one day :-) and it could be easily used on top of 2e if so desired

what is not offered right now is mandatory arguments with arbitrary delimiters
on the left or right, though one could achieve even those in an emergency
using "u" argument type twice (I guess)

frank

ATOM RSS1 RSS2