Page 1 of 1

DITA OT, using an alternate Customization dir

Posted: Mon Apr 11, 2011 9:53 am
by maglid
How can I use the DITA Open Toolkit customization.dir parameter so I can use a different Customization dir for PDF output? I have tried the Advanced tab in the Edit DITA Scenario dialog box, Additional arguments field. Can't get it to work.

Thanks,
Mark

Re: DITA OT, using an alternate Customization dir

Posted: Mon Apr 11, 2011 5:17 pm
by Radu
Hi Mark,

In the ANT build file OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/build.xml the customization dir parameter is set by default to:

Code: Select all

<property name="customization.dir" value="${basedir}/Customization"/>
In order to overwrite it, edit the DITA Map transformation scenario and in the Parameters tab add a new parameter with the name customization.dir and the value set to your custom folder.

Regards,
Radu

Re: DITA OT, using an alternate Customization dir

Posted: Tue Apr 12, 2011 10:52 pm
by maglid
Thanks Radu, that works. I failed to notice the New button on the Parameters tab. That might have been because I read the online help for the Parameters tab, and the second sentence is "All the parameters that can be set to the DITA-OT build files for the chosen type of transformation (eg: XHTML) are listed along with their description."

It sounded like it was claiming that all the parameters were there, when I knew they were not. I figured there was somewhere else to enter extra parameters. FYI your tech writer.

Thanks for your help.

Re: DITA OT, using an alternate Customization dir

Posted: Wed Apr 13, 2011 10:13 am
by Radu
Hi Mark,

Thanks, we will try to update the user manual to better express this type of issue.

Regards,
Radu