Thanks Hussein, Works like charm.
BR, Martti -----Alkuperäinen viesti----- Lähettäjä: Hussein Shafie [mailto:[email protected]] Lähetetty: 17. marraskuuta 2015 18:32 Vastaanottaja: Martti Poutanen <[email protected]> Kopio: [email protected] Aihe: Re: [ditac] Ditac and Antennahouse options On 11/17/2015 03:21 PM, Martti Poutanen wrote: > > How to configure Ditac to instruct AH formatter to use specific set of > PDF options (passing parameter i <Option-settings-file> to AH)? > In order to make ditac invoke Antenna House Formatter command-line to generate PDF, one generally passes this kind of option to ditac: -ahf "C:\AHFv6\AHFCmd.exe" Example: ditac -ahf "C:\AHFv6\AHFCmd.exe" out/manual.pdf manual.ditamap However -ahf "C:\AHFv6\AHFCmd.exe" is in fact a *shorthand* for: -foconverter AHF pdf 'C:\AHFv6\AHFCmd.exe -x 3 -p @PDF -d "%I" -o "%O"' Therefore you need to directly pass to ditac something like this: -foconverter AHF pdf 'C:\AHFv6\AHFCmd.exe -i C:\My\Options.cfg -x 3 -p @PDF -d "%I" -o "%O"' Note the absolute filenames for AHFCmd.exe and for your options file. As usual this kind of configuration option is best stored in your ditac.options file. References: * The ditac command-line utility http://www.xmlmind.com/ditac/_distrib/doc/manual/commandLine.html#commandLin e * The ditac.options file http://www.xmlmind.com/ditac/_distrib/doc/manual/commandLine.html#commandLin e__ditac_options_file -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

