From de48b7cf56be21585c1568f413e56c09e55ed2fb Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Sat, 7 Mar 2009 22:10:56 +0000 Subject: [PATCH] Fix bug #1973585 xref to para with xrefstyle not handled correctly. --- xsl/fo/xref.xsl | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) 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()]"/> - - - - - + + + + + + + + + + + + + + + + -- 2.40.0