Page 1 of 1

How do I specify the output PDF file name?

Posted: Thu Jan 20, 2011 10:48 pm
by chymical
Hi,

Is there any way to specify the name of the output PDF file using the OxygenXML author interface?

I have a DITAMAP that generates several different outputs, depending on the conditions I apply in a transformation scenario. However, the resulting PDF file always has the same name as the DITAMAP. How can I specify a different file name for each conditional output?

Re: How do I specify the output PDF file name?

Posted: Fri Jan 21, 2011 10:54 am
by Radu
Hi,

The name of the PDF file seems quite hard coded in the DITA Open Toolkit to the of the Dita Map file.
You can open for example the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/build.xml build file in Oxygen and search for:

Code: Select all

param name="outputFile"
It is hard coded in two places to the file name of the DITA Map.
Maybe you can customize it to your needs by modifying the build file.

Regards,
Radu