Page 1 of 1
Using the Transformation Scenario - Which XSL file for PDF
Posted: Tue Aug 24, 2010 3:36 pm
by leubanks
I can transform the file to a PDF, but I cannot figure out which XSL file is being used to create that PDF. I want to modify the XSL to format the document with company font, colors, etc.
Any ideas on which XSL file is being used for this and where it is located? Is there another way to modify the XSL and save it as a different version and still apply it to my Transformation Scenario?
Thanks!
Re: Using the Transformation Scenario - Which XSL file for PDF
Posted: Tue Aug 24, 2010 4:09 pm
by Radu
Dear Lee,
To make things more clear, you are wanting to customize a DITA to PDF transformation.
Oxygen uses the DITA Open Toolkit to publish DITA Maps to various output formats.
My suggestion to you is to start reading this very good PDF from Scriptorium explaining how customizations work:
http://www.scriptorium.com/whitepapers/ ... tweaks.pdf
For example you can locate part of the parameters which can be customized in the DITA OT PDF transformation in files like this one (specific for each locale):
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\cfg\common\vars\en_US.xml
In order to make your customizations without modifying the DITA Open Toolkit file there is a directory
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/Customization with a readme file explaining how customizations can be added to it.
Another suggestion for you is to join the DITA Users list which is a place where a lot of DITA professionals can share with you customization techniques:
http://tech.groups.yahoo.com/group/dita-users/
Regards,
Radu
Re: Using the Transformation Scenario - Which XSL file for PDF
Posted: Thu May 19, 2011 12:27 pm
by alendoxy
Hi Radu, I have the same problem (I think

) I would like to customize my docbook 5 document transformation. These suggestions are also for me?
thank a lot
Re: Using the Transformation Scenario - Which XSL file for PDF
Posted: Thu May 19, 2011 1:03 pm
by Radu
Hi,
In Oxygen the Docbook XSLT stylesheets for PDF transformation are found here:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/fo
There is a Chapter in the Docbook User Guide dealing with customizations:
http://www.sagehill.net/docbookxsl/CustomizingPart.html
Also if you edit a Docbook to PDF transformation scenario in Oxygen and you click the
Parameters tab you can change a lot of default parameter values.
Regards,
Radu