[Foxet] Support for &entities (and undescore)

Adam Lindsay atl at comp.lancs.ac.uk
Wed Jan 19 00:34:14 CET 2005

Matej Cepl said this at Tue, 18 Jan 2005 18:04:24 -0500:

>On Tuesday 18 of January 2005 16:51, Bruce D'Arcus wrote:
>> I can't help with details here, but I can tell you that there's no 
>> benefit to having entities in your FO files.  Just output to utf-8.  
>> That *should* work, and if it doesn't, then Hans will have to help you.
>That's just what I've got from Docbook-XSL stylesheets (and these are not 
>character entities, but things like & or ” for doublequotes). I 
>think it may be helpful to make foxet able to work with them.

Okay, agreed on that point.
Foxet handles the basic set of entities well, AFAIK (that is, they're
handled well in the underlying ConTeXt XML layer), so & will work.

For decimal number character entities, I've been advising the following
patch (added to cont-new.tex, for example):
\def\executeXMLdeccharacter#1\relax % 

I couldn't quite get it right for the hexadecimal entities (“),

So *some* entities work. I suggest doing a reduction and finding out
which ones don't (with your usage pattern) and why.
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492

More information about the Foxet mailing list