[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] FO: next to last page
Subject: Re: [xsl] FO: next to last page From: Philip Vallone <philip.vallone@xxxxxxxxxxx> Date: Thu, 06 May 2010 15:11:48 -0400 |
Hi All, This is possible and I believe this is a requirement for MIL-STD-40051. We use Apache FOP 0.95 and have this working using condition page sequences and markers. If you would like a sample FO, email me directly. Happy to help. Regards, Phil On May 6, 2010, at 2:30 PM, Don Smith wrote: > Thanks Ken. I suspected as much but wanted to confirm. > > Don > > --- On Thu, 5/6/10, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > >> From: G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> >> Subject: Re: [xsl] FO: next to last page >> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >> Date: Thursday, May 6, 2010, 10:00 AM >> At 2010-05-06 07:44 -0700, Don Smith >> wrote: >>> I've got a requirement to end chapters on even pages >> and, if that last page turns out to be blank, reference it >> on the next to last page. Assuming that I have 5 pages of >> content and output a blank page for page 6, then on page 5 I >> need this in a static content region: >>> >>> Page: 5 / 6 blank >>> >>> I've got everything working in terms of reference, >> etc. My problem is isolating only the next to last page. I >> can't see any way to do that. Right now I'm getting the >> reference on all my odd pages; I only want it if it's next >> to last. >>> >>> Am I missing the way to accomplish this or is it >> impossible? >> >> It is not possible in the way you express the >> requirement. One cannot do arithmetic with page >> numbers >> >> When my customers have come to me with this, the way I've >> convinced them to go is to use: >> >> Page: 5 / next blank >> >> I hope this helps. >> >> . . . . . . . . . . . Ken >> >> -- >> Principles of XSLT for XQuery Writers: San Francisco,CA >> 2010-05-03 >> XSLT/XQuery/UBL/Code List training: Trondheim,Norway >> 2010-06-02/11 >> Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ >> Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ >> G. Ken Holman >> mailto:gkholman@xxxxxxxxxxxxxxxxxxxx >> Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc >> Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] FO: next to last page, Don Smith | Thread | [xsl] Need help with function to sp, cknell |
Re: [xsl] FO: next to last page, Don Smith | Date | [xsl] Need help with function to sp, cknell |
Month |