[NTG-context] Concatenate buffers without newline

2021-06-22 Thread Pascal Pascali
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:

[NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Pascal Pascali
Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file itself...