Next in thread → Next in month →

Re: [docbook-apps] Specifying space-before relative to the page margins

From
Bob Stayton <>
Date
2012-01-03T19:50:45+00:00
ID
0b6a01ccca50$f444dd50$6600a8c0@pazu
Thread
Re: [docbook-apps] Specifying space-before relative to the page margins
In XSL-FO, there are properties you can put on a 
fo:block-container to position it relative to the page boundaries rather than 
relative to its preceding block.  Something like:

 

<fo:block-container absolute-position="absolute" 
top="3in">

  <fo:block>

  ...

 

This will place the top of the block-container 3in 
from the top of the page.

 

I think getting that work in the titlepage system 
might be hard.  The titlepage spec file can only specify one element, but 
here you need both block-container and block.  So the spec probably has to 
specify the name of a template, and the template must be written to output both 
elements.

 

Bob Stayton
Sagehill Enterprises


 

 

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

  
From: 
  Xmplar 

  
To:  
  

  
Sent: Friday, December 23, 2011 10:30 
  PM

  
Subject: [docbook-apps] Specifying 
  space-before relative to the page margins

  

I have on a book title page several elements (title, subtitle, 
  author, contributor, mediaobject etc) all centred below each other. For each 
  element, I have set space-before values which are, of course, measured from 
  the preceding element (so, the space-before for subtitle is applied relative 
  to the position of the title).
Instead of specifying space-before for each 
  element relative to the preceding element, is it possible to specify the 
  space-before relative to the top margin of the page?

  
-- 
Dave 
Gardiner
Next in thread → Next in month →