This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Titles for figures


On Tue, Jan 21, 2003 at 12:58:40PM +0100, Marko Petersen wrote:
> Hi,
> 
> I have a problem with the alignment of titles for figures.
> Some titles are aligned to center, what I want, and some
> titles are aligned left, what I don't want. Each figure contains
> a imagedata where the alignment is specified like the following
> code:
> 
> <section>
> <figure id="docs">
>    <title>Dokumente einstellen - \bersicht</title>
>    <mediaobject>
>       <imageobject>
>         <imagedata fileref="docs.jpg" format="JPG"
>                           width="400px" align="center"/>
>    </imageobject>
>    </mediaobject>
> </figure>
> 
> Is there any other simple way to align the titles to center, for example
> a param? I am using FOP 0.20.5RC and DocBook XSL 1.59.2.

The stylesheet uses the align value of the imagedata
to align the figure title.   Are you saying that for
some figures, this does not work?  If that is the case,
can you submit a sample?  Or are some figures
left aligned but you want the title centered?  That 
currently isn't possible.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]