LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Wed, 7 Mar 2012 13:44:42 +0000
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
Content-Transfer-Encoding: 7bit
From: David Carlisle <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
In-Reply-To: <[log in to unmask]>
Organization: NAG
MIME-Version: 1.0
Parts/Attachments: text/plain (82 lines)
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

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

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

so if you are using xmltex you may well find things that need fixing 


google plus: https:/

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.