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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] FO XSLT: Adding footer content to title pages

FYI, the "docbook" mailing list is for questions about the DocBook DTD.
In the future, use the "docbook-apps" mailing list for questions about
stylesheets and other applications.  8^)

The first two pages of a book are in the 'titlepage' pageclass, so the first
xsl:when condition in your footer.content template
turns off those footers.  FOP may output
extra empty titlepages as well.  Remove that condition
and you will get the footer on all but the very first page.

For some reason, the very first page of a book is not controlled
completely by the footer.content template.  In the template named
'footer.table' in fo/pagesetup.xsl, there is another test for
the first titlepage of a book, and it turns off that entire footer table.
It is under the comment
<!-- Really output a footer? -->

I think that test should probably be moved to footer.content
so the customizer has complete control.  In the meantime, you
will also have to customize the footer.table template to
turn off that condition.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Larry Baltz" <leb.oasis@baltz.org>
To: <docbook@lists.oasis-open.org>
Sent: Tuesday, December 23, 2003 11:43 AM
Subject: [docbook] FO XSLT: Adding footer content to title pages

I would like to add a copyright and legal notice to the bottom of every page
generated from the XSL FO stylesheets.  I've managed to do this
satsifacteraly to most of the pages, but the first 2 or 3 escape me.

You can find my customisation layer file at the following URL(s), which
contains the footer template I'm using to do this:


What I'm specifically having trouble with is that when I try to add the text
to the footer of the first few pages, this works but then the footers of the
other pages are blank (not even a page number).

Any suggestions or help would be appreciated.


To unsubscribe from this list, send a post to
docbook-unsubscribe@lists.oasis-open.org, or visit

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