Next in thread → Next in month →

Re: [docbook-apps] Text-align in a dedication

From
Bob Stayton <>
Date
2011-04-07T17:48:55+00:00
ID
079901cbf54c$07a89740$6600a8c0@pazu
Thread
Re: [docbook-apps] Text-align in a dedication
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



----- Original Message ----- 
From: "Christophe HARO" <>
To: "docbook-apps" <>
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
> 
> ----------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →