Re: Features needed for high-end DTP apps



Joaquín Cuenca Abela <cuenca pacaterie u-psud fr> writes:

> yes.  If I remember right, german people have keep using a special macro
> to get these words rightly hyphenated with TeX.  The TeXBook

Yes, they use the primitive \discretionary like this:

        ba\discretionary{ck}{k-}{k}en

(Babel defines the shortcut "ck to do this).

Speaking of hyphenation, one other thing that would be useful is
recognizing compound words. German and other languages create new
words by juxtaposing existing words, and it would be useful if the
hyphenation algorithm could recognize this, so that the line-break
algorithm could favor hyphenation at the compound point over
hyphenation in the middle of one of the compounded words.

Søren



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]