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: Footnote alignment


Using version 1.65.1 of Norm Walsh's stylesheets to generate XSL-FO and 
FOP 0.20.5 to generate PDF, I have tried to modify epigraph's alignment 
copying the template from fo/block.xsl and altering it in the following way:

<xsl:template match="epigraph">
   <fo:block>
     <xsl:call-template name="anchor"/>
     <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
     <xsl:if test="attribution">
       <fo:block text-align="center">
         <xsl:text>--</xsl:text>
         <xsl:apply-templates select="attribution"/>
       </fo:block>
     </xsl:if>
   </fo:block>
</xsl:template>

And adding the following template to get the whole epigraph alignment to 
the right:

<xsl:template match="epigraph/para|epigraph/simpara">
   <fo:block xsl:use-attribute-sets="normal.para.spacing" 
text-align="right" font-style="italic">
     <xsl:apply-templates/>
   </fo:block>
</xsl:template>

But now I have noticed that the footnote text alignment at the bottom of 
the page is the same as the text alignment of the text block in the page 
body where the footnote reference (e.g. a number) is placed. (I have 
noticed it because I have a footnote on the attribution of an epigraph.) 
How can I avoid this behaviour?

Best Regards,
Giulio Piancastelli.



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