This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Titles for figures
- From: Bob Stayton <bobs at caldera dot com>
- To: Marko Petersen <lg002237 at rzserv2 dot fhnon dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 21 Jan 2003 09:36:55 -0800
- Subject: Re: DOCBOOK-APPS: Titles for figures
- References: <5.1.1.6.0.20030121125100.00b89140@rzserv2.fhnon.de>
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