Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Tue, 11 Aug 2009 11:11:27 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7B9BOIX006910 for ; Tue, 11 Aug 2009 11:11:25 +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 n7B97rbI020544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Aug 2009 11:07:54 +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 n7B7w6QK010332; Tue, 11 Aug 2009 11:07:52 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 287712 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 11 Aug 2009 11:07:52 +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 n7B97qY2000530 for ; Tue, 11 Aug 2009 11:07:52 +0200 Received: from ueamailgate02.uea.ac.uk (ueamailgate02.uea.ac.uk [139.222.131.185]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n7B97VNE019975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 11 Aug 2009 11:07:35 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate02.uea.ac.uk (8.13.1/8.13.1) with ESMTP id n7B97UGw011070 for ; Tue, 11 Aug 2009 10:07:30 +0100 Received: from [139.222.202.22] by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1ManKH-0007MF-0F for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 11 Aug 2009 10:07:25 +0100 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 References: <4A7921CF.5020803@morningstar2.co.uk> <4A7A1505.4040604@residenset.net> <4A7AD930.2090106@residenset.net> <8516B615-51AA-4D90-BB7D-A9E122AA0335@gmail.com> <4A804317.6050909@morningstar2.co.uk> <4A80469B.5040305@morningstar2.co.uk> <4A804ED7.4040305@morningstar2.co.uk> <4A812A23.2000808@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Canit-CHI2: 0.00 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 27952644 - 8d07658d1674 X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.185 Message-ID: <4A8134D8.9070502@morningstar2.co.uk> Date: Tue, 11 Aug 2009 10:07:36 +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: 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: 11 Aug 2009 09:11:27.0374 (UTC) FILETIME=[B4F85AE0:01CA1A63] Status: R X-Status: X-Keywords: X-UID: 5877 J.Fine wrote: >> Fundamental point, of course, but the current plan is that LaTeX3 will >> work with pdfTeX, XeTeX and LuaTeX. If we were going down the ConTeXt >> "LuaTeX-only" route, then I'd quite possibly agree. But we're not (at >> the moment!). > > You're claiming here that there is a requirement here to use TeX macros, namely use with pdfTeX etc. But what you say does not impose such a requirement. > > Don Knuth's WEB system uses a custom program WEAVE to create a TeX input file from a .web file. > > It's perfectly possible to use a similar front end for processing documents written in the LaTeX syntax. My impression is that we are *not* in the business of writing any new binaries. The team have always tried to leave that to the "engine people". You can of course argue that it might be better to take a different approach, but I think if you do then the LuaTeX-only route looks the most sensible (at the tool is there and being actively improved). > Surely to do this you will need a LaTeX->XML translator written in /some other language/. And once you have that, why do you need an implementation written in TeX macros? > > And come to that, the translator will surely want access to >>> \DeclareDocumentCommand \section { s o m } { >>> % Code here >>> } > === > > Any comments here? I'm not sure how everyone sees this. My take is that xparse is mainly about => LaTeX-as-typesetting-system. So, for example, to read XML you re-do your document commands but leave the underlying code functions alone. One thing you could consider is: LaTeX-document-syntax => XML (or other structured format) => LaTeX-as-typesetting-system i.e. always doing some kind of translation to a very structured format. Other people on the team are the experts on this type of idea: I can see that TeX macros would not necessarily be a good choice. (That said, ConTeXt has a lot of XML stuff going on, even in Mk II, and I'm not sure how much TeX is used there.) My worry with this approach is that you will exclude so many people from using it that you'll never get anywhere in user terms. -- Joseph Wright