docbook-apps

Expand all | Collapse all

Re: [docbook-apps] Titlepage customization: Align legalnotice at bottom of page?

  • 1.  Re: [docbook-apps] Titlepage customization: Align legalnotice at bottom of page?

    Posted 02-06-2012 20:09
    The footnote method can work, but it requires turning off the footnote separator rule for the titlepage masters. Actually, there is a third method in XSL-FO. An fo:block-container can be positioned absolutely on the page, even in FOP. The "bottom" property sets a distrance of that block from the bottom.

    <fo:block-container absolute-position="absolute" bottom="2cm">
    <fo:block>Content here</fo:block>
    </fo:block-container>

    With no other properties, the block will assume the width of the page, with a height matching the content. The only danger with absolute positioning is that if the content above it extends downward too far, they can overlap.

    I don't know of a way to specify a fo:block-container in the titlepage spec file, though. You'll need to specify a named template, and put this code in the named template. Let me know if you need further details.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] Titlepage customization: Align legalnotice at bottom of page?

    Posted 02-06-2012 20:38

    Thanks to both of you, I'll give each method a try and see what works best
    for me.


    Bob Stayton wrote:
    >
    > The footnote method can work, but it requires turning off the footnote
    > separator rule for the titlepage masters. Actually, there is a third
    > method in XSL-FO. An fo:block-container can be positioned absolutely on
    > the page, even in FOP. The "bottom" property sets a distrance of that
    > block from the bottom.
    >
    > <fo:block-container absolute-position="absolute" bottom="2cm">
    > <fo:block>Content here</fo:block>
    > </fo:block-container>
    >
    > With no other properties, the block will assume the width of the page,
    > with a height matching the content. The only danger with absolute
    > positioning is that if the content above it extends downward too far, they
    > can overlap.
    >
    > I don't know of a way to specify a fo:block-container in the titlepage
    > spec file, though. You'll need to specify a named template, and put this
    > code in the named template. Let me know if you need further details.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >