From: <no...@so...> - 2001-11-30 12:08:38
|
Patches item #478057, was opened at 2001-11-04 11:01 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=373749&aid=478057&group_id=21935 Category: DocBook XSL Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: David Cramer (dcramer) Assigned to: Nobody/Anonymous (nobody) Summary: Page number of title page of first <part Initial Comment: I'd already submitted this as an addendum to the bug report <https://sourceforge.net/tracker/? func=detail&aid=451265&group_id=21935&atid=373747>, but it occurred to me that I should have put it here as a patch, since that's what it is :-) Output of diff (run against v. 1.44 of the stylesheets): fo/component.xsl 207c224,227 < <xsl:if test="not(preceding::chapter)"> --- > <!-- Adding and not(../part) to fix bug: https://sourceforge.net/tracker/?func =detail&aid=451265&group_id=21935&atid=373747 --> > > <xsl:if test="not(preceding::chapter) and not (//part)"> > <!-- End of bug fix --> fo/division.xsl 282c321,332 < --- > <!-- Adding a test to see if this is the first part, if it > is, then we set the initial-page-number to 1. --> > <!-- Adding this and below to fix bug: > https://sourceforge.net/tracker/? func=detail&aid=451265&group_id=21935&atid=37 3747 > --> > <xsl:if test="not(preceding::part)"> > <xsl:attribute name="initial-page- number">1</xsl:attribute> > </xsl:if> > <!-- End of bug fix --> --- > <!-- Adding a test to see if this is the first part, if it is, then we set the initial-page-number to 1. --> > <!-- Adding this and same above to fix bug: --> > <!-- https://sourceforge.net/tracker/? func=detail&aid=451265&group_id=21935&at id=373747 --> > <xsl:if test="not(preceding::part)"> > <xsl:attribute name="initial-page- number">1</xsl:attribute> > </xsl:if> > <!-- End of bug fix --> ---------------------------------------------------------------------- Comment By: David Cramer (dcramer) Date: 2001-11-29 19:53 Message: Logged In: YES user_id=281721 Use the second component.xsl I posted--the first is the wrong one. Sorry. ---------------------------------------------------------------------- Comment By: David Cramer (dcramer) Date: 2001-11-29 19:51 Message: Logged In: YES user_id=281721 Attaching patches to xsls from cvs. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=373749&aid=478057&group_id=21935 |