How i can modify the position of the title of he cover in DITA?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
shijanjorge
Posts: 5
Joined: Fri Sep 23, 2011 6:20 pm

How i can modify the position of the title of he cover in DITA?

Post 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
Radu
Posts: 9447
Joined: Fri Jul 09, 2004 5:18 pm

Re: How i can modify the position of the title of he cover in DITA?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
shijanjorge
Posts: 5
Joined: Fri Sep 23, 2011 6:20 pm

Re: How i can modify the position of the title of he cover in DITA?

Post by shijanjorge »

Hi Radu.

Now i can modify the postition of the title (and others properties)

Thanks
:)
Post Reply