From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17234 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Fonts switching and styles .. Date: Tue, 23 Nov 2004 11:32:10 +0100 Message-ID: <41A311AA.2010205@boede.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.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 1101206058 4259 80.91.229.6 (23 Nov 2004 10:34:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 10:34:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 11:33:59 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 1CWXzj-0007bO-00 for ; Tue, 23 Nov 2004 11:33:59 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91F2C127A3; Tue, 23 Nov 2004 11:33:58 +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 29202-01; Tue, 23 Nov 2004 11:33:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41519127A9; Tue, 23 Nov 2004 11:32:10 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 46FBF127A9 for ; Tue, 23 Nov 2004 11:32:09 +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 28949-10 for ; Tue, 23 Nov 2004 11:32:08 +0100 (CET) Original-Received: from smtp-vbr9.xs4all.nl (unknown [194.109.24.29]) by ronja.ntg.nl (Postfix) with ESMTP id A2076127A3 for ; Tue, 23 Nov 2004 11:32:08 +0100 (CET) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr9.xs4all.nl (8.12.11/8.12.11) with ESMTP id iANAW87u027899 for ; Tue, 23 Nov 2004 11:32:08 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner 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:17234 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17234 Hi Dirar, What you have is apparently different already defined typefaces. So use switchtoypeface to change from karat to opulent. Then switchtobodyfont[karat,12pt] or whatever. You can not use the command definebodyfont in the way you do. For details for this command please refer to the manual mfonts.pdf Willi Dirar BOUGATEF wrote: > 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. > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context