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

From: Ron Catterall <ron@catterall.net>
Date: Mon Apr 17 2006 - 09:17:05 PDT

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@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

-- 
Ron Catterall, Phd, DSc				email: ron@catterall.net
Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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
Received on Mon Apr 17 09:46:59 2006

This archive was generated by hypermail 2.1.8 : Mon Apr 17 2006 - 09:47:00 PDT