You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sven <tz...@gmx.de> on 2006/02/20 19:22:27 UTC

footnote in list-block not working

Hi,
I discovered a strange behaviour of FOP when using footnotes in a 
list-block. The footnote in the list-block is not rendered at the bottom 
of the page, while the the hint number in the normal text appears as 
expected. I habe attached a simple example.

Last question: Is wrapping footnotes (so some lines appear on the next 
page) corrent behaviour? I could not imagine so, because there is not 
any clue where the remainder text belongs to. Because I was using larger 
footnote texts before without experiencing this problem, I believe this 
problem depends on the one above.

Regards, Sven


<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin="3cm 4cm 4cm 5cm"
page-width="21cm" page-height="29.7cm" master-name="default">
<fo:region-body margin-top="1cm" />
<fo:region-before extent="1cm" />
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence country="DR" language="de"
master-reference="default">
<fo:static-content flow-name="xsl-region-before">
<fo:block border-bottom="solid 1px silver" text-align="end"
font-size="10pt" font-family="Helvetica">
<fo:table table-layout="fixed" width="100%">
<fo:table-column number-columns-repeated="2"
column-width="50%" />
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block text-align="left">
<fo:page-number />
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="right">
Agententechnologie
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-footnote-separator">
<fo:block>
<fo:leader leader-length="100px" leader-pattern="rule" />
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block page-break-after="avoid" space-after="0.5em"
space-before="1em" font-weight="bold" font-size="14pt"
font-family="Helvetica" id="N10034">
2.2 Eigenschaften von Agenten
</fo:block>
<fo:block hyphenation-remain-character-count="4"
hyphenate="true" line-height-shift-adjustment="disregard-shifts"
space-after="0.5em" text-align="justify" font-size="11pt"
font-family="Times">
Ausgehend von der bisherigen Definition eines Agenten
würden viele Computerprogramme als Agenten durchgehen.
Tatsächlich existiert keine allgemein anerkannte
Definition für Software-Agenten, so dass viele
Softwarehersteller auf die oben genannte für die
Informatik unzureichende Definition von (menschlichen)
Agenten zurückgreifen und von ihrer Software kurzerhand
als Agenten reden. Stan Franklin und Art Graesser fassen
in ihrer Arbeit über Klassifikationsmöglichkeiten von
Agenten die unterschiedlichen Definitionsansätze
zusammen und versuchen die Gemeinsamkeiten aller Ansätze
herauszuarbeiten. Ihrer Meinung nach definiert sich ein
Agent wie folgt:
</fo:block>
<fo:block margin-right="1cm" margin-left="1cm">
<fo:block hyphenation-remain-character-count="4"
hyphenate="true" line-height-shift-adjustment="disregard-shifts"
space-after="0.5em" text-align="justify" font-size="11pt"
font-family="Times">
An autonomous agent is a system situated within and
a part of an environment that senses that
environment and acts on it, over time, in pursuit of
its own agenda and so as to effect what it senses in
the future.
<fo:inline>
<fo:basic-link
internal-destination="reference-FrGr96">
[FrGr96]
</fo:basic-link>
</fo:inline>
</fo:block>
</fo:block>
<fo:block hyphenation-remain-character-count="4"
hyphenate="true" line-height-shift-adjustment="disregard-shifts"
space-after="0.5em" text-align="justify" font-size="11pt"
font-family="Times">
Damit gleicht ihre Definition größtenteils der von
Michael Wooldridge und Nicholas Jennings
<fo:inline>
<fo:basic-link
internal-destination="reference-WoJe95">
[WoJe95]
</fo:basic-link>
</fo:inline>
. Beide Definition haben die folgenden Eigenschaften
gemeinsam:
</fo:block>
<fo:list-block space-after="0.5em">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="10pt"
font-family="Symbol">
•
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:block
hyphenation-remain-character-count="4" hyphenate="true"
line-height-shift-adjustment="disregard-shifts"
space-after="0.5em" text-align="justify" font-size="11pt"
font-family="Times">
<fo:inline font-weight="bold">
Autonomie
</fo:inline>
bedeutet für den Agenten, dass alle
Handlungen unter seiner Kontrolle liegen
und er keinerlei Steuerung von außen
erfährt.
<fo:footnote>
<fo:inline text-decoration="none"
font-style="normal" font-weight="normal" font-family="Times"
font-size="65%" baseline-shift="25%">
1
</fo:inline>
<fo:footnote-body>
<fo:list-block>
<fo:list-item>
<fo:list-item-label
end-indent="label-end()">
<fo:block
text-decoration="none" font-style="normal"
font-weight="normal" font-size="9pt"
font-family="Times">
1
</fo:block>
</fo:list-item-label>
<fo:list-item-body
start-indent="body-start()">
<fo:block
text-decoration="none" font-style="normal"
font-weight="normal" text-align="justify" font-size="9pt"
font-family="Times">
TEST TEST
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="10pt"
font-family="Symbol">
•
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:block
hyphenation-remain-character-count="4" hyphenate="true"
line-height-shift-adjustment="disregard-shifts"
space-after="0.5em" text-align="justify" font-size="11pt"
font-family="Times">
Um mit der
<fo:inline font-weight="bold">
Umgebung interagieren
</fo:inline>
zu können, muss ein Agent sie wahrnehmen
und auf ihren Zustand zumindest ein
gewissen Einfluss haben können.
</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:flow>
</fo:page-sequence>

</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: footnote in list-block not working

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Sven wrote:
> Last question: Is wrapping footnotes (so some lines appear on the next 
> page) corrent behaviour?


That's certainly ok unless you have a keep-together='always' on the
footnote body (which might make FOP unhappy).

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: footnote in list-block not working

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 20.02.2006 19:22:27 Sven wrote:
> Hi,
> I discovered a strange behaviour of FOP when using footnotes in a 
> list-block. The footnote in the list-block is not rendered at the bottom 
> of the page, while the the hint number in the normal text appears as 
> expected. I habe attached a simple example.

This is a known limitation documented in http://xmlgraphics.apache.org/fop/knownissues.html

> Last question: Is wrapping footnotes (so some lines appear on the next 
> page) corrent behaviour? I could not imagine so, because there is not 
> any clue where the remainder text belongs to. Because I was using larger 
> footnote texts before without experiencing this problem, I believe this 
> problem depends on the one above.

I'm probably not the best to answer that question, but looking into the
footnote test cases in our test suite there seem to be pretty good
reasons why breaking up a footnote is absolutely ok. If you want to know
about the details I suggest you go through the fop-dev mailing list
archive. At any rate, I can't see anything in the specification that
forbids this. 6.10.4 even says "The fo:footnote-body generates and
returns one or more block-level areas with area-class "xsl-footnote"."
This is a clear indicator that a footnote may be broker over multiple
pages.

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org