Next in thread → Next in month →

Re: [docbook-apps] How to change default formatting for Figure Titles

From
Bob Stayton <>
Date
2008-01-29T19:31:31+00:00
ID
D4F6EFDF577640F0992A333EC927F6FF@sheeta
Thread
Re: [docbook-apps] How to change default formatting for Figure Titles
You could also customize the template with match="figure" in fo/formal.xsl. 
Oddly enough, the template for example elements peeks into the mediaobject 
to get the align value and uses that for the title, but figure does not.  I 
can't explain the difference.  But you could borrow the code from example to 
customize your figure template.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Etienne Botha" <>
To: <>
Sent: Monday, January 28, 2008 11:58 PM
Subject: Re: [docbook-apps] How to change default formatting for Figure 
Titles


>
>
> DeanNelson wrote:
>>
>> I would like to make sure that the TITLE alignment mirrors what the image
>> alignment is. If I can't do that, I would like to change the default
>> alignment
>> for the figure titles.
>>
>
> DocBook FO XSL has an attribute set called "component.title.properties"
> which you need to customize to include parent::figure in the test for
> text-align to be "center". Or you could get the value of the "align"
> attribute of the "graphic" child.
>
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-change-default-formatting-for-Figure-Titles-tp15129230p15154232.html
> Sent from the docbook apps mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →