Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 14 Dec 2007 09:02:59 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id lBE82sIC024509 for ; Fri, 14 Dec 2007 09:02:55 +0100 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 lBE7uXI6017079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 08:56:33 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id lBDN1XjZ013246; Fri, 14 Dec 2007 08:58:31 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.0) with spool id 236171 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 14 Dec 2007 08:58:31 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id lBE7wVMG020875 for ; Fri, 14 Dec 2007 08:58:31 +0100 Received: from mailer2.silverstroke.com (mailer1.silverstroke.com [195.124.154.146]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id lBE7uBKw016512 for ; Fri, 14 Dec 2007 08:56:16 +0100 Received: from localhost (localhost [127.0.0.1]) by mailer2.silverstroke.com (Silverstroke mailrelay) with ESMTP id C43BB85ED2 for ; Fri, 14 Dec 2007 08:58:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at silverstroke.com Received: from mailer2.silverstroke.com ([127.0.0.1]) by localhost (mailer2.silverstroke.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U5Iq6+gCGWKO for ; Fri, 14 Dec 2007 08:58:20 +0100 (CET) Received: from s-yellow.net.silverstroke.de (s-yellow.net.silverstroke.de [172.16.20.5]) by mailer2.silverstroke.com (Silverstroke mailrelay) with ESMTP id 9388D85ED1 for ; Fri, 14 Dec 2007 08:58:20 +0100 (CET) x-mimeole: Produced By Microsoft Exchange V6.0.6619.12 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: xparse and xdoc Thread-Index: Acg9khwgL8YQSIdTTlmX5KFKI/PqYgAlLvOQ References: A Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id lBE7wVMG020876 Message-ID: <9343542E664B894484613D106D7D3F5F84AB36@s-yellow.net.silverstroke.de> Date: Fri, 14 Dec 2007 08:58:20 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Jonathan Sauer Subject: Re: xparse and xdoc To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 14 Dec 2007 08:02:59.0696 (UTC) FILETIME=[BE45EF00:01C83E27] Status: R X-Status: X-Keywords: X-UID: 5126 Hello, > [...] > I can think of at least three advantages of this kind of > postprocessing: 4. Arguments can be checked (i.e. a numeric argument to be in a given range, not empty etc.) > [...] > Implementation-wise, a postprocessor could simply be something which > fits the syntax > > I would prefer the approach where the postprocessor has the task of calling (a macro, possibly with additional parameters) with the . That way, postprocessors can be chained (i.e. first check if it is empty and replace with zero, then check that the value is not negative). The final continuation would pass it on to the "real macro" or store it in a token register. > Lars Hellström Jonathan