Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Sun, 23 Aug 2009 17:45:18 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7NFjIrV026510 for ; Sun, 23 Aug 2009 17:45:18 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n7NFfOVY016950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Aug 2009 17:41:24 +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 n7NEBgWv032549; Sun, 23 Aug 2009 17:41:23 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 292537 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 23 Aug 2009 17:41:23 +0200 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 n7NFfND5024346 for ; Sun, 23 Aug 2009 17:41:23 +0200 Received: from anchor-post-1.mail.demon.net (anchor-post-1.mail.demon.net [195.173.77.132]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n7NFf8tF026388 for ; Sun, 23 Aug 2009 17:41:11 +0200 Received: from morningstar2.demon.co.uk ([80.176.134.7] helo=[192.168.0.2]) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1MfFBr-0006p9-ij for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 23 Aug 2009 15:41:07 +0000 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 References: <4A7921CF.5020803@morningstar2.co.uk> <4A8EC449.4040509@morningstar2.co.uk> <19088.5371.517713.176151@morse.mittelbach-online.de> <4A905FB5.8020201@morningstar2.co.uk> <19089.3956.753050.556360@morse.mittelbach-online.de> <4A91399D.9090909@morningstar2.co.uk> <4A9160E6.7050102@elzevir.fr> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <4A916318.7080007@morningstar2.co.uk> Date: Sun, 23 Aug 2009 16:41:12 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: xparse To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A9160E6.7050102@elzevir.fr> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 23 Aug 2009 15:45:18.0774 (UTC) FILETIME=[B756D560:01CA2408] Status: R X-Status: X-Keywords: X-UID: 5989 Manuel Pégourié-Gonnard wrote: > Joseph Wright a écrit : >> How do you see that working with things like \DeclareDocumentCommand. >> Two options come to mind: >> >> 1) Given them names which reflect the separation >> (\DeclareLaTeXDocumentCommand, etc.) >> >> 2) Add an extra "model" argument: >> >> \DeclareDocumentCommand { } { } { } >> { } >> >> where we make no assumptions about anything here and do something like >> > How about a global switch like \UseLaTeXeCommands (or whatever)? I tend to think > the current name is already long enough... > > Anyway, if Frank's idea of having separate packages xparse-2e and maybe latter > xparse-gellmu or how knows, currently the switch is done by calling > > \usepackage{xparse-2e} > > or possibly another one (since l3 is still used on top on 2e at the moment), so > I guess the question will only arise latter. Anyway, probably only one on the > possibly various xparse-* will be used at the same time, so I don't see any > problem with them using the smae command name. > > Manuel. > I'm thinking ahead: you can't use the same command name in a format without needing a different format for each possible case. I'm also thinking that at the very least \DeclareDocumentCommand needs to have the same number of arguments when creating LaTeX2e commands, gellmu commands, ... -- Joseph Wright