Page 1 of 1
How i can modify the position of the title of he cover in DITA?
Posted: Fri Sep 23, 2011 6:40 pm
by shijanjorge
Hello
I'm a novice using DITA.
When i transformed de .dita to PDF have a problem. The title of the cover is very high.
questions: How i can modify the position of the title of he cover in DITA?
What files and code line i can modify for look the title of cover in the center?
Thanks
Re: How i can modify the position of the title of he cover in DITA?
Posted: Mon Sep 26, 2011 11:32 am
by Radu
Hi,
Oxygen uses the DITA Open Toolkit to publish DITA content to various output sources.
Using the default DITA to PDF transformation scenario, in my case the title which is displayed in the first page is about one third of the distance from the top of the page (and thus two thirds from the bottom).
You should take a look in the XSLT stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/cfg/fo/attrs/front-matter-attr.xsl
at the attribute set called:
Code: Select all
<xsl:attribute-set name="__frontmatter__title">
which is used from this stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/front-matter_1.0.xsl
The DITA Users List:
http://tech.groups.yahoo.com/group/dita-users/
is also a very interesting list to follow for DITA Open Toolkit customization questions.
Regards,
Radu
Re: How i can modify the position of the title of he cover in DITA?
Posted: Mon Sep 26, 2011 4:13 pm
by shijanjorge
Hi Radu.
Now i can modify the postition of the title (and others properties)
Thanks
