Aw: Ambiguous hyphenation cases with

From: Jörg Knappen <>
Date: Thu, 24 Jul 2014 09:15:43 +0200
With TeX and LaTeX there is an elegant solution.
TeX has the primitive \discretionary{prebreak}{postbreak}{nobreak}, which spells out like
for the insertion of an additional t at hyphenation. It also handles cases like the traditional german hyphenation
of ck as k-k with
The Babel system (inspired by german.sty) includes nifty shorthands like "t and "c for this cases.
The semantics of U+00AD (SOFT HYPHEN) is too primitive to implement this kind of behaviour, the same is true for &shy; in HTML.
--Jörg Knappen
Gesendet: Dienstag, 22. Juli 2014 um 16:03 Uhr
Von: fantasai <>
An: "Håkan Save Hansson" <>, "" <>, Unicode <>
Betreff: Ambiguous hyphenation cases with
On 05/12/2014 12:43 AM, Håkan Save Hansson wrote:
> Hi fantasai,
> Regarding your answer to my second suggestion (if you are referring
> to James Clarks first answer):
> The problem is that the hyphenation system in itself can't decide how
> to change the spelling, without any "dictionary" functionality. It
> can't know if I meant "mat-tjuv" ("food thief" in Swedish) or "matt-tjuv"
> ("carpet thief") when I wrote "mat&shy;tjuv". So there has to be a way
> to tell the hyphenation system that.

Hm. I don't think I have a solution for that problem. :/ Currently you'd
just have to not hyphenate that word.

CCing Unicode, in case anyone there has a solution


Unicode mailing list

Unicode mailing list
Received on Thu Jul 24 2014 - 02:18:46 CDT

This archive was generated by hypermail 2.2.0 : Thu Jul 24 2014 - 02:18:46 CDT