* whiteline before xmldisplayverbatim
@ 2021-07-05 17:21 Hans van der Meer
2021-07-05 17:50 ` Hans van der Meer
0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer @ 2021-07-05 17:21 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]
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
[-- Attachment #1.2.1: Type: text/html, Size: 2621 bytes --]
[-- Attachment #1.2.2: Screenshot 2021-07-05 at 19.19.12.png --]
[-- Type: image/png, Size: 24622 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: whiteline before xmldisplayverbatim
2021-07-05 17:21 whiteline before xmldisplayverbatim Hans van der Meer
@ 2021-07-05 17:50 ` Hans van der Meer
0 siblings, 0 replies; 2+ messages in thread
From: Hans van der Meer @ 2021-07-05 17:50 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 1181 bytes --]
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 <havdmeer@ziggo.nl> 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..
>
> <Screenshot 2021-07-05 at 19.19.12.png>
>
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4919 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-05 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05 17:21 whiteline before xmldisplayverbatim Hans van der Meer
2021-07-05 17:50 ` Hans van der Meer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).