Found the problem: should not be preceded by \crlf but by \par. dr. Hans van der Meer
On 5 Jul 2021, at 19:21, Hans van der Meer
wrote: I cannot get rid of the whiteline that \xmldisplayverbatim generates before its output. Changing to other \xmldisplay macro's did not change this. How to get rid of the whitespace? MWE: \startxmlsetups hvdm:docs:texcode abc\crlf \xmlstripnolines{#1}{.}% <- with or without: no change \xmldisplayverbatim{#1} \stopxmlsetups
result, see the empty lines between abc and the \new..
dr. Hans van der Meer
___________________________________________________________________________________ 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 ___________________________________________________________________________________