[NTG-context] Problem with encoding, XML and writetolist...
Martin Kolařík
martin.kolarik at email.cz
Tue Feb 28 08:24:26 CET 2006
Hi all,
I have problem with chars encoding now; I have updated ConTeXt sometimes in
January; before the time I was using old (year) version. In this
prehistorical version the problem was not present.
What is the stuff? The following code generates content with titles without
spaces -- accented characters are replaced with \char XXX variant, so during
reading TUI line TeX gobbles a space after XXX as a part of <number> syntax
rule.
Can I do something? With encoding? With XML?
Thank you very much, have a nice day, Martin
Code:
\defineXMLenvironment
[chapter]
{\defineXMLsave[title]}
{\expanded
{\chapter\XMLflush{title}}}
\starttext
\startbuffer
<chapter>
<title>Ahojá hojč kuna</title>
</chapter>
\stopbuffer
\processXMLbuffer
\completecontent[criterium=all]
\stoptext
More information about the ntg-context
mailing list