From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13175 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: Question on \setupencoding[default=ec] Date: Wed, 10 Sep 2003 18:50:03 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1063212983 32731 80.91.224.253 (10 Sep 2003 16:56:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 16:56:23 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 10 18:56:21 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19x8GT-00067V-00 for ; Wed, 10 Sep 2003 18:56:21 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 336D210B98; Wed, 10 Sep 2003 18:56:17 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by ref.ntg.nl (Postfix) with ESMTP id E252810B5C for ; Wed, 10 Sep 2003 18:50:07 +0200 (MEST) Original-Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19x8AQ-0004lC-00 for ntg-context@ntg.nl; Wed, 10 Sep 2003 18:50:06 +0200 Original-Received: from [62.72.92.84] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19x8AQ-0004XF-00 for ntg-context@ntg.nl; Wed, 10 Sep 2003 18:50:06 +0200 Original-Received: from [192.168.1.2] (helo=schnee.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 19x8AP-0000re-00 for ; Wed, 10 Sep 2003 18:50:05 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id h8AGo37j002353 for ; Wed, 10 Sep 2003 18:50:03 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h8AGo3Je002352; Wed, 10 Sep 2003 18:50:03 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: (Steffen Wolfrum's message of "Wed, 10 Sep 2003 16:39:23 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13175 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13175 Hello Steffen, > I have re-read the mailings in the archive concerning proper > hyphenation and I saw that it is a known problem to have hyphenation > in words containing cedilla, accent or umlaut. Right.=20 > As it is solved in LaTeX with the [T1]{fontenc} package some people > wrote that in ConTeXt the equivalent should be: > > \setupencoding[default=3Dec] not quite. This does not really do anything, except storing the defaultencoding. (see enco-ini.tex) > But that's not true (at least for german Umlaute). try this: (you need to setup your regime again) \mainlanguage[de] \enableregime[il1] \showhyphens{Bohrt=FCrme} % 1 \setupencoding[default=3Dec] \usetypescript [all][computer-modern][\defaultencoding] \starttext \showhyphens{Bohrt=FCrme} %2 \switchtobodyfont[cmr] %3 \showhyphens{Bohrt=FCrme} %4 \showhyphens{alter} \showhyphens{fr=FCher} \stoptext %1 is not surprising: /cmr10/Bohrt^^?urme. Awful. %2 is slightly surprising (/ecrm1000/Bohrt^^?urme), because one would not expect to have to reload cmr again and it looks as if ecrm is loaded. But when you start using text here, no font switch takes place. %3 is the necessary step to enable ec font. %4 is what you want: /ecrm1000/Bohr-t=FCr-me. But don't ask me why %2 displays what it does. I expected something like /cmr10/Bohrt^^?urme. Patrick --=20 Silent is the goldfish in its bowl