Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 Nov 2005 20:16:31 +0100 Received: by mail.proteosys.com (8.12.10/8.12.2) with ESMTP id jAEJGS5f010646 for ; Mon, 14 Nov 2005 20:16:29 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id jAEJC1M0023268; Mon, 14 Nov 2005 20:12:01 +0100 (MET) 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 jAE4fs1K008135; Mon, 14 Nov 2005 20:11:40 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 14.3) with spool id 838525 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 14 Nov 2005 20:11:39 +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 jAEJBdqp022824 for ; Mon, 14 Nov 2005 20:11:39 +0100 Received: from mail.mppmu.mpg.de (mail.mppmu.mpg.de [134.107.24.11]) by relay2.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id jAEJBnM0023223 for ; Mon, 14 Nov 2005 20:11:50 +0100 (MET) Received: by mail.mppmu.mpg.de (Postfix, from userid 998) id EA86912042; Mon, 14 Nov 2005 20:11:37 +0100 (CET) Received: from pcl321.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54]) by mail.mppmu.mpg.de (Postfix) with ESMTP id D30981201E for ; Mon, 14 Nov 2005 20:11:37 +0100 (CET) Received: from pcl321.mppmu.mpg.de (localhost [127.0.0.1]) by pcl321.mppmu.mpg.de (8.13.3/8.13.3) with ESMTP id jAEJBbOr022328 for ; Mon, 14 Nov 2005 20:11:37 +0100 Received: from localhost (peb@localhost) by pcl321.mppmu.mpg.de (8.13.3/8.13.3/Submit) with ESMTP id jAEJBbhI022325 for ; Mon, 14 Nov 2005 20:11:37 +0100 X-Authentication-Warning: pcl321.mppmu.mpg.de: peb owned process doing -bs References: <88ED1D30-FF25-423D-B73B-485982A3CB69@guerilla.net.au> <5.1.0.14.0.20051110085835.024b6700@pop3.web.de> <20051110100945.GA3265@m0A023274.vpn.uni-freiburg.de> <17267.14888.849329.473348@isostar.informatik.uni-stuttgart.de> <8BDE465E-4169-40F3-A72C-60A331A9092C@guerilla.net.au> <17272.53237.920872.634154@pussy.r.npc.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Auto-Whitelist: Message-ID: Date: Mon, 14 Nov 2005 20:11:34 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Peter Breitenlohner Subject: Re: LaTeX3 access, pdfTeX extensions, &c. To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <17272.53237.920872.634154@pussy.r.npc.de> Precedence: list X-ProteoSys-SPAM-Score: 0 () X-Scanned-By: MIMEDefang at proteosys.com Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 14 Nov 2005 19:16:31.0412 (UTC) FILETIME=[EB966F40:01C5E94F] Status: R X-Status: X-Keywords: X-UID: 4893 On Mon, 14 Nov 2005, Joachim Schrod wrote: >>>>>> "WR" == Will Robertson writes: > > WR> The token stream won't change retrospectively, so in theory it > WR> should be able to be examined. > > But it does change. That's the whole point of macros, to change the > token stream. > > With a definition of > > \newcommand\a[1]{f1\b{#1}} > \newcommand\b[2]{\par #2 #1} those two probably ought to be \renewcommand instead of \newcommand > > and an input of > > ab\a12 > > this results in the following token stream [*] Although irrelevant for the conclusion, you (JS) should have gotten this right: > > (char "a") (char "b") (cseq "a") (other "1") (other "2") > > which is in turn transformed into the token stream > > (char "a") (char "b") (cseq "b") (bgroup "{") (other "1") > (egroup "}") (other "2") should read (char "a") (char "b") (char "f") (other "1") (cseq "b") (bgroup "{") (other "1") (egroup "}") (other "2") > > and then into the token stream > > (char "a") (char "b") (cseq "par") (other "2") (other "1") should read (char "a") (char "b") (char "f") (other "1") (cseq "par") (other "2") (space " ") (other "1") > > Which of those do you want to keep? There are good arguments for all > of them. > ........ Peter Breitenlohner