[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: possible Bug for book pagenumbering for xsl stylesheets 1.75.2 and1.76.0
Hi, I am producing pdf book with xsltproc and xep. While viewing a pdf i noticed acrobat Reader showing the numbers 1,2,iii,iv,v...,1,2,3 . I think that there is a case where the function for page numbering is missing a case for the very first two pages. ------- altered function from fo/pagesetup.xsl --------------------- <xsl:template name="page.number.format"> <xsl:param name="element" select="local-name(.)"/> <xsl:param name="master-reference" select="''"/> <xsl:choose> <!-- ++ return Roman numbering for titlepages --> <xsl:when test="$element = 'book'">i</xsl:when> <!-- --> <xsl:when test="$element = 'toc' and self::book">i</xsl:when> <xsl:when test="$element = 'preface'">i</xsl:when> <xsl:when test="$element = 'dedication'">i</xsl:when> <xsl:when test="$element = 'acknowledgements'">i</xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:template>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]