Fwd: [xep-support] Orphans & widows at the line break level

Jose Maria Sanchez de Ocana jsandeo at gmail.com
Fri Feb 3 09:32:38 PST 2006


I've thought about trying that, but after a first analysis of the
problem (i.e. where in a string to replace blanks with non-breaking
spaces), I've realised it's the typical problem that looks simple at
first glance but is actually pretty tricky... it's actually similar to
hyphenating, but not quite the same.
It is really more of an orphans/widows kind of problem, but at the line level.

Thanks anyway,
JSO

---------- Forwarded message ----------
From: Broberg, Mats <mabr at flir.se>
Date: Feb 3, 2006 6:15 PM
Subject: RE: [xep-support] Orphans & widows at the line break level
To: xep-support at renderx.com


Jose,

Wouldn't using a non-breaking space (U+00A0) when typing the text be a
possibility?

Best regards,
Mats Broberg

________________________________

From: owner-xep-support at renderx.com on behalf of Jose Maria Sanchez de Ocana
Sent: Fri 2006-02-03 17:20
To: xep-support at renderx.com
Subject: [xep-support] Orphans & widows at the line break level



Hello,
I'd like to know if there's a way in XSL-FO/XEP to control orphans &
widows not only at the page break level, but also at the line break
level.
My problem is that, for certain texts, I'd like to prevent lines from
breaking at words that are too short.
For example, I have the text: "Long Beach Road, 2"
I wouldn't want this sort of text to be broken right before the "2",
thus leaving a single character as an orphan in the block's last line.
I'd either want the text to be stretched into a block with one line
less, or to be broken leaving "Road, 2" on the last line.
Likewise, I wouldn't want a text such as "Madison Av. 1 - 2" to be
broken right after the 1, leaving "- 2" on the last line, and a lonely
"1" as a widow at the end of the previous one.

Thanks,
JSO

-------------------
(*) 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060203/f927718d/attachment.bin>


More information about the Xep-support mailing list