Ah, now I see ConTeXt ver: 2021.04.20 18:45 LMTX fmt: 2021.4.21 int: english/english gives me the attached result. Denis
-----Ursprüngliche Nachricht----- Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 21. April 2021 10:34 An: ntg-context@ntg.nl Betreff: AW: [NTG-context] xml processing in latest
Hi
What's the exact issue?
I get the same results on my TeXLive version and on the latext lmtx: ConTeXt ver: 2020.01.26 18:34 MKIV beta fmt: 2020.10.2 int: english/english ConTeXt ver: 2021.04.18 18:12 LMTX fmt: 2021.4.20 int: english/english
And even with --luatex ConTeXt ver: 2021.04.18 18:12 MKIV fmt: 2021.4.21 int: english/english
Always the result as attached.
Denis
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Thomas A. Schmitz Gesendet: Mittwoch, 21. April 2021 08:45 An: ntg-context@ntg.nl Betreff: [NTG-context] xml processing in latest Hi all,
the latest has some strange problems with xml processing. The example below shows an issue with itemize. In my real file, I also get pages that are filled only two thirds and rugged right instead of justified, but I haven't been able to reproduce this in a MWE. Maybe this one can give a start; I assume it's some fundamental typo somewhere.
All best
Thomas
\startbuffer[test] <document> <p>test</p> <numbered> <item> one </item> <item> two </item> </numbered> </document> \stopbuffer
\startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|p|numbered|item}{xml:*} \stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups
\startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups
\startxmlsetups xml:numbered \startitemize [n] \xmlflush{#1} \stopitemize \stopxmlsetups
\startxmlsetups xml:item \startitem \xmlflush{#1} \stopitem \stopxmlsetups
\starttext \xmlprocessbuffer{main}{test}{} \stoptext
__________________________________________________________
_________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
__________________________________________________________
_________________________