]> granicus.if.org Git - docbook-dsssl/commitdiff
Footnotes can't be placed into fo:float
authorJirka Kosek <jirka@kosek.cz>
Wed, 6 Feb 2013 13:08:06 +0000 (13:08 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 6 Feb 2013 13:08:06 +0000 (13:08 +0000)
xsl/fo/xref.xsl

index db95815f9dfafdd67ac39a587a1574345828c3fd..508398f046d83ac13c251185c153f40a3798cb59 100644 (file)
     <!-- * and the value of its content is not a URL that is the same as -->
     <!-- * URL it links to, and if ulink.show is non-zero. -->
     <xsl:choose>
-      <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote)">
+      <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote) and not(ancestor::*[@floatstyle='before'])">
         <!-- * ulink.show and ulink.footnote are both non-zero; that -->
         <!-- * means we display the URL as a footnote (instead of inline) -->
         <fo:footnote>