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] DocBook XSL and page breaks


Nic

You can do this easily in your customization layer

<!-- 
==================================================================== -->
<!-- PI to generate a hard page break -->
<!-- to apply a hard page break do
<?hard-pagebreak?>, <?page-break?> or <?pb?>
in the xml text -->
<xsl:template match="processing-instruction('pb')">
<fo:block break-before='page'/>
</xsl:template>     <!-- END match="processing-instruction('pb')"  -->
<xsl:template match="processing-instruction('page-break')">
<fo:block break-before='page'/>
</xsl:template>     <!-- END 
match="processing-instruction('page-break')"  -->
<xsl:template match="processing-instruction('hard-pagebreak')">
<fo:block break-before='page'/>
</xsl:template>     <!-- END 
match="processing-instruction('hard-pagebreak')"  -->

No need to specify 'how much space' and put this anywhere.

Ron

Nic Gibson wrote:
> Hi
> 
> I have a feeling I'm missing something obvious here so I think I'd better ask. My current client has a requirement that the table of contents for their material have a page break at the end. Is there any option I can set to require this? I don't think there's an obvious way to handle this using a processing instruction or the keep-together-... attribute. Am I missing something obvious?
> 
> cheers
> 
> nic
> --
> Nic Gibson
> Director, Corbas Consulting Ltd
> Editorial and Technical Consultancy and Training
> http://www.corbas.co.uk, +44 (0)7718 906817	
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 
> 
> 

-- 
Ron Catterall Ph.D. D.Sc.
ron@catterall.net
http://catterall.net

S/MIME Cryptographic Signature



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