Re: [NTG-context] dealing with the lang attribute in XML

2015-01-09 Thread Pablo Rodriguez
On 01/07/2015 11:05 AM, Hans Hagen wrote: On 1/7/2015 9:30 AM, Pablo Rodriguez wrote: [...] Which is the right way to to define language synonyms? \installanguage[foo][nl] Many thanks for your reply and the fixes, Hans. Pablo -- http://www.ousia.tk

Re: [NTG-context] dealing with the lang attribute in XML

2015-01-07 Thread Hans Hagen
On 1/7/2015 9:30 AM, Pablo Rodriguez wrote: On 01/07/2015 12:17 AM, Hans Hagen wrote: [...] And a second question would be: how can I deal with language values in XML and ConTeXt? A \processaction command? there is \xmlval cum suis for mapping attributes but in this case you can just use

Re: [NTG-context] dealing with the lang attribute in XML

2015-01-07 Thread Pablo Rodriguez
On 01/07/2015 12:17 AM, Hans Hagen wrote: [...] And a second question would be: how can I deal with language values in XML and ConTeXt? A \processaction command? there is \xmlval cum suis for mapping attributes but in this case you can just use \language and define language synomyms if

Re: [NTG-context] dealing with the lang attribute in XML

2015-01-06 Thread Hans Hagen
On 1/6/2015 10:12 PM, Pablo Rodriguez wrote: Dear list, I’m trying to write an environment to typeset HTML generated by pandoc with ConTeXt MkIV. One of the issues I’m experiencing is dealing with the lang attribute. The required sample: \startbuffer[demo] doc lang=en pThis is an English

[NTG-context] dealing with the lang attribute in XML

2015-01-06 Thread Pablo Rodriguez
Dear list, I’m trying to write an environment to typeset HTML generated by pandoc with ConTeXt MkIV. One of the issues I’m experiencing is dealing with the lang attribute. The required sample: \startbuffer[demo] doc lang=en pThis is an English paragraph./p p lang=deAber dieser Absatz ist