Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Mon, 24 Aug 2009 17:38:44 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7OFcig0022390 for ; Mon, 24 Aug 2009 17:38:44 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n7OFYu3E012668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Aug 2009 17:34:56 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n7OE6oBq019680; Mon, 24 Aug 2009 17:34:44 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 290985 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 24 Aug 2009 17:34:44 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n7OFYh7t021976 for ; Mon, 24 Aug 2009 17:34:43 +0200 Received: from mail-mx2.its.albany.edu (mail-mx2.its.albany.edu [169.226.1.164]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n7OFYPwG017031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Aug 2009 17:34:30 +0200 Received: from hilbert.math.albany.edu (hilbert.math.albany.edu [169.226.140.28]) by mail-mx2.its.albany.edu (8.14.3/8.14.3) with ESMTP id n7OFYPb2007514 for ; Mon, 24 Aug 2009 11:34:25 -0400 (EDT) Received: (from hammond@localhost) by hilbert.math.albany.edu (8.13.8/8.13.8/Submit) id n7OFYPTO004553; Mon, 24 Aug 2009 11:34:25 -0400 (EDT) References: <4A7921CF.5020803@morningstar2.co.uk> <4A8EC449.4040509@morningstar2.co.uk> <19088.5371.517713.176151@morse.mittelbach-online.de> <4A92765A.3040807@morningstar2.co.uk> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 X-Scanned-By: MIMEDefang 2.65 on 169.226.1.164 Message-ID: Date: Mon, 24 Aug 2009 11:34:24 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: William F Hammond Subject: Re: xparse To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A92765A.3040807@morningstar2.co.uk> (Joseph Wright's message of "Mon, 24 Aug 2009 12:15:38 +0100") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 24 Aug 2009 15:38:45.0040 (UTC) FILETIME=[F7118B00:01CA24D0] Status: R X-Status: X-Keywords: X-UID: 5997 Joseph Wright writes: > I'd wondered about implementing \DeclareDocumentCommand so that it > always did \DeclareDocumentCommandInterface and > \DeclareDocumentCommandImplementation. However, I'm not sure this really > works that well. As I've already pointed out, we still rely on the two > parts having the same number of arguments. That will fall down if we > imagine something like: > > \section*[short]{long} > > versus > > > long > > > or some such XML-like input, at least without an intermediate layer. I'm not really following this thread -- in particular, I don't understand exactly what xparse-gellmu might do, much less whether I, as opposed to someone else, should do it. But please allow me to point out here that in the case of something like \section*[Translation of \LaTeX{}]{Translation of \LaTeX{} to other markup languages} an XML attribute -- the value of 'shorttitle' above -- cannot contain markup. So \section*[short]{long} might better be represented in XML by
short long ...
*** close tag triggered downstream, e.g., by the magic of a full SGML parser -- Bill