[xep-support] Strange phenomenon in Table of Contents (2)

Ettinger, Christian Christian.Ettinger at 3SOFT.de
Mon Sep 18 23:45:37 PDT 2006


Hi,

You were correct, this actually solves the problem! I am really impressed!

Thanking you all for your help,
Christian 

----- Original Message -----
From: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com] 
To: xep-support at renderx.com
Sent: Monday, September 18, 2006 6:33 PM
Subject: Re: [xep-support] Strange phenomenon in Table of Contents (2)

This may be a long shot, but here it is.  I experienced a similar problem when my stylesheet had indent="yes" in the xsl:output element.  With that setting, the line breaks produced by indenting FO elements in the FO file introduced whitespaces that became break points.  Your line is breaking before the page number, and then the formatter is applying the justification algorithm to the page number with ugly results.  When  I ran my stylesheet with indent="no", the problem went away.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs at sagehill.net


----- Original Message -----
From: "Ettinger, Christian" <Christian.Ettinger at 3SOFT.de>
To: <xep-support at renderx.com>
Sent: Monday, September 18, 2006 5:27 AM
Subject: [xep-support] Strange phenomenon in Table of Contents (2)


Hi,

thank you all for your suggestions. Unfortunately, none brings the desired 
behaviour.
Michael, I tried adding leader-length.optimum="0pt" but it did not help 
(result is in tocproblem3.png)
Removing keep-with-next.within-line from the first <fo:basic-link/> as 
Volodymyr suggested did not help either (see tocproblem2.png)
What did help somehow (but still not how I want it to be) was the tip from 
Dovid Zalkin. He suggested to use margin-right and margin-left on 
<fo:inline/> to provoke a line break whenever the line becomes dangerously 
long:

<fo:block text-align-last="justify" text-align="start" end-indent="24pt" 
last-line-end-indent="-24pt">
  <fo:inline keep-with-next.within-line="always" margin-right="1in">
    <fo:basic-link internal-destination="id411304">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" margin-left="-1in"> 
<fo:leader leader-pattern="dots" leader-pattern-width="3pt" 
leader-alignment="reference-area" keep-with-next.within-line="always"/> 
<fo:basic-link internal-destination="id411304"><fo:page-number-citation 
ref-id="id411304"/></fo:basic-link></fo:inline>
<fo:block>

See the result in tocproblem4.png.

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 at 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 at 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

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list