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

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


Hello, Todd
Those were actually examples that don't cover all real cases. How
about "I was born in december 1st" ? I just don't want that "1st" to
be an orphan.
Thanks,
Jose


On 2/3/06, Powell, Todd <Todd.Powell at hq.doe.gov> wrote:
> 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 at renderx.com
> [mailto:owner-xep-support at renderx.com] On Behalf Of Jose Maria Sanchez
> de Ocana
> Sent: Friday, February 03, 2006 12:33 PM
> To: xep-support at 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 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
>
>
> -------------------
> (*) 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