From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20213 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: font encodings Date: Thu, 05 May 2005 13:00:00 +0200 Message-ID: <4279FCB0.30500@wxs.nl> References: <55090c5a9cfed26a3048f44750668edd@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115290468 2480 80.91.229.2 (5 May 2005 10:54:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 10:54:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 05 12:54:25 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTdz4-0003kf-Gz for gctc-ntg-context-518@m.gmane.org; Thu, 05 May 2005 12:53:34 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B88201281E; Thu, 5 May 2005 13:00:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09128-05-2; Thu, 5 May 2005 13:00:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4FD41127BE; Thu, 5 May 2005 13:00:07 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E939127BE for ; Thu, 5 May 2005 13:00:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09128-05 for ; Thu, 5 May 2005 13:00:05 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 7503A1276F for ; Thu, 5 May 2005 13:00:05 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j45B02kq031078; Thu, 5 May 2005 13:00:02 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 37842246D2; Thu, 5 May 2005 12:35:22 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id 360CE2449F; Thu, 5 May 2005 10:35:20 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users , Taco Hoekwater In-Reply-To: <55090c5a9cfed26a3048f44750668edd@uni-bonn.de> X-Virus-Scanned: ClamAV 0.83/868/Wed May 4 18:35:19 2005 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20213 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20213 Thomas A.Schmitz wrote: > I want to use a custom font encoding (in my case, enco-agr for ancient > Greek). I can't set it up for the entire document because it breaks, > e.g., the output of accented letters. But when I try to use it for > certain parts of the document only, it will insert a line break whenever > it is used. So my question: is it possible to switch font encoding in > mid-paragraph? no problem, since font encodings are bound to fonts, not paragraphs; however, you need to keep in mind that hyphenation is related to the font encoding as well as the language; when a paragraph is converted to a list, it's known what font is used and the character codes are resolved (i.e. when mixing two font encodings \"e may have resulted in a reference to slot 123 in fontA and slot 231 in fontB which then may give funny hyphenation problems; so, when one language is chose, you may end up with greek hyphenated in for instance the german way when slots match those in the hyphenation patterns); taco may shed more light on what exactly happens when mixing languages paragraphs 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.com | www.pragma-pod.nl -----------------------------------------------------------------