Rename an output file during processing

Post here questions and problems related to editing and publishing DITA content.
mstrubberg
Posts: 48
Joined: Sat Jan 26, 2013 6:07 pm

Rename an output file during processing

Post by mstrubberg »

Can I edit the PDF transformation scenario to rename the output file to be other than the source input file name?
Radu
Posts: 9481
Joined: Fri Jul 09, 2004 5:18 pm

Re: Rename an output file during processing

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply