[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [FO] Truncated line and keep-together="always"

Subject: Re: [FO] Truncated line and keep-together="always"
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Nov 2008 07:17:41 -0500
Re:  [FO] Truncated line and keep-together="always"
At 2008-11-21 12:30 +0100, Josef Pavlas wrote:
try using only keep-together.within-page="always". When you set
keep-toghether property (which is "shortcut"), it sets also
keep-together.within-line="always".

Yes, I agree with Josef to use a compound property instead of inadvertently setting all properties ... but may I suggest using keep-together.within-column= instead of keep-together.within-page= as the property? What I like about doing this is if I ever change from single column to multi-column output I get the desired result. There is no difference between .within-column= and .within-page= when formatting a single column output, and in multi-column output you would almost always want .within-column= ... so my counsel to my students has always been to get into the habit of using .within-column= even when doing one-column output.


I hope this helps.

. . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
:  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg
Video course overview:  http://www.youtube.com/watch?v=VTiodiij6gE
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.