Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] Unwanted blank pages [xsl] Unwanted blank pagesTo: <xsl-list@-----.------------.---> Date: 5/7/2009 1:07:00 PM Hi, I am having problems with unwanted blank pages. I have tried to search for this in forums, but can't find much. The problem is I get blank pages between the TOC and the body content, and there is not supposed to be any there. I have tried all the values on force-page-count and initial-page-number that I have read about for omitting blank pages, but it doesn't help. The stylesheet snippet below still produces the unwanted blank page between the TOC and the body content... What am I missing? I would really appreciate any suggestions! Regards, Anders Snippets (slightly simplified for readability): The fo:page-sequences: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <fo:page-sequence initial-page-number="1" master-reference="TOC" format="1" id="TOC-sequence"> <xsl:call-template name="standard-static-contents"> <xsl:with-param name="page-number"> <fo:page-number font-family="Times New Roman"/> </xsl:with-param> </xsl:call-template> <fo:flow flow-name="xsl-region-body"> <fo:block> <xsl:apply-templates select="content/section/section[1]" mode="firstPage"/> </fo:block> </fo:flow> </fo:page-sequence> <fo:page-sequence master-reference="body" format="1" id="header-sequence"> <xsl:call-template name="standard-static-contents"> <xsl:with-param name="page-number"> <fo:page-number font-family="Times New Roman"/> </xsl:with-param> </xsl:call-template> <fo:flow flow-name="xsl-region-body"> <fo:block font-family="Times New Roman"> <xsl:call-template name="content"/> </fo:block> </fo:flow> </fo:page-sequence> The page-sequence-masters: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <fo:page-sequence-master master-name="TOC" initial-page-number="auto" force-page-count="no-force"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference blank-or-not-blank="not-blank"/> <fo:conditional-page-master-reference odd-or-even="odd" master-reference="toc-odd-page"/> <fo:conditional-page-master-reference odd-or-even="even" master-reference="toc-even-page"/> </fo:repeatable-page-master-alternatives> <fo:page-sequence-master master-name="body" initial-page-number="auto" force-page-count="no-force"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference blank-or-not-blank="not-blank"/> <fo:conditional-page ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@l...> --~-- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
