From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1029 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt german hyphenation Date: Sun, 17 Oct 1999 23:45:15 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <380A517B.BE36552D@wxs.nl> References: <3809C967.E8CEC805@t-online.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035391871 29197 80.91.224.250 (23 Oct 2002 16:51:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:51:11 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Peter Willadt Xref: main.gmane.org gmane.comp.tex.context:1029 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1029 Peter Willadt wrote: > when hyphenating german texts, context seems to fail on words containing > the umlauts (äöü). With LaTeX, hyphenation works. Somehow this reminds > me of oldtime TeX (I know, accented letters do introduce explicit kerns, > and TeX never hyphenates at an explicit kern, but after all I type an > eight-bit character and also an eight-bit character is typeset, I > thought). > > Here is an example (have I made something wrong in my setup?): > > \starttext > \useencoding[win] > \setupoutput[pdftex] > \setupbodyfont[ber, ptm] > \mainlanguage[de] > \de > \showhyphens{Altenpflegeschülerinnen} > \stoptext > > TeX then says Al-ten-pfle-geschülerinnen > > With LaTeX, TeX says Al-ten-pfle-gesch[]ule-rin-nen, which is much > better, it misses only two possible breaks. As I guess that ConTeXt uses > the same hyphenation table as LaTeX does, this is quite astonishing to > me. Some remarks in addition to what Tobias already responded: If I'm right, the [] in the latex example demonstrates that no eight bit is used at all, but indicates that something boxed is present there. I just ran (windows encoding, so therefore \useencoding[ibm]): \useencoding[ibm] \setupbodyfont[ptm] \mainlanguage[de] \de \showhyphens{Altenpflegeschülerinnen} \hyphenatedword{Altenpflegeschülerinnen} \stoptext shows no [] but something 8 bit. Anyway, I'll have a look at it, maybe something goes wrong with loading the patterns. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------