Hi,
In print output, a dedication element generates its own page-sequence. As such, it calls the template named 'set.flow.properties', which puts attributes on the fo:flow element for the page-sequence. You can customize that template by copying it from fo/pagesetup.xsl to your customization layer, and adding an xsl:if statement testing for $element = 'dedication' to set the text-align="end" property for the entire page sequence. Holler if you need more details.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Christophe HARO" <[email protected]>
To: "docbook-apps" <[email protected]>
Sent: Thursday, April 07, 2011 12:09 AM
Subject: [docbook-apps] Text-align in a dedication


Hi all,

How to customize the stylesheet (print output) so that the text of the dedications of a book will be right aligned ?

I'm using DocBook 5, 1.76.1 stylesheets, fop 0.95 and saxon 6.5

Thanks in advance.

--
Christophe HARO
[email protected]
----------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to