[NTG-context] Is it possible to set the output file name in the script

Hans Hagen pragma at wxs.nl
Fri Apr 26 18:55:26 CEST 2013


On 4/26/2013 6:50 PM, Cecil Westerhof wrote:
> 2013/4/26 Hans Hagen <pragma at wxs.nl>:
>> On 4/26/2013 5:34 PM, Cecil Westerhof wrote:
>>>
>>> I am using a command line parameter to change the generated output. Is
>>> it also possible to set the output file name depending on the
>>> parameter?
>>
>>
>> --result=somename
>
> That is on the command line. Then you need to give two parameters. Not
> a very big problem, but I would prefer one parameter. I like DRY. Less
> that can go wrong.

not possible but you can access the outputfilename at the tex and lua end

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list