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: hyphenation and umlauts
Date: Mon, 16 Sep 2002 16:22:29 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020916162031.01ff7eb0@server-1> (raw)
In-Reply-To: <20020916151719.0d9e5dad.morawski@gmx.net>

At 03:17 PM 9/16/2002 +0200, you wrote:
>On Mon, 16 Sep 2002 11:37:33 +0200
>Hans Hagen <pragma@wxs.nl> wrote:
>
> > At 11:07 PM 9/14/2002 +0200, Jens-Uwe Morawski wrote:
> > >Thanks, but
> > >\hyphenation{Kriegs-ge-sch\adiaeresis-dig-te}
> > >
> > >gives
> > >! Improper \hyphenation will be flushed.
> > >\dobuildtextaccent #1#2->{
> > >                           \let \char \normalaccent #1\let \char
> > > \normalchar #2}
> > >l.5 \hyphenation{Kriegs-ge-sch\adiaeresis
> > >                                          -dig-te}
> > >?
> > >
> > >Any hints?
> >
> > hm, so it looks like you're in default encoding, not in 8 bit; how about
>
>Can you tell me, what i should do for 7-bit-encoding?
>
> > \setupbodyfont[ppl,10pt]
> > \hyphenation{...}
>
>This works, but i need CM-fonts and
>
> > \setupencoding[ec]
> > \hyphenation{...}
>
>still gives the error.

this is because hyphenation is only possible for 'pure chars' not for 
composed ones (i.e. composed by \accent or macros)

>BTW: Is there a difference between \setupencoding[ec] and
>   \setupencoding[default=ec]?

mostly the time it's set: \setupencoding does an immediate set, the default 
is just the fallback in case a font has no associated encoding (normally 
font switches will set the encoding)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


  reply	other threads:[~2002-09-16 14:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-11 18:50 Jens-Uwe Morawski
2002-09-14 19:04 ` Hans Hagen
2002-09-14 21:07   ` Jens-Uwe Morawski
2002-09-16  9:37     ` Hans Hagen
2002-09-16 13:17       ` Jens-Uwe Morawski
2002-09-16 14:22         ` Hans Hagen [this message]
2002-09-16 15:43           ` Jens-Uwe Morawski
2002-09-16 16:42             ` Hans Hagen
2002-09-16 20:29               ` Jens-Uwe Morawski
2002-09-17  7:58                 ` Hans Hagen
2002-09-17 10:08                 ` Marko Schütz
2002-09-17 12:33                   ` Jens-Uwe Morawski
2002-09-17 12:43                   ` Hans Hagen
2002-09-17 19:02                     ` Marko Schütz

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=5.1.0.14.1.20020916162031.01ff7eb0@server-1 \
    --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).