All, German orthography is a mess right now, we now have two sets of rules, old and new. New hyphenation is ugly and rules are constantly changing. I see that ConTeXt has lang-deo.pat, so I was hoping that this would produce "old" patterns, but it doesn't seem to work: \enableregime[utf] \mainlanguage[deo] \starttext \showhyphens{gestorben} \showhyphens{Bierdeckel} \showhyphens{äußerst} \stoptext gives me: Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] \*10ptrmtf* ge-stor-ben Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] \*10ptrmtf* Bier-de-ckel Underfull \hbox (badness 10000) in paragraph at lines 12--12 [] \*10ptrmtf* ‰u-ˇerst which is identical to \mainlanguage[de]. Patterns should be Bierdek- kel and ‰us-serst. Am I missing something, how can I enable "old" patterns? Thanks Thomas
Hi, Thomas A. Schmitz wrote:
German orthography is a mess right now, we now have two sets of rules, old and new. New hyphenation is ugly and rules are constantly changing. I see that ConTeXt has lang-deo.pat, so I was hoping that this would produce "old" patterns, but it doesn't seem to work Should work(TM).
\showhyphens{Bierdeckel} I may completely missunderstand the .pat files, but I think they only give rules where to hyphenate; thus with the current .pat system one can never get ck -> k-k.
LaTeX's german.sty and also ConTeXt provide "ck -> k-k "ll -> ll-l "ff ->ff-f (as in Bierde"ckel, Ro"lladen or Schi"ffahrt).
\showhyphens{äußerst} Underfull \hbox (badness 10000) in paragraph at lines 12--12 [] \*10ptrmtf* ‰u-ˇerst Hmm, my Duden of 1996 writes in black "au|ßerst" (= new & established spelling), which is in line what I remember. But I see \showhyphens{äußerstenfalls} be wrongly hyphenated; according to Duden it should be: äu|ßersten|falls (new spelling: äu|ßers|ten|falls). TeX hyphenates here (with deo = established spelling) between the s and the t.
Tobias
On Dec 2, 2005, at 4:42 PM, Tobias Burnus wrote:
LaTeX's german.sty and also ConTeXt provide "ck -> k-k "ll -> ll-l "ff ->ff-f (as in Bierde"ckel, Ro"lladen or Schi"ffahrt). Thank you, that was it!
Hmm, my Duden of 1996 writes in black "au|ßerst" (= new & established spelling), which is in line what I remember. But I see \showhyphens{äußerstenfalls} be wrongly hyphenated; according to Duden it should be: äu|ßersten|falls (new spelling: äu|ßers|ten|falls). TeX hyphenates here (with deo = established spelling) between the s and the t.
Yes, you're right again; I thought I remembered a rule that there should be no hyphenation in front of ß. But hyphenation between s-t is still there, and it shouldn't be in [deo]. Sorry we German- language-users have to bother everybody else with the mess we created. Thanks, and best Thomas
Thomas A.Schmitz wrote:
On Dec 2, 2005, at 4:42 PM, Tobias Burnus wrote:
LaTeX's german.sty and also ConTeXt provide "ck -> k-k "ll -> ll-l "ff ->ff-f (as in Bierde"ckel, Ro"lladen or Schi"ffahrt).
Thank you, that was it!
Hmm, my Duden of 1996 writes in black "au|�erst" (= new & established spelling), which is in line what I remember. But I see \showhyphens{�u�erstenfalls} be wrongly hyphenated; according to Duden it should be: �u|�ersten|falls (new spelling: �u|�ers|ten|falls). TeX hyphenates here (with deo = established spelling) between the s and the t.
Yes, you're right again; I thought I remembered a rule that there should be no hyphenation in front of �. But hyphenation between s-t is still there, and it shouldn't be in [deo]. Sorry we German- language-users have to bother everybody else with the mess we created.
since context ships with adapted patterns (i.e. generic ones that can be used in more than one encoding) we can add things, just figure it out and let me know Hans
Thomas A. Schmitz wrote:
All,
German orthography is a mess right now, we now have two sets of rules, old and new. New hyphenation is ugly and rules are constantly changing. I see that ConTeXt has lang-deo.pat, so I was hoping that this would produce "old" patterns, but it doesn't seem to work:
\enableregime[utf] \mainlanguage[deo]
\starttext
\showhyphens{gestorben}
\showhyphens{Bierdeckel}
\showhyphens{�u�erst}
\stoptext
gives me:
Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] \*10ptrmtf* ge-stor-ben
Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] \*10ptrmtf* Bier-de-ckel
Underfull \hbox (badness 10000) in paragraph at lines 12--12 [] \*10ptrmtf* �u-�erst
which is identical to \mainlanguage[de]. Patterns should be Bierdek- kel and �us-serst. Am I missing something, how can I enable "old" patterns?
(I assume that you loaded the patterns, i.e. texexec --make --all) hard to see; for ck to become k-k you need this active " mess: \usetypescript[modern][ec] \setupbodyfont[modern,11pt] \mainlanguage[deo] \hyphenation{Bier-de-ckel} \starttext \number\normallanguage \hyphenatedword{gestorben} \hyphenatedword{Bierdeckel} \hyphenatedword{Bierde"ckel} \stoptext
Cool, works now! Thanks Hans! On Dec 5, 2005, at 12:28 PM, Hans Hagen wrote:
Thomas A. Schmitz wrote:
All,
German orthography is a mess right now, we now have two sets of rules, old and new. New hyphenation is ugly and rules are constantly changing. I see that ConTeXt has lang-deo.pat, so I was hoping that this would produce "old" patterns, but it doesn't seem to work:
\enableregime[utf] \mainlanguage[deo]
\starttext
\showhyphens{gestorben}
\showhyphens{Bierdeckel}
\showhyphens{�u�erst}
\stoptext
gives me:
Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] \*10ptrmtf* ge-stor-ben
Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] \*10ptrmtf* Bier-de-ckel
Underfull \hbox (badness 10000) in paragraph at lines 12--12 [] \*10ptrmtf* �u-�erst
which is identical to \mainlanguage[de]. Patterns should be Bierdek- kel and �us-serst. Am I missing something, how can I enable "old" patterns?
(I assume that you loaded the patterns, i.e. texexec --make --all)
hard to see; for ck to become k-k you need this active " mess:
\usetypescript[modern][ec] \setupbodyfont[modern,11pt]
\mainlanguage[deo]
\hyphenation{Bier-de-ckel}
\starttext
\number\normallanguage
\hyphenatedword{gestorben}
\hyphenatedword{Bierdeckel}
\hyphenatedword{Bierde"ckel}
\stoptext
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (4)
-
Hans Hagen
-
Thomas A. Schmitz
-
Thomas A.Schmitz
-
Tobias Burnus