Sender: |
|
Date: |
Wed, 7 Mar 2012 13:44:42 +0000 |
Reply-To: |
|
Message-ID: |
|
Content-Transfer-Encoding: |
7bit |
Subject: |
|
From: |
|
Content-Type: |
text/plain; charset=ISO-8859-1; format=flowed |
In-Reply-To: |
|
Organization: |
NAG |
MIME-Version: |
1.0 |
Parts/Attachments: |
|
|
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
[log in to unmask] 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.
________________________________________________________________________
|
|
|