Hello,
On Fri, 21 Sep 2018 10:30:34 +0200, Henri Menke
You could still do it, but it would require two passes. In the first pass to identify that you want to change the output file and write the new name to an auxiliary file. In the second file, you use your automation script to read that file back in and call
context --result=test-<value read from file> test.tex
Or you can do it processing your source file by a batch, which: 1. calls context.exe with appropriate args, 2. checks for existence of a <file>, which - being created during compilation - is processed somehow then. Cheers, Lukas
Thanks,
Jelle
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439 Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396