[NTG-context] Parsing HTML entities

luigi scarso luigi.scarso at gmail.com
Thu Feb 17 11:42:10 CET 2011


On Thu, Feb 17, 2011 at 11:37 AM, Khaled Hosny <khaledhosny at eglug.org> 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{&amp;} gets translated to & (ascii one)
> and so.
predefined entities in XML are trivial to (eventually) implement
The list of HTML character entity references is longer
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

-- 
luigi


More information about the ntg-context mailing list