![](https://secure.gravatar.com/avatar/760cb4118b086e9139c0cb7855d892a0.jpg?s=120&d=mm&r=g)
21 Sep
2018
21 Sep
'18
2:09 a.m.
Hi all, I'm getting back to using ConTeXt after a couple of years, so I might be missing something obvious... I would like to add an I.D. code to the name of my outputfile, but since this will be used in an automated environment I would like to load the ID-code from the source file. MWE: test.tex \starttext \def\idcode{something} Some text, whatever. \stoptext If I typeset with: context text --result=test-idcode the result is obviously "test-idcode.pdf", but I want to get a file name: "test-something.pdf" Is this possible? Thanks, Jelle