Re: [xep-support] preventing line breaks before punctuation

From: Geoff Levner <>
Date: Sat Oct 28 2006 - 06:23:12 PDT

Yes, they do. But we want the formatting to work on straight text,
without requiring the user to enter any special characters. For now
we solve the problem with an XSLT stylesheet which inserts non-
breaking space characters wherever it finds a space followed by a
colon, semicolon, question mark or exclamation point. But that's a
kludge: it's inefficient, and it won't work if the space is separated
from the punctuation mark by an XML tag. It seems to me this should
be the rule for line breaking when the language is French, or there
should at least be a way to make it the rule.

On 28 Oct 2006, at 14:35, Emmanuel Begue wrote:

> Hi,
> Wouldn't non-breakbable spaces work?
> <xsl:value-of select="'&#160;'"/>
> Regards,
> EB
>> -----Original Message-----
>> From:
>> []On Behalf Of Geoff Levner
>> Sent: Saturday, October 28, 2006 1:29 PM
>> To:
>> Subject: [xep-support] preventing line breaks before punctuation
>> In French, punctuation characters like the colon and semicolon are
>> separated from the preceding word by a space. (Par exemple : noter
>> l'espace.) But the word and the colon following it should never be
>> put on separate lines.
>> Does anybody know of a way to prevent XEP from inserting line breaks
>> before an isolated colon or semicolon?
>> Thanks,
>> Geoff
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Sat Oct 28 06:29:47 2006

This archive was generated by hypermail 2.1.8 : Sat Oct 28 2006 - 06:29:48 PDT