On 8/30/25 00:23, Thangalin wrote:
> [...] 
> Using \xmlverbatim displays as expected. For  my actual document, I
> cannot use \xmlprettyprint because it generates an error.

Hi,

Maybe `mtxrun --script check your-source.tex` might help to find the cause.

> [...] 
> Aside, should this code be returning an error?
> 
> mtx-context     | fatal error: return code: 1

Yes, add \starttext...\stoptext, such as in:

  \starttext
  \xmlprocessbuffer{main}{test}{}
  \stoptext

I hope it helps,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to