Hello! Is there a way to concatenate predefined blocks or buffers without ConTeXt printing newlines between them? I'd like to have something like: \startBitOfData [name1] Some part of paragraph here. \stopBitOfData \startBitOfData [name2] Some more going on here. \stopBitOfData And then: \getBitOfData [name1] \getBitOfData [name2] Outputting: Some part of paragraph here. Some more going on here. Not outputting: Some part of paragraph here. Some more going on here. Thank you for any tip! Best regards, Pascal
Pascal Pascali schrieb am 22.06.2021 um 20:21:
Hello!
Is there a way to concatenate predefined blocks or buffers without ConTeXt printing newlines between them?
I'd like to have something like:
\startBitOfData [name1] Some part of paragraph here. \stopBitOfData
\startBitOfData [name2] Some more going on here. \stopBitOfData
And then:
\getBitOfData [name1] \getBitOfData [name2]
Outputting: Some part of paragraph here. Some more going on here.
Not outputting: Some part of paragraph here. Some more going on here.
Thank you for any tip!
Please send a *working* minimal example next time. \starttext \startbuffer[first] First paragraph. \stopbuffer \startbuffer[second] Second paragraph. \stopbuffer \start \setupbuffer[before=,after=] \getbuffer[first]% \getbuffer[second] \stop \blank \getbuffer[first,second] \stoptext Wolfgang
participants (2)
-
Pascal Pascali
-
Wolfgang Schuster