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

From: Powell, Todd <Todd.Powell@hq.doe.gov>
Date: Fri Feb 03 2006 - 09:47:47 PST

Jose,

We've developed some standard rules for our end users when it comes to
knowing where to place non-breaking spaces, and one of the most commonly
encountered is "place one before any number". It would seem to me that
this kind of a rule could be used in all the examples you gave.

It doesn't handle the hanging "real" word problem, but at least it won't
separate "January 3, 2005" onto two lines.

HTH,
Todd

-----Original Message-----
From: owner-xep-support@renderx.com
[mailto:owner-xep-support@renderx.com] On Behalf Of Jose Maria Sanchez
de Ocana
Sent: Friday, February 03, 2006 12:33 PM
To: xep-support@renderx.com
Subject: Fwd: [xep-support] Orphans & widows at the line break level

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@flir.se>
Date: Feb 3, 2006 6:15 PM
Subject: RE: [xep-support] Orphans & widows at the line break level
To: xep-support@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@renderx.com on behalf of Jose Maria Sanchez de
Ocana
Sent: Fri 2006-02-03 17:20
To: xep-support@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@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@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
Received on Fri Feb 3 10:20:37 2006

This archive was generated by hypermail 2.1.8 : Fri Feb 03 2006 - 10:20:38 PST