[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] fo, line wrap on index format.


Subject: RE: [xsl] fo, line wrap on index format.
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Apr 2004 11:24:34 -0400

At 2004-04-23 15:25 +0100, David.Pawson@xxxxxxxxxxx wrote:
       <block start-indent="4cm" text-indent="-4cm"
              end-indent="4cm" last-line-end-indent="-4cm">

               <fo:inline/>LOOSES,  ORFORD YARD NORWICH, 07 NOV<fo:leader
leader-pattern="dots"/>
               <fo:inline/>14.44</fo:block>

Mmm. Interesting.

Not sure why you have the empty inlines there, or in your following message where you change the leader to use a content of a dot rather than the "dots" pattern.


AH 3 has the text tight against the 14.44

Yes, it would ... I usually add a space before the citation, or put the citation in an inline-container for a fixed end to the dots.


XEP stretches the 17.77 in the example below!

Not sure what you mean by "stretches".


Still not right for the cases I have Ken.

I note in your following message it is now working.


The text-align-last messes up when the wrap isn't nice.

That is, indeed, something that was missing from my example above but you can see on page 155 of the paper book and page 164 of the electronic book: the use of text-align-last="justify" in order to push the citation that shows up on the last line of the block to the right side of the page. Note that you then get the choice of how you want the "body" of the table of contents entry to wrap the right edge by using text-align="justify" for a smooth edge or default text-align="start" for a ragged edge, as I show in the two examples in my book.


I hope this is helping.

.................. Ken

--
Public courses: Spring 2004 world tour of hands-on XSL instruction
Each week:   Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18

World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc


Current Thread
Keywords
xsl