[NTG-context] bug in parsed-xml?

Pablo Rodriguez oinos at gmx.es
Tue Nov 1 13:38:43 CET 2016


Dear list,

I have the following sample:

    \setupindenting[yes, big]
    \starttext
    \starttyping[option=parsed-xml]
    <code>
    <text>
      <body>
        <p>word</p>
      </body>
    </text>
    </code>
    \stoptyping
    \stoptext

I’m afraid I found two issues:

For some reason, ConTeXt adds extra space before the last line. I think
this may be a bug.

With indenting set for the rest of the document, ConTeXt applies it also
to typing. As far as I know, typing shouldn’t be automatically indented.

Could anyone confirm whether the issues are bugs in parsed-xml?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list