[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] Journal article title pages
> -----Original Message----- > From: stephentaylorfrsa@googlemail.com > > Thanks to Bob's post, my articles now start on the next > available page, odd or even. > > Except immediately after the Table of Contents. > > From reading Ch.10 of The Complete Guide this looks like it > would be controlled by the > > <t:titlepage t:element="table.of.contents" t:wrapper="fo:block"> > > element in titlepages.templates.xml; more specifically, by > titlepage-separator and titlepage-before children of it. > These child elements are empty, yet I still get a blank page > after the ToC instead of the first article. I think you can fix this by customizing the "force.page.count" template. Add a condition that applies to the master-reference "lot". Something like this: <xsl:template name="force.page.count"> <xsl:param name="element" select="local-name(.)"/> <xsl:param name="master-reference" select="''"/> <xsl:choose> <!-- "lot" is used for all "lists of titles" --> <xsl:when test="$double.sided !=0 and $master-reference = 'lot'">no-force</xsl:when> <!-- double-sided output --> <xsl:when test="$double.sided != 0">end-on-even</xsl:when> <!-- single-sided output --> <xsl:otherwise>no-force</xsl:otherwise> </xsl:choose> </xsl:template> Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]