On Thu, Nov 6, 2008 at 4:38 PM, Thomas A. Schmitz
<thomas.schmitz@uni-bonn.de> wrote:
On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:
> so, how about a test file ...
>
Yes we can! Here comes:
\startxmlsetups mytest
\xmlsetsetup{main}{document|p}{*}
\stopxmlsetups
\xmlregistersetup{mytest}
\startxmlsetups document
\xmlflush{#1}\par
\stopxmlsetups
\startxmlsetups p
\xmlflush{#1}\par
\stopxmlsetups
\defineXMLentity[textbar]{\textbar}
\defineXMLentity[shorta]{\buildtextaccent\textbreve a}
\startbuffer[test]
<?xml version="1.0" encoding="UTF-8"?>
<document>
<p>Hello &textbar; &shorta; World!</p>
</document>
\stopbuffer
\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext
not ok here, I suppose.
This is what I see :
Hello [textbar] [shorta] World!
minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.11.05 13:51
--