[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:

\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


___
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
___


[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...
Setupinteraction[title="CustomName.pdf"] will just set the internal pdf name, 
not the file system name.

Thank you for your help!

Best regards,
Pascal


___
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
___