Re: [xep-support] Strange phenomenon in Table of Contents

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Mon Sep 18 2006 - 03:10:40 PDT
Hi Christian,
Problem is that line should alway be together within line (see attributes). When this line doesn't feet line width the weakest place to break is page number. Try to remove keep-with-next.within-line rule from <fo:basic-link/>. Then Xep will be able to place line break between title and leader.

Keep with rules is the problem place of all XSL-FO formatters. Try to use them as less as it possible.

--
Volodymyr.Mykhailyk
Intelliarts-consulting.

Ettinger, Christian wrote:
Hi,
 
I discovered a strange phenomenon in my Table of Contents when creating the PDF file with XEP.
I use the Docbook stylesheets to generate the FO file, and these stylesheets produce the following FO code:
 
<fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" text-align-last="justify" text-align="start" color="blue" end-indent="24pt" last-line-end-indent="-24pt">
  <fo:inline keep-with-next.within-line="always">
    <fo:basic-link internal-destination="id411140">2.4.4. Echo Request message to a destination IP address of
255.255.255.255</fo:basic-link>
  </fo:inline>
  <fo:inline keep-together.within-line="always"> <fo:leader leader-pattern="dots" leader-pattern-width="3pt" leader-alignment="reference-area" keep-with-next.within-line="always"/> <fo:basic-link internal-destination="id411140"><fo:page-number-citation ref-id="id411140"/></fo:basic-link></fo:inline>
</fo:block>

So far, this is correct, but look at the attached file what XEP does with it.
There seems to be some critical line length, where XEP just breaks the page number but does not extend the leader into the next line.

Does anybody have an idea how I can overcome this problem? Or any ideas on the source of this phenomenon?

Thanks in advance,
Christian
 
--
Dipl.-Ing. (FH) Christian Ettinger, Business Unit PD-36
3SOFT GmbH - Member of the Elektrobit Group,
Frauenweiherstraße 14, 91058 Erlangen, Germany
Phone: +49 (9131) 7701-249  mailto:christian.ettinger@3SOFT.de
Fax: +49 (9131) 7701-333  http://www.3SOFT.de <http://www.3soft.de/> 
 
  




-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

picture
Received on Mon Sep 18 03:20:23 2006

This archive was generated by hypermail 2.1.8 : Mon Sep 18 2006 - 03:20:27 PDT