Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 17:11:31 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n81FBVdt021935 for ; Tue, 1 Sep 2009 17:11:31 +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 n81F7GrR024421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Sep 2009 17:07:16 +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 n81BbgiP010493; Tue, 1 Sep 2009 17:07:15 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 291342 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 1 Sep 2009 17:07:14 +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 n81F7Eja001998 for ; Tue, 1 Sep 2009 17:07:14 +0200 Received: from mail.umu.se (jazz.umdac.umu.se [130.239.8.31]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n81F70DD024182 for ; Tue, 1 Sep 2009 17:07:03 +0200 Received: from hexley.local ([130.239.119.186]) by mail.umu.se (8.13.6/8.13.1) with ESMTP id n81F6sZH077051 for ; Tue, 1 Sep 2009 17:06:59 +0200 (MEST) User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <4A7921CF.5020803@morningstar2.co.uk> <4A86949D.3090500@morningstar2.co.uk> <4A886BA8.2000209@morningstar2.co.uk> <0417DF73-EC19-4262-B9DF-5C870D47BFCE@gmail.com> <4A893816.2090807@residenset.net> <4A89610D.8060108@morningstar2.co.uk> <4A8C71CC.7000006@residenset.net> <4A8D0048.4070101@morningstar2.co.uk> <4A946AD7.4020506@residenset.net> <4A9C2DF7.6070002@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id n81F7Eja001999 Message-ID: <4A9D3966.6020509@residenset.net> Date: Tue, 1 Sep 2009 17:10:30 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?ISO-8859-1?Q?Lars_Hellstr=F6m?= Subject: Re: xparse To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A9C2DF7.6070002@morningstar2.co.uk> 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: 01 Sep 2009 15:11:32.0037 (UTC) FILETIME=[7D070F50:01CA2B16] Status: R X-Status: X-Keywords: X-UID: 6056 Joseph Wright skrev: > Lars Hellström wrote: >> I was thinking more about single spaces, as in >> >> \moveto 0 0 \curveto 47 0 100 53 100 100 >> >> (the idea being to express a bunch of graphic data compactly while still >> allowing the code to survive reflowing in a text editor), but this is of >> course on the boundary of what can be considered LaTeX2e-ish syntax. > > Personally, I'm not a fan of that input syntax: I prefer something like > the pgf approach. The idea was indeed that these should boil down to \pgfpathqmoveto and \pgfpathqcurveto respectively; I just wanted something more compact at FMi-level -2 (or thereabout). (So everything would be in a special environment, and instead of \moveto the command name might really be \M.) > However, I did a quick test and as I hoped you can do > this with > > \DeclareDocumentCommand \moveto { u{~} u{~} } { ... } > > Not sure how robust this is, but if you really want to do it you can at > least have a go. I'll hopefully do it using \def fairly soon (need to generate the curve data first), but my concern was rather for someone in the far future who might not have \def readily available and thus wanting to go via \DeclareDocumentCommand instead. Lars Hellström