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: RE: [docbook-apps] Footnote marks in FO output

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:

 <fo:block line-height-shift-adjustment="disregard-shifts">

> -----Original Message-----
> From: Paul A. Hoadley [mailto:paulh@logicsquad.net]
> Sent: Tuesday, April 29, 2003 3:38 AM
> To: docbook-apps@lists.oasis-open.org
> 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:paulh@logicsquad.net
> mailto:phoadley@maths.adelaide.edu.au
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org

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