From: Bob Stayton Date: Sat, 7 Mar 2009 22:10:56 +0000 (+0000) Subject: Fix bug #1973585 xref to para with xrefstyle not handled correctly. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de48b7cf56be21585c1568f413e56c09e55ed2fb;p=docbook-dsssl Fix bug #1973585 xref to para with xrefstyle not handled correctly. --- diff --git a/xsl/fo/xref.xsl b/xsl/fo/xref.xsl index 388115691..746576842 100644 --- a/xsl/fo/xref.xsl +++ b/xsl/fo/xref.xsl @@ -133,7 +133,8 @@ or contains($xrefstyle, 'Page'))) and ( $insert.xref.page.number = 'yes' or $insert.xref.page.number = '1') - or local-name($target) = 'para'"> + or (local-name($target) = 'para' and + $xrefstyle = '')"> @@ -771,11 +772,22 @@ |ancestor::listitem |ancestor::varlistentry)[last()]"/> - - - - - + + + + + + + + + + + + + + + +