From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17229 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 07:53:24 +0000 Message-ID: References: <41A24118.8090101@boede.nl> 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 1101196478 12601 80.91.229.6 (23 Nov 2004 07:54:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 07:54:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 08:54:25 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 1CWVVJ-0006BM-00 for ; Tue, 23 Nov 2004 08:54:25 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 36B2412799; Tue, 23 Nov 2004 08:54:23 +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 27682-03; Tue, 23 Nov 2004 08:54:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D97481278F; Tue, 23 Nov 2004 08:54:20 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C3531278F for ; Tue, 23 Nov 2004 08:54:20 +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 27672-03 for ; Tue, 23 Nov 2004 08:54:19 +0100 (CET) Original-Received: from hotmail.com (unknown [64.4.22.70]) by ronja.ntg.nl (Postfix) with ESMTP id 7E6F01276C for ; Tue, 23 Nov 2004 08:54:19 +0100 (CET) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 22 Nov 2004 23:54:01 -0800 Original-Received: from 82.226.175.122 by by23fd.bay23.hotmail.msn.com with HTTP; Tue, 23 Nov 2004 07:53:24 GMT X-Originating-IP: [82.226.175.122] X-Originating-Email: [chabah5@hotmail.com] X-Sender: chabah5@hotmail.com In-Reply-To: <41A24118.8090101@boede.nl> Original-To: ntg-context@ntg.nl X-OriginalArrivalTime: 23 Nov 2004 07:54:01.0625 (UTC) FILETIME=[988DD090:01C4D131] 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:17229 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17229 Hi Willy, What i need is to have a synonym for the font Dirar you defined, how do i have to proceed? I have tried the following: (Am gonna use my fonts names as i started the subject with) \starttypescript [karat] \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi] \stoptypescript \usetypescriptfile[karat-type] \usetypescript[karat] \definebodyfont[MyFont][karat] \starttext \switchtobodyfont[MyFont] \stoptext This leads to the error: bodyfont : unknown variant MyFont Do you see any problem here ? Many thanks. Dirar.