[xep-support] size of first-page depends on num of pages

Neha Parab neha_parab2003 at yahoo.com
Tue Jan 17 12:36:43 PST 2006


There is no way you can determine number of pages in XSLT. You need to do this in 2 passes. 
   
   
  1> Generate XEP-OUT xml which is intermediate format of XEP.
  2> Determine the number of pages using DOM parser and modify the input XML(Actual Data) with Element containing #number of pages to be generated. In second phase your XSLT will find data in XML. 
   
  I can provide you sample code if you need. Try using   String formatOption = "XEP" instead of   String formatOption = "PDF" to generate intermediate format.


   
  Thanks

relliquest at planet.nl wrote:
  Dear All,
Is there any way to set the size of the first page to be a factor of the
total number of pages? 

every time the number of pages is 20pages more, i would like to first
page to be 0.1mm wider, to be able to cater for the spine width during
binding of the book.

don't know if this is possible in any way.

thanks!

jim quest
-------------------
(*) 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
  


		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060117/7c1f3702/attachment.html>


More information about the Xep-support mailing list