Page 1 of 1
oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 2:24 pm
by Le Basque
Hi,
I use processor Antenna House for generate PDF file since oXygen.
I want to change pdf version
Actuelly generate file pdf is version 1.4 i want version 1.7
Where change this parameter ?
Thank you
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 3:25 pm
by sorin_ristache
Hi,
Please look in the Antenna House documentation. You have to set the PDF version with the attribute
pdf-version inside a
<pdf-settings> element in an
Antennna House option setting file.
You have to set the option setting file in the command line of the Antenna House processor using the -i parameter. That means you have to edit the
command line that you set for AH in Oxygen from menu
Options -> Preferences -> XML / XSLT-FO-XQuery / FO Processors and add the
AHouse option setting file using the -i parameter.
Regards,
Sorin
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 3:46 pm
by Le Basque
Hi,
In preference i indicate :
Code: Select all
D:\produits\AHFormatterV6\AHFCmd.exe -d ${fo} -p ${ah_method} -o ${out} -pdfver PDF1.7 -extlevel 4
When i generate version PDF is 1.4 ?
Thank you
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 3:54 pm
by sorin_ristache
What AH version do you use? Do you get transform errors when you run the DITA PDF transform in Oxygen?
Why do you think the output is not PDF 1.7? In what application do you look at the created PDF output? For example if you use Adobe Reader you should use version 8.0 or later.
Regards,
Sorin
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 4:07 pm
by Le Basque
I use V6.0 of Antenna House
Out oXygen when i use AH i indicate
Code: Select all
AHFCmd.exe -d fic.fo -p @PDF -o fic_AH.pdf -pdfver PDF1.7 -extlevel 4
When i look properties of fic_AH.pdf
Version PDF : 1.7 and tools conversion Antenna House Output Library 2.6.0
When i use oXygen with Antenna House, when i look properties of PDF file i obtains :
Version PDF : 1.4 and tools conversion Antenna House Output Library 2.6.0
I don't found the call exec in log
Thank you
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 4:20 pm
by sorin_ristache
What transform do you use in Oxygen? Do you run AH on a FO file using a FO -> PDF transform? Do you run the DITA PDF transform in which you select AH on the
FO Processor tab?
If you run the DITA PDF transform you have to add the following two lines:
Code: Select all
<arg value="-pdfver"/>
<arg value="PDF1.7"/>
in the targets called
"transform.fo2pdf.ah.nooption" and
"transform.fo2pdf.ah.hasoption" in the file
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\build_axf.xml.
Regards,
Sorin
Re: oXygen Antenna House generat PDF
Posted: Mon Mar 31, 2014 4:37 pm
by Le Basque
Thank you it is OK
Best regards