Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id q27FQvuo024063 for ; Wed, 7 Mar 2012 16:26:58 +0100 Received: (qmail 23638 invoked by alias); 7 Mar 2012 15:26:52 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 07 Mar 2012 15:26:52 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx068) with SMTP; 07 Mar 2012 16:26:52 +0100 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 q27FOevb016785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2012 16:24:41 +0100 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 q27EiZgv009848; Wed, 7 Mar 2012 16:24:40 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1971540 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 7 Mar 2012 16:24:40 +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 q27FOdXL031910 for ; Wed, 7 Mar 2012 16:24:39 +0100 Received: from mail193.messagelabs.com (mail193.messagelabs.com [85.158.140.195]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with SMTP id q27FOPkm016496 for ; Wed, 7 Mar 2012 16:24:28 +0100 X-Env-Sender: davidc@nag.co.uk X-Msg-Ref: server-2.tower-193.messagelabs.com!1331133864!66803256!1 X-Originating-IP: [86.188.197.178] X-StarScan-Version: 6.5.5; banners=nag.co.uk,-,- X-VirusChecked: Checked Received: (qmail 9678 invoked from network); 7 Mar 2012 15:24:24 -0000 Received: from mail.nag.co.uk (HELO nagmx1.nag.co.uk) (86.188.197.178) by server-2.tower-193.messagelabs.com with SMTP; 7 Mar 2012 15:24:24 -0000 Received: from [192.156.217.96] (ruby.nag.co.uk [192.156.217.96]) by nagmx1.nag.co.uk (Postfix) with ESMTP id 6225C120160; Wed, 7 Mar 2012 15:24:25 +0000 (GMT) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 References: <0C6E4154-0A13-41F2-808F-BAEB8B7BBBA6@frycomm.com> <4F57664A.7090206@nag.co.uk> <60FC13DC-7683-49F9-A320-E79BF128EE35@FRYCOMM.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4F577DA7.4010006@nag.co.uk> Date: Wed, 7 Mar 2012 15:24:23 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Carlisle Organization: NAG Subject: Re: XMLTeX htmlentities.tex To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <60FC13DC-7683-49F9-A320-E79BF128EE35@FRYCOMM.COM> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4F7PiSMeNrjJJeITM5S1k034olA7dLjU4qAJNn6cCXHSfI0imxiHvdVKD68 Xf94rwGqoS4iFANYV86Lf08+x5/XJaM9jxveEeMY9C1RrB771G79Lm2DcTKczdsxUO4JcJufHcrS 7KCmFXSfaLOvVwju20VBCUiqkDsQbQDkd44jg==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 7043 On 07/03/2012 14:43, William Adams wrote: > On Mar 7, 2012, at 8:44 AM, David Carlisle wrote: > >> On 07/03/2012 13:13, William Adams wrote: >>> Returning to working on an xexemltex project >> >> some flavour of xmltex? > > xmltex running on top of xetex. A large part of what xmltex is doing is tying to handle unicode font encodings with a non-unicode TeX, so it could be simplified greatly for xetex. Conceptually the encoding handling is separate (and before) the xml parsing but of course since xmltex tries to do both together in a single pass, the actual coding isn't that layered. > >> In theory the file unicode.tex which is linked from the final >> section of >> >> http://www.w3.org/2003/entities/2007doc/Overview.html >> >> includes TeX definitions of all of the html/mathml characters. > > I believe you mean unicode.xml? yes sorry. > >> No one has touched the xmltex sources for a decade or more > > > Should I not be using it? I thought no one used it, but I found out earlier this year that it is being used, and typeset some commercial encyclopaedias at least. >I'm looking at openjade and jadetex now and > trying to wrap what's left of my mind around it. In the past when > I've had to typeset XML I've ``just'' used nifty Plain TeX macros > which Jeff McArthur wrote up (somewhere on comp.text.tex is a a > brilliant writeup of an early version of these if memory serves), so > xmltex seemed like the perfect way to leverage my knowledge of LaTeX > for this. > > Thanks! > > William > > These days I'd use XSLT to process the XML and just write out TeX syntax which can be processed by TeX, it's just so much easier than getting TeX to do both at the same time. That's how the pdf version of the MathML spec is typeset for example. That said, if xmltex works I'd be happy to know, and if it fails, I'm open to take bug reports (if I can remember how it works:-) David -- google plus: https:/profiles.google.com/d.p.carlisle ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________