Is it possible to set the output file name in the script
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? -- Cecil Westerhof
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 ----------------------------------------------------------------- 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 -----------------------------------------------------------------
2013/4/26 Hans Hagen
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. -- Cecil Westerhof
On 4/26/2013 6:50 PM, Cecil Westerhof wrote:
2013/4/26 Hans Hagen
: 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 -----------------------------------------------------------------
2013/4/26 Hans Hagen
On 4/26/2013 6:50 PM, Cecil Westerhof wrote:
2013/4/26 Hans Hagen
: 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
What do mean with that? -- Cecil Westerhof
On 4/26/2013 7:01 PM, Cecil Westerhof wrote:
2013/4/26 Hans Hagen
: On 4/26/2013 6:50 PM, Cecil Westerhof wrote:
2013/4/26 Hans Hagen
: 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
What do mean with that?
just grep for outputfile in lua and mkiv files 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 -----------------------------------------------------------------
participants (2)
-
Cecil Westerhof
-
Hans Hagen