<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Pagination problem.</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi All,</FONT>
</P>
<P><FONT SIZE=2>We have the following requirements. We are using renderx for transformation.</FONT>
</P>
<BR>
<P><FONT SIZE=2>********************************************************************</FONT>
<BR><FONT SIZE=2>Publication will be broken into volumes if the publication exceeds 320 pages. </FONT>
</P>
<P><FONT SIZE=2>The publication is printed as a series of "signatures" on a web press. A signature (sig) is 32 pages. The signatures are collected and bound together to create a volume.</FONT></P>
<P><FONT SIZE=2>The following rules apply when dividing a publication into volumes:</FONT>
<BR><FONT SIZE=2>1. The maximum number of signatures that can be bound together by the equipment at OSP is 10. Therefore, the maximum number of pages in one volume of the publication is 320 (10 sigs * 32 pages per sig).</FONT></P>
<P><FONT SIZE=2>2. The number of signatures per volume must be "balanced". That is, if a publication requires 26 sigs, the sigs should be split as equally as possible among the volumes with the first, second, and third volumes containing 9, 9, and 8 sigs, respectively.</FONT></P>
<P><FONT SIZE=2>3. The very last signature of a publication may contain 16 pages.</FONT>
</P>
<P><FONT SIZE=2>4. A blank page is added to the end of each volume except the last volume. The blank pages are included in the publication's total page count. A static calendar should be displayed on the end page. If total pages are 16 then blank pages should be inserted till 31 and 32nd page should be a calendar.</FONT></P>
<P><FONT SIZE=2>********************************************************************</FONT>
</P>
<P><FONT SIZE=2>Any idea how to handle this pagination logic.</FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Anshul Katoch</FONT>
</P>
<BR>
</BODY>
</HTML>