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
[email protected]
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]