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


Subject: 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
bobs@sagehill.net
 
 
----- Original Message -----
From: Xmplar
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



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