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

From
Bob Stayton <>
Date
2012-02-06T20:09:18+00:00
ID
016001cce50b$31e78840$6600a8c0@pazu
Thread
Re: [docbook-apps] Titlepage customization: Align legalnotice at bottom of page?
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


 

 

  
----- Original Message ----- 

  
From: 
  Paul 
  Tremblay 

  
To: danmauer 

  
Cc:  
  

  
Sent: Monday, February 06, 2012 11:43 
  AM

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

  

As far as I know, no. Your two options are:

1. Put the 
  legal notice in a footer(fo:static-content)
2. Just keep using the 
  <fo:block space-before = "xin" until you get your desired result. 
  

Maybe there is a way to use a maximum property with a 
  keep-together.within.page. I've never tried this. 

Paul

  
On Mon, Feb 6, 2012 at 11:02 AM, danmauer <> 
wrote:

  
I've customized my fo-output title page by modifying 
    the 'article' template
in titlepage.templates.xml, removing some elements 
    I don't want to appear,
and so on.

Spacing the elements relative 
    to one another is pretty trivial (using
space-before and space-after 
    properties).  What I can't seem to figure out
is how to align one or 
    more elements at the bottom of the page.  In this
case, I 
    specifically want the <legalnotice> element to appear at the 
    very
bottom of the main content area.

Is there a straightforward 
    way to accomplish this?

Thanks,
-dan

--
View this message in context: http://old.nabble.com/Titlepage-customization%3A-Align-legalnotice-at-bottom-of-page--tp33272410p33272410.html
Sent 
    from the docbook apps mailing list archive at 
    Nabble.com.

---------------------------------------------------------------------
To 
    unsubscribe, e-mail: 
For 
    additional commands, e-mail: