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 not shown when used under itemizedlist tag.

On Feb 3, 2008 9:07 AM, Xuan Ngo <xuanngolist@yahoo.ca> wrote:
> Footnote not shown when used under itemizedlist tag. Is this a bug?
> I'm using FOP v0.94 and Docbook 1.73.2.

Perhaps a FOP bug [yes, see bottom]?

The footnote is certainly there in the XSL-FO outputted by the stylesheets:
$ xsltproc ~/scratch/docbook-xsl-snapshot/fo/docbook.xsl ml.xml |
xmllint --format - | grep -A 1 -B 1 "Footnote under Itemizedlist"
Making portrait pages on USletter paper (8.5inx11in)
                <fo:block>bla bla bla
itemizedlist<fo:footnote><fo:inline><fo:inline font-size="75%"
font-weight="normal" font-style="normal"
font-family="serif,Symbol,ZapfDingbats" font-size="8pt"
font-weight="normal" font-style="normal" text-align="justify"
start-indent="0pt" text-indent="0pt" hyphenate="true"
font-size="75%" font-weight="normal" font-style="normal"
baseline-shift="super">2</fo:inline>Footnote under

...and the resulting FO renders fine via AntennaHouse's XSLFormatter.
This makes me think it's not a stylesheet bug.

FOP warns:
$ fop -fo ml.fo ml.fop.pdf
Feb 3, 2008 11:25:59 AM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
...and gives a PDF without the footnote, but with the footnote marker.

If we set fop1.extensions
$ xsltproc -o ml.fo --stringparam fop1.extensions 1
~/scratch/docbook-xsl-snapshot/fo/docbook.xsl ml.xml && fop -fo ml.fo
... we get the same "2" in the text but no footnote at the bottom.

So, I guess it must be a FOP bug (sorry, not a regular FOP user, so I
don't know more).


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