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] Page master selection. .fo, db5


Hi Dave,
The simplest solution for just the chapter title is to add space-before in the title 
(and be sure to add space-before.conditionality="retain" since it appears first in the 
flow).

In general, the page-masters all share the same page size and margin parameters for 
consistency of look, but that makes it harder to customize particular page masters. 
Adding separate params for each page-master's many margins would result in a *lot* of 
params (15 masters * 4 sides * 3 properties).  So you are left with defining custom 
page masters and getting your stylesheet to use them.  It is easiest to copy an 
existing page master to a custom 'user.pagemasters' template, change the name, and 
change just the properties you want to be different.  Then customize 
'select.user.pagemaster' template to turn it on.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "davep" <davep@dpawson.co.uk>
To: "Docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Monday, August 29, 2011 10:26 AM
Subject: [docbook-apps] Page master selection. .fo, db5


>
> I note that for my usage, I can see 15 page-masters.
> Each has the same paper size.
> Each has the same margin-top margin-bottom margin-left margin-right (inside/outside 
> inverted)
> Each has the same region-body margin-bottom, margin-top, margin-left, margin-right.
> Each has the same before-extent, after-extent.
>
> How would I (for instance) change the dimension C in the diagram at
> http://docbook.sourceforge.net/release/xsl/current/doc/fo/general.html
> Perhaps to set the opening text in a new chapter a little lower?
>
> Is it possible to configure these via params? Another way?
> Or should it be done using (say) the space-before in the title?
>
>
> TIA
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



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