OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Space After Footnotes


DocBook XSL 1.66.1 seems to be purposefully inserting a space after 
footnotes which isn't desirable in situations such as this:

test<footnote>text</footnote>, more text

I simply overrode the template in my custom stylesheet an commented out 
the line with the space:

<xsl:template match="footnote">
   <xsl:choose>
     <xsl:when test="ancestor::tgroup">
       <xsl:call-template name="format.footnote.mark">
         <xsl:with-param name="mark">
           <xsl:apply-templates select="." mode="footnote.number"/>
         </xsl:with-param>
       </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
       <fo:footnote>
         <fo:inline>
           <xsl:call-template name="format.footnote.mark">
             <xsl:with-param name="mark">
               <xsl:apply-templates select="." mode="footnote.number"/>
             </xsl:with-param>
           </xsl:call-template>
           <!--xsl:text> </xsl:text-->
         </fo:inline>
         <fo:footnote-body font-family="{$body.fontset}"
                           font-size="{$footnote.font.size}"
                           font-weight="normal"
                           font-style="normal"
                           text-align="{$alignment}"
                           margin-left="0pc">
           <xsl:apply-templates/>
         </fo:footnote-body>
       </fo:footnote>
     </xsl:otherwise>
   </xsl:choose>
</xsl:template> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]