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 q27DsGdR025765 for ; Wed, 7 Mar 2012 14:54:17 +0100 Received: (qmail 6390 invoked by alias); 7 Mar 2012 13:54:11 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 07 Mar 2012 13:54:11 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx033) with SMTP; 07 Mar 2012 14:54:11 +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 q27Dphtg002826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2012 14:51:43 +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 q27DXvb7009848; Wed, 7 Mar 2012 14:51:42 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1970817 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 7 Mar 2012 14:51:42 +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 q27DpgvQ024031 for ; Wed, 7 Mar 2012 14:51:42 +0100 Received: from mail1.bemta5.messagelabs.com (mail1.bemta5.messagelabs.com [195.245.231.130]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q27DpSrv024842 for ; Wed, 7 Mar 2012 14:51:31 +0100 Received: from [85.158.139.179:32250] by server-10.bemta-5.messagelabs.com id 79/83-08260-C46675F4; Wed, 07 Mar 2012 13:44:44 +0000 X-Env-Sender: davidc@nag.co.uk X-Msg-Ref: server-10.tower-189.messagelabs.com!1331127883!10540371!1 X-Originating-IP: [86.188.197.178] X-StarScan-Version: 6.5.5; banners=nag.co.uk,-,- X-VirusChecked: Checked Received: (qmail 16610 invoked from network); 7 Mar 2012 13:44:43 -0000 Received: from nagmx1.nag.co.uk (HELO nagmx1.nag.co.uk) (86.188.197.178) by server-10.tower-189.messagelabs.com with SMTP; 7 Mar 2012 13:44:43 -0000 Received: from [192.156.217.96] (ruby.nag.co.uk [192.156.217.96]) by nagmx1.nag.co.uk (Postfix) with ESMTP id 447A7120160; Wed, 7 Mar 2012 13:44:44 +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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4F57664A.7090206@nag.co.uk> Date: Wed, 7 Mar 2012 13:44:42 +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: <0C6E4154-0A13-41F2-808F-BAEB8B7BBBA6@frycomm.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (BackTrace mail analyze); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnGL2vqOgpaBYL16oitsMrgDt/NQNpSCZFFjDOy 97xb7Zpf+wZnd5ZXNcvLDXR3Wg3wRjdQbwEMh8=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: 7041 On 07/03/2012 13:13, William Adams wrote: > Returning to working on an xexemltex project some flavour of xmltex? latex-l isn't really the list for xmltex as it's not a latex-project product, but still... and I've found that I > added a line: > \input{htmlentities.tex} > > at the beginning of my .xmt file and I'm not remembering if it's a > standard thing or no. > I don't recall such a file. > It started w/: > > \XMLentity{apos}{\textquoteright} > \XMLentity{rsquo}{\textquoteright} > \XMLentity{lsquo}{\textquoteleft} > \XMLentity{rdquo}{\textquotedblright} > \XMLentity{ldquo}{\textquotedblleft} > > and I've already added: > > \XMLentity{nbsp}{\nobreak{ }\nobreak} > \XMLentity{mdash}{\textemdash} > > Should I continue along these lines (and then upload to CTAN?) or is > there a finished version of this file extant already? (I looked and > couldn't find one). > > Thanks! > > William > 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. That file began life as part of jadetex specifically to provide TeX support, but the TeX side of it probably hasn't been kept up to date, however it _is_ now the source of all the entity definitions in html and Mathml, so if there are any TeX discrepancies it would be good to get them fixed in that file (my personal mail (google for me:-) or www-math@w3.org are probably better than this list. A shorter list of just the entities is available as http://www.w3.org/2003/entities/2007/htmlmathml-f.ent which is extracted from unicode.xml whenever it's built. No one has touched the xmltex sources for a decade or more, however I did recently move them all to googlecode at http://code.google.com/p/dpctex/source/browse/#svn%2Ftrunk%2Fxmltex%2Fbase%253Fstate%253Dclosed so if you are using xmltex you may well find things that need fixing there.... 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. ________________________________________________________________________