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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Complex headers and footers

On Fri, Nov 08, 2002 at 12:31:52PM +0100, Martin Perina wrote:
> On Pa, 2002-11-08 at 11:12, Wilfred Springer wrote:
> > Hi all,
> > 
> > I would like to have multiple compartments in my headers and footers,
> > like having a left-aligned pagenumber and a right-aligned document
> > title. Somehow I'm unable to get it done using FO and FOP. 
> > 
> > It basically boils down to this question:
> > 
> > How can you have two compartments in one block, with the first one being
> > left-aligned, and the other one being right-aligned?
> > 
> > Any clues?
> Donwload more current stylesheets version (> 1.54) and look 
> at header.table and footer.table in fo/pagestup.xsl, it currently
> uses three compartments (left-aligned, centered and right-aligned).

And to make it even easier, there are now two stylesheet
templates that let you define the content for each of the
cells in the headers and footers without having to modify
the fo:tables.  The templates named 'header.content' and
'footer.content' in fo/pagesetup.xsl control the content.
You can copy them to your customization layer and make any
modifications you need.  You can put whatever logic you
like in there for different page classes.  For further
explanation, see the doc I wrote at:



Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC