Re: [docbook-apps] Footnote not shown when used under itemizedlist tag.

2008-02-03 Thread Keith Fahlgren
On Feb 3, 2008 9:07 AM, Xuan Ngo [EMAIL PROTECTED] 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
fo:blockbla bla bla
itemizedlistfo:footnotefo:inlinefo:inline font-size=75%
font-weight=normal font-style=normal
baseline-shift=super2/fo:inline/fo:inlinefo:footnote-body
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
wrap-option=wrap
linefeed-treatment=treat-as-spacefo:blockfo:inline
font-size=75% font-weight=normal font-style=normal
baseline-shift=super2/fo:inlineFootnote under
Itemizedlist/fo:block/fo:footnote-body/fo:footnote
   /fo:block

...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
(http://docbook.xml-doc.org/snapshots/xsl/doc/fo/fop1.extensions.html):
$ xsltproc -o ml.fo --stringparam fop1.extensions 1
~/scratch/docbook-xsl-snapshot/fo/docbook.xsl ml.xml  fop -fo ml.fo
ml.fop.pdf
... 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).


HTH,
Keith

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [docbook-apps] Footnote not shown when used under itemizedlist tag.

2008-02-03 Thread Mauritz Jeanson
 -Original Message-
 From: Xuan Ngo 
 
 Footnote not shown when used under itemizedlist tag. Is this a bug?
 I'm using FOP v0.94 and Docbook 1.73.2.


I think it's a FOP bug; probably this one:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37579

/MJ



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]