On Thu, Nov 6, 2008 at 4:38 PM, Thomas A. Schmitz <
[EMAIL PROTECTED]> 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

-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to