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
___________________________________________________________________________________

Reply via email to