17 Mar
2010
17 Mar
'10
10:28 a.m.
Typesetting material containing macro's from inside a xml-node does not give TeX-ed results. How can this be accomplished? ==== Minimal example ConTeXt code: \startxmlsetups xml:testsetups \xmlsetsetup{test}{test}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:test \xmlflush{#1}% same with: \xmltext{#1}{} \stopxmlsetups \setuppapersize[A6][A6] \starttext By \type{\xmlprocessfile{test}{test.xml}{}}:\par \xmlprocessfile{test}{test.xml}{} \blank Directly:\par This must be {\bf bold text}. \stoptext ==== Input: <?xml version="1.0" encoding="UTF-8"?> <test> This must be {\bf bold text}. </test> ==== Output: Hans van der Meer