← Prev in month ← Prev in thread
Next in thread → Next in month →

page reference added even for xrefstyle="template:"

From
Alexey Neyman <>
Date
2013-09-11T20:43:54+00:00
ID
76610207.uIv9s2LaJ7@mistral
Thread
page reference added even for xrefstyle="template:"
Index: xsl/fo/xref.xsl
===================================================================
--- xsl/fo/xref.xsl	(revision 9804)
+++ xsl/fo/xref.xsl	(working copy)
@@ -136,6 +136,9 @@
                   and contains($xrefstyle, 'nopage')">
       <!-- negative xrefstyle in instance turns it off -->
     </xsl:when>
+    <xsl:when test="starts-with(normalize-space($xrefstyle), 'template:')">
+      <!-- if page citation were wanted, it would've been in the template as %p -->
+    </xsl:when>
     <!-- positive xrefstyle already handles it -->
     <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:') 
                   and (contains($xrefstyle, 'page')
← Prev in month ← Prev in thread
Next in thread → Next in month →