[NTG-context] how to set the name of outputfile using a value defined in the source
Procházka Lukáš Ing.
LPr at pontex.cz
Fri Sep 21 14:43:45 CEST 2018
Hello,
On Fri, 21 Sep 2018 10:30:34 +0200, Henri Menke <henrimenke at gmail.com> wrote:
> 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 at pontex.cz
Pontex s. r. o. | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4
Mob.: +420 702 033 396
More information about the ntg-context
mailing list