is off to prevent extra blank page.
</xsl:attribute>
<!-- Page numbering for a preface doesn't restart; it continues from the ToC -->
- <xsl:if test="$double.sided != 0">
- <xsl:attribute name="initial-page-number">auto-odd</xsl:attribute>
- </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$double.sided != 0">
+ <xsl:attribute name="initial-page-number">auto-odd</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="force-page-count">no-force</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:attribute name="hyphenation-character">
<xsl:call-template name="gentext">