Page 1 of 1
Rename an output file during processing
Posted: Fri Apr 19, 2013 10:18 pm
by mstrubberg
Can I edit the PDF transformation scenario to rename the output file to be other than the source input file name?
Re: Rename an output file during processing
Posted: Tue Apr 23, 2013 11:10 am
by Radu
Hi,
I looked in the DITA OT ANT build files and there seems to be a parameter you can set for this. The parameter is not in the public documentation so it might change in a future version.
You can edit the transformation scenario and add in the Parameters tab the parameter outputFile.base with the name of the PDF output file (without extension).
Make sure you delete the output directory after this change, Oxygen might be confused after the publishing and might open the old created PDF instead of the new one if it is still in the output folder.
Regards,
Radu