AW: [xep-support] Hyphenation of dutch language

Peter Kester peter.kester at daidalos.nl
Wed Feb 23 00:26:00 PST 2005


Hello David,

But that means I have to catch every occurrence of the word 's-Gravenhagen
and change it accordingly. I was looking for a way to code it into the
specified hyphen.xml file so that the hyphenation algoritme takes care of
this.
How can I accomplish this?

Regards,

Peter

-----Original Message-----
From: owner-xep-support at renderx.com
[mailto:owner-xep-support at renderx.com]On Behalf Of David Tolpin
Sent: woensdag 23 februari 2005 9:01
To: xep-support at renderx.com
Subject: Re: AW: [xep-support] Hyphenation of dutch language



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

> Peter,
>
> you can prevent hyphenation by inserting the character  (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 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/tos.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/tos.html



More information about the Xep-support mailing list