]> granicus.if.org Git - docbook-dsssl/commitdiff
Support insert.xref.page.number = 1 for backwards compatibility,
authorBob Stayton <bobs@sagehill.net>
Fri, 25 Jul 2003 17:14:27 +0000 (17:14 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 25 Jul 2003 17:14:27 +0000 (17:14 +0000)
equivalent to a value of "yes".

xsl/fo/xref.xsl

index b9fcb008015656de65aa1b7197621e5abe732150..fd5d1073491e8a394f5c9018f0f7a422c76e75cb 100644 (file)
   <xsl:if test="not(starts-with(normalize-space(@xrefstyle), 'select:') != '' 
                 and (contains(@xrefstyle, 'page')
                      or contains(@xrefstyle, 'Page')))
-                and $insert.xref.page.number = 'yes' 
+                and ( $insert.xref.page.number = 'yes' 
+                  or $insert.xref.page.number = '1')
                 or local-name($target) = 'para'">
     <fo:basic-link internal-destination="{@linkend}"
                    xsl:use-attribute-sets="xref.properties">