Alan Bowen schrieb am 22.05.2020 um 14:33:
In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance.

So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf rather than to prd_filename.pdf—assuming that it is possible?

Any tips or pointers to what I should be reading will be greatly appreciated.

1. Drop the weird (sorry Hraban) naming system and use myfilename for your product.

2. Use the result option on the command line, e.g. "context --result=myfilename prd_filename.tex".

3. Ask Hans to add the result option to the first line of the document which is read by the context script before it creates the PDF.

% result="myfilename"
\starttext
...
\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to