[xep-support] Controlling page breaks in my pdf document

David Cramer david at thingbag.net
Mon Apr 17 09:54:24 PDT 2006


There's information about this subject in Bob Stayton's book on the 
docbook xsls as well:
http://www.sagehill.net/docbookxsl/PageBreaking.html

David

Ron Catterall wrote:

> Sorry, I missed a new-line.  Should have read:
>
> You need to put the following in your customization layer, then put 
> the PI in your XML source where you want a page-break to appear
>
> <!-- PI to generate a hard page break -->
> <!-- to apply a hard page break do
>   <?hard-pagebreak?>
> in the xml text -->
> <xsl:template match="processing-instruction('hard-pagebreak')">
> <fo:block break-before='page'/>
> </xsl:template>
>
> Hope that works OK
>
> Ron
>
>
>
>> Folks,
>>
>> I'm using the personal version of renderx to produce some pdf 
>> documents from Docbook XML.  I'm using XXE's docbook conversion 
>> option to do the conversion.  I'm trying to  control page breaks so 
>> that I can do things like start the table of contents that's 
>> generated on a new page, and start each top level section on a new 
>> page and add new pages between sub-sections as needed.
>>
>> This is my first experience with using xml to create a document so I 
>> won't admit to understanding anything yet, but I think renderx is the 
>> piece that actually creates the document from xml so this is probably 
>> where I have to adjust the page breaks.  Can someone help me figure 
>> out how to do this.
>>
>> Thanks
>>
>> Kurt
>> -------------------
>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>> in the body of the message to majordomo at renderx.com from the address
>> you are subscribed from.
>> (*) By using the Service, you expressly agree to these Terms of 
>> Service http://www.renderx.com/terms-of-service.html
>
>
>


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list