[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: invisible footnote (in note) in qandaset when using FOP to generate a .pdf
I do not know if the following issue is a docbook or a FOP issue.
But as a happy Docbook user, I start my search for a solution on this list.
The footnote content is lost (?) during the fo to pdf
processing whenever I put a footnote in a qandaset.
Is this because of a wrong usage of docbook or a problem
with my tool chain?
I use
- docbook-xsl-1.73.2
- saxon6-5-5
- fop-0.93
Input:
<?xml version="1.0" encoding="UTF-8"?>
<book version="5.0" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:db="http://docbook.org/ns/docbook">
<title>Test DocBook 5.0</title>
<chapter>
<title>Test Pdf</title>
<section>
<title>invisible footnote in note in qandaset</title>
<qandaset>
<qandadiv>
<qandaentry>
<question>
<para>Question</para>
</question>
<answer>
<para>Answer</para>
<note>
<para>Note with a footnote<footnote>
<para>This is the 'invisible' footnote.</para>
</footnote></para>
</note>
</answer>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</chapter>
</book>
Using:
java com.icl.saxon.StyleSheet -o test.fo test.xml docbook.xsl
fop test.fo test.pdf
Generates the outputs: .fo and .pdf
…
<fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">Note with a footnote<fo:footnote><fo:inline><fo:inline font-size="75%" font-weight="normal" font-style="normal" baseline-shift="super">1</fo:inline></fo:inline><fo: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">
<fo:block><fo:inline font-size="75%" font-weight="normal" font-style="normal" baseline-shift="super">1</fo:inline>This is the 'invisible' footnote.</fo:block>
</fo:footnote-body></fo:footnote></fo:block>
…
…
Note
Note with a footnote1
…
But the footnote content: "This is the 'invisible' footnote." is lost during the fo to pdf processing
Any hints about what I should do?
Thanks,
Paul
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]