[NTG-context] Parsing HTML entities

Taco Hoekwater taco at elvenkind.com
Thu Feb 17 11:48:38 CET 2011



On 02/17/11 11:37, Khaled Hosny wrote:
> On Thu, Feb 17, 2011 at 09:00:45AM +0100, Hans Hagen wrote:
>> On 17-2-2011 1:06, Khaled Hosny wrote:
>>> Is there built-in support to parse HTML entities, I've some vague memory
>>> about it but I don't seem to find much useful results.
>>
>> you mean that &whatever; in the tex input gets translated automatically?
> 
> More or less, e.g. \xmlentity{&} gets translated to & (ascii one)
> and so.

There is \xmlsetentity{tex}{\TEX{}}. Is that what you want?

Best wishes,
Taco





More information about the ntg-context mailing list