OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Etienne Botha" <etienne_botha@yahoo.com>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]