From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17242 Path: main.gmane.org!not-for-mail From: "Dirar BOUGATEF" Newsgroups: gmane.comp.tex.context Subject: Re: Fonts switching and styles .. Date: Tue, 23 Nov 2004 14:10:28 +0000 Message-ID: References: <41A32DE3.1000105@creutzig.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1101219096 8830 80.91.229.6 (23 Nov 2004 14:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 14:11:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 15:11:19 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWbO2-0006zK-00 for ; Tue, 23 Nov 2004 15:11:18 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA0F0127A9; Tue, 23 Nov 2004 15:11:17 +0100 (CET) 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 30909-04-4; Tue, 23 Nov 2004 15:11:15 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03DFE127A5; Tue, 23 Nov 2004 15:11:15 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C5BB127A5 for ; Tue, 23 Nov 2004 15:11:14 +0100 (CET) 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 30909-04-3 for ; Tue, 23 Nov 2004 15:11:13 +0100 (CET) Original-Received: from hotmail.com (unknown [64.4.22.80]) by ronja.ntg.nl (Postfix) with ESMTP id 7A602127A3 for ; Tue, 23 Nov 2004 15:11:13 +0100 (CET) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 23 Nov 2004 06:11:01 -0800 Original-Received: from 82.226.175.122 by by23fd.bay23.hotmail.msn.com with HTTP; Tue, 23 Nov 2004 14:10:28 GMT X-Originating-IP: [82.226.175.122] X-Originating-Email: [chabah5@hotmail.com] X-Sender: chabah5@hotmail.com In-Reply-To: <41A32DE3.1000105@creutzig.de> Original-To: ntg-context@ntg.nl X-OriginalArrivalTime: 23 Nov 2004 14:11:01.0731 (UTC) FILETIME=[43301330:01C4D166] 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: main.gmane.org gmane.comp.tex.context:17242 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17242 Thanks Christopher, i have tried what you asked me but this didn't solve the problem. To me it was the right thing to do, but it looks like it is because my font is defined as a typeface collection that it does not work. I have tried \switchtotypeface instead as Willie said and this works fine. Now, i don't know where you got this command from, Willie (Thanks by the way :) ), cause it is nowhere in mfonts.pdf nor in cont-eni.pdf. Am really confused about the proper way to configure my fonts and use them, i know some trickeries but am not sure about the right way to do things. Question: >>From mfonts.pdf, it looks like there are 2 ways of configuring fonts after they are installed (page 9). 1. As a whole. 2. As a typeface collection. In my understanding, when a font is defined as a whole, you can use the following commands to play with your font: 1. \setupbodyfont 2. \definebodyfont 3. \setupfontsynonym 4. \definefontsynonym 5. \switchtobodyfont When it is defined as a collection of typefaces you have to use: 1. \definetypeface 2. \switchtotypeface Now, when to use each one is a mystery. Could anyone explain a bit more ? Thanks.