Hello,
I got some problems with text in sidebars, that is placed too low in FO
output. This problem has occurred after our update from DB XSL v1.69.1
stylesheets to v1.75.0 .
When we transform the following DB 4.5 sequence to F0 (using XSLTProc,
DB XSL v1.75.0 stylesheets with our custom layer) and to PDF (using
Antenna House Formatter V4.3), the text "short annotation" is placed too
low on the page compared to the text "dummy text...". Both texts should
be in the same level.
DocBook 4.5 sequence:
<sidebar>
<para>short annotation</para>
</sidebar>
<para>dummy text dummy text dummy text dummy text dummy text dummy
text
dummy text dummy text dummy text dummy text dummy text dummy text
dummy
text dummy text dummy text dummy text dummy text dummy text</para>
</section>
FO output or the above XML sequence:
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em"
space-after="0pt" space-after.precedence="force"
start-indent="0pt" end-indent="0pt">
<fo:float float="start" clear="both">
<fo:block-container start-indent="0pt" end-indent="0.5em"
inline-progression-dimension="29.8mm">
<fo:block>
<fo:block border-style="none" border-width="0pt"
border-color="black" background-color="transparent" padding-left="0pt"
padding-right="0pt"
padding-top="0pt" padding-bottom="0pt"
margin-left="0pt" margin-right="0pt" space-before.minimum="1em"
space-before.optimum="2em"
space-before.maximum="4em"
space-after.minimum="1em" space-after.optimum="2em"
space-after.maximum="4em"
keep-together.within-column="always"
padding-start="12pt" padding-end="12pt" id="id597592">
<fo:block/>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">short
annotation</fo:block>
</fo:block>
</fo:block>
</fo:block-container>
</fo:float>
</fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">
dummy text dummy text dummy text dummy text
dummy text dummy text
dummy text dummy text dummy text dummy text
dummy text dummy text
dummy text dummy text dummy text dummy text
dummy text dummy text
</fo:block>
When we were using the DB XSL v1.69.1 stylesheets, the FO output looked
the same BUT it did not contain the line containing "<fo:block/>". Then,
the content of the sidebar was placed on a level with the "para"
content.
I have combed through the DocBook XSL files (block.xsl , all the lines
after "<xsl:template match="sidebar" name="sidebar">") but I just have
not understood, how it works.
Could you help me, how I can get the "sidebar" content on the same level
as the "para" content?
Thanks, Martin
-------
Harman/Becker Automotive Systems
Martin Schramm
Technical Documentation
ES-P Quality & Tools
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Huls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad |
Local Court Mannheim: Register No. 361395
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]