LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Proportional Font
Show HTML 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: Thu, 6 Jan 2011 19:11:59 +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=us-ascii
From: Frank Mittelbach <[log in to unmask]>
Parts/Attachments: text/plain (31 lines)
Paul Thompson writes:
 > The optional argument thing could be better handled by using named arguments.  
 > So, for \parbox, which has optional and mandatory arguments, we currently have 
 > \parbox[pos][height][inner-pos]{width}{text}
 > This is mindlessly confusing in many cases.  Why not have 
 > \parbox{pos=t,height=something,innerpos=t,width=something}{text}
 > The use of named arguments is vastly superior to positional arguments, 
 > especially when optional arguments can be specified.  

ah, the old argument between verbosity an ability to remember. Don't get me
wrong, I side with you on that one Paul, but there are times where I prefer

In any case this is one of the reasons why we worked hard on separating the
different layers so that a clean replacement of top-level syntax is always
being possible and easy. In that respect xparse is nothing other than
providing one such interface (resembling the LaTeX2e one, but generalized) as
an example, but it was never meant at "the interface" for a future LaTeX

But it is, in my opinion, a good start while everything is happening on top of
the 2e context anyway. and for a while at least this is where the expl
language and anything built from it will live.