Re: AW: [xep-support] Hyphenation of dutch language

From: David Tolpin <dvd@davidashen.net>
Date: Wed Feb 23 2005 - 00:00:50 PST

On 23.02.2005, at 11:28, Geyrecker Andreas wrote:

> Peter,
>
> you can prevent hyphenation by inserting the character &#xFEFF; (ZERO
> WIDTH NO-BREAK SPACE)
> eg. s-#xFEFF;Gravenhage
>

#xFEFF is UTF BOM, and its use as ZWNBS is deprecated, isn't it?
Besides, it never was for this purpose. You meant zero-width joiner,
but it is not handled by XEP either.

What you actually need is to put every word you don't want to hyphenate
  into a keep-together="always" inline. Hyphen is not a word character,
when XEP meets it in unrestricted context, it can break the line on it.
To keep 's-' together with Gravenhage, you need

<inline keep-with-next.within-line="always">s-</inline>Gravenhage; to
override rules for Granvehage, include it into the list of exceptions
in the hyphenation table. Simple and straightforward, just say in XSL
FO what you want to get.

David

-------------------
(*) 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/tos.html
Received on Wed Feb 23 00:25:35 2005

This archive was generated by hypermail 2.1.8 : Wed Feb 23 2005 - 00:25:36 PST