ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: ConTeXt german hyphenation
Date: Sun, 17 Oct 1999 23:45:15 +0100	[thread overview]
Message-ID: <380A517B.BE36552D@wxs.nl> (raw)
In-Reply-To: <3809C967.E8CEC805@t-online.de>

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
-----------------------------------------------------------------


  parent reply	other threads:[~1999-10-17 22:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-17 13:04 Peter Willadt
1999-10-17 13:39 ` Tobias Burnus
1999-10-17 15:02   ` Peter Willadt
1999-10-18  0:12     ` Hans Hagen
1999-10-18  9:06     ` Taco Hoekwater
1999-10-17 22:45 ` Hans Hagen [this message]
1999-10-30 18:21 ` non-hyphenation Frans Goddijn
1999-10-31 22:08   ` non-hyphenation Hans Hagen
1999-11-01  6:13   ` non-hyphenation Berend de Boer

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=380A517B.BE36552D@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).