ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: German hyphenation patterns
Date: Mon, 05 Dec 2005 12:28:45 +0100	[thread overview]
Message-ID: <4394246D.9030107@wxs.nl> (raw)
In-Reply-To: <D6914839-8496-4586-814C-740AB651B6EE@uni-bonn.de>

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

  parent reply	other threads:[~2005-12-05 11:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 10:47 Thomas A. Schmitz
2005-12-02 15:42 ` Tobias Burnus
2005-12-02 15:53   ` Thomas A.Schmitz
2005-12-02 16:33     ` Hans Hagen
2005-12-05 11:28 ` Hans Hagen [this message]
2005-12-05 13:41   ` Thomas A. Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2003-11-21 23:32 german " Patrick Gundlach
2003-11-22  0:00 ` Hans Hagen
2003-11-22  0:17   ` Patrick Gundlach
2003-11-23 13:33   ` Thomas A.Schmitz
2003-11-25  8:53     ` Hans Hagen
2003-11-30  0:47 ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4394246D.9030107@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).