]> granicus.if.org Git - docbook-dsssl/commitdiff
Change formatting of URL footnotes
authorNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 14:50:44 +0000 (14:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 14:50:44 +0000 (14:50 +0000)
xsl/fo/xref.xsl

index 4ef561645394d74ab16af643c3ea33fc8e8756e9..7d9b6026cfb341d3422b0772c1dbf5c7c49673d9 100644 (file)
     <xsl:choose>
       <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote)">
         <xsl:variable name="ulink.fn.mark">
-          <fo:inline font-style="italic">
+          <fo:inline>
             <!-- FIXME: this isn't going to be perfect! -->
+            <xsl:text>[</xsl:text>
             <xsl:number level="any"
                         from="chapter|appendix|preface|article|refentry"
-                        format="i"/>
+                        format="1"/>
+            <xsl:text>]</xsl:text>
           </fo:inline>
         </xsl:variable>
 
         <fo:footnote>
-          <fo:inline baseline-shift="super" font-size="90%">
+          <fo:inline font-size="90%">
             <xsl:copy-of select="$ulink.fn.mark"/>
           </fo:inline>
           <fo:footnote-body font-family="{$body.font.family}"
                             font-size="{$footnote.font.size}">
             <fo:block>
-              <fo:inline baseline-shift="super" font-size="90%">
+              <fo:inline font-size="90%">
                 <xsl:copy-of select="$ulink.fn.mark"/>
+                <xsl:text> </xsl:text>
               </fo:inline>
               <fo:inline>
                 <xsl:value-of select="@url"/>