Re: [xep-support] Kinsoku support

From: Alexei Gagarinov <>
Date: Wed Sep 03 2008 - 07:30:44 PDT


> Is there a way in XEP to handle Japanese Kinsoku characters? That is,
> the rules for how to wrap Japanese text. Certain characters in Japanese
> should not come at the end of a sentence, certain characters should not
> come at the start of a sentence, and some characters should never be
> split up across two lines.

XEP does not break lines immediately before trailing punctuation
characters, closing brackets and quotes, small Katakana and Hiragana
characters, superscript characters, etc. and immediately after opening
brackets and quotes, Spanish leading punctuation, currency symbols, etc.

These are the part of rules of XEP's line-breaking algorithm.
(See for

You cannot add/remove "prohibited" characters to/from this algorithm,
but the existing rules cover the most "basic" cases of the Kinsoku Shori.

Best regards,
   Alexei Gagarinov

(*) 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 Wed Sep 3 08:22:53 2008

This archive was generated by hypermail 2.1.8 : Wed Sep 03 2008 - 08:22:55 PDT