Pascal Pascali schrieb am 22.06.2021 um 13:55:
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...

You can set a different name at the first line of your document, e.g.

% result="newfilename"

but this is only a alternative to the result-argument on the command line.

Setupinteraction[title="CustomName.pdf"] will just set the internal pdf name, 
not the file system name.

With \setupinteraction you can set/change metadata values but not the file name.

Wolfgang

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

Reply via email to