Hello, Is there any simple way to typeset the following example properly in ConTeXt? I have an example of text that has to obey lines and spaces, but I would like to apply some color to make it more readable. The attachment contains an example of HTML which displays fine in my browser, and it should look similar with ConTeXt. I have problems with literal typesetting of <span class=...> (that should have applied style instead), but maybe I only have wrong settings in my parser. When I use \xmlsetfunction{main}{pre}{lxml.displayverbatim}, then I cannot color the numbers. When I use, according to Wolfgang's suggestion, \startxmlsetups pre \setuplines[style=mono,space=yes] \startlines \xmlflush{#1} \stoplines \stopxmlsetups then all the spaces are eaten up by XML parser (or somewhere else), so that I don't get the desired result. Any ideas about this? I'm also sending a self-contained example with \setuplines which doesn't really work in the desired way. Thank you very much, Mojca