I've been meaning to try this myself and just haven't found the time yet. I
was going to try adding it to the <fo:root/> element so that it applies
everywhere. I don't know of any problems that would be caused by a
line-height-shift-adjustment of 'disregard-shifts'.
If that does cause problems, a template like this would probably handle 90%
of the cases:
<xsl:template
match="para[.//footnote|.//footnoteref|.//superscript|.//subscript]">
<fo:block line-height-shift-adjustment="disregard-shifts">
<xsl:apply-imports/>
</fo:block>
</xsl:template>
> -----Original Message-----
> From: Paul A. Hoadley [mailto:]
> Sent: Tuesday, April 29, 2003 3:38 AM
> To:
> Subject: [docbook-apps] Footnote marks in FO output
>
>
> Hello,
>
> I know the issue of footnote marks has been discussed numerous times,
> but I've run into this particular problem again, and also have a
> partial solution.
>
> The FO stylesheets use a <fo:inline> with the attribute
> 'baseline-shift="super"' to render the in-text footnote markers. The
> default value of the block-level attribute
> 'line-height-shift-adjustment' is 'consider-shifts', which means that
> (even with a customisation to reduce the font size of the marker as
> low as 80-85% (stylesheets use 90%)) the baseline of the line
> containing the footnote mark is shifted down a little, and for just
> that single line -- making whole paragraphs look quite uneven.
>
> If the _surrounding block_ containing the footnote inline has the
> attribute 'line-height-shift-adjustment="disregard-shifts"', the
> output looks much nicer -- I've tested it by adding it in by hand. My
> naive attempts at getting the attribute where it needs to be (by
> customising 'format.footnote.mark' -- it's obviously too late by this
> stage) have failed. I suspect it's probably safest to add it in only
> when there's a footnote mark in the block in question. Can anyone
> suggest how?
>
>
> --
> Paul.
>
> mailto:
> mailto:
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>
>