Subject: Re: [xsl] XSL-FO: Exclude page numbering on some pages From: Nadia.Swaby@xxxxxx Date: Thu, 04 May 2006 13:43:50 -0400 |
Hi Ken, This seems to have worked. The only thing is that I had to add force-page-count="no-force" to the fo:page-sequence for the Contents section. Otherwise, I was getting a blank page between the contents and the index. Thanks for all your help! Nadia "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> 2006-05-04 13:00 Please respond to xsl-list To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx cc: Subject: Re: [xsl] XSL-FO: Exclude page numbering on some pages At 2006-05-04 12:40 -0400, Nadia.Swaby@xxxxxx wrote: >Thanks for the quick response. So basically I should: > >1) Create a new simple page master for the revision pages > <fo:simple-page-master >master-name="RevPage"></fo:simple-page-master> > >2) Create a new page master sequence: > <fo:page-sequence-master master-name="RevIndex"> > <fo:single-page-master-reference >master-reference="RevPage"> > </fo:single-page-master-reference> > </for:page-master-sequence-master> >3) Create a new fo:page-sequence for the RevIndex > >Let me know if I am on the right track or not. Yes, you are on the right track Nadia, but there is a small problem with your proposed use of objects above. If your index were more than one page, then your RevIndex above would run out of page geometries because you have only a single-page-master-reference. Use repeatable-page-master-reference to support more than one page. And, more simply, one is not obliged to point page-sequence only to page-sequence-masters ... you can simplify the above by pointing directly to the desired page geometry that is being repeated by having: <simple-page-master maser-name="RevPage">.... <page-sequence master-reference="RevPage">.... .... there is no need to always create a page-sequence master. I tell my students to only use one when there is a need to describe subsequences of patterns of page geometries ... though there is nothing technically wrong with the extra layer of indirection to the same thing as you've suggested above. I hope this helps. .. . . . . . . . . . . . Ken -- Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16 Also for XSLT/XSL-FO training: Minneapolis, MN 2006-07-31/08-04 Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25 Also for XSLT/XSL-FO training: Copenhagen,Denmark 2006-05-08/11 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO: Exclude page numb, G. Ken Holman | Thread | [xsl] Controlling Whitespace in IE, Spencer Tickner |
Re: [xsl] XSL-FO: Exclude page numb, G. Ken Holman | Date | [xsl] Controlling Whitespace in IE, Spencer Tickner |
Month |