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] pagesetup.xsl


On 08/07/2011 05:53 PM, Bob Stayton wrote:
> If you want to use the original page master names, then the answer is 
> yes, you must customize that big template.  If you want to use your 
> own master names, then you can use the user.pagemasters and 
> select.user.pagemaster templates to write your own original page masters.
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net

There appears to be nothing about this at
http://www.sagehill.net/docbookxsl/PrintOutput.html#FinishedPageSize
nor http://docbook.sourceforge.net/release/xsl/current/doc/fo/

How to use please Bob/anyone?

I think.... TBC

In customization layer
In template name='user.pagemasters'
     Create a simple-page-master and page-sequence-master which uses it
      (Steal from template name=setup.pagemasters)
In template name = 'select.user.pagemaster'
      return a string which names the page-master

Then in component.xsl, this will be used by the template for d:preface
when it selects a value for master-reference.

I think that's it.



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk



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