From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17219 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Fonts switching and styles .. Date: Mon, 22 Nov 2004 20:42:16 +0100 Message-ID: <41A24118.8090101@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 1101152558 18189 80.91.229.6 (22 Nov 2004 19:42:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2004 19:42:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 22 20:42:23 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 1CWK4s-0005Dr-00 for ; Mon, 22 Nov 2004 20:42:22 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88BD8127A7; Mon, 22 Nov 2004 20:42:21 +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 23172-02; Mon, 22 Nov 2004 20:42:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C620012795; Mon, 22 Nov 2004 20:42:17 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F09C412795 for ; Mon, 22 Nov 2004 20:42:16 +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 23025-07-3 for ; Mon, 22 Nov 2004 20:42:16 +0100 (CET) Original-Received: from smtp-vbr3.xs4all.nl (unknown [194.109.24.23]) by ronja.ntg.nl (Postfix) with ESMTP id 5570B12792 for ; Mon, 22 Nov 2004 20:42:16 +0100 (CET) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr3.xs4all.nl (8.12.11/8.12.11) with ESMTP id iAMJgFkH002471 for ; Mon, 22 Nov 2004 20:42:16 +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:17219 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17219 Hi Dirar, I is not enough to give the commands which typescripts/files to use, you must setup first a bodyfont and then switch to other fonts Dirar BOUGATEF wrote: > i have tried this, and leads to: > > bodyfont : unknown variant MyFont > > \usetypescriptfile[karat-type] > \usetypescript[karat] > > \usetypescriptfile[opulent-type] > \usetypescript[opulent] > > \usetypescript [sans][karat][map,name] > \definefont[MyFont][karat] > \definetypeface [Dirar] [rm] [serif] [times] [default] \definetypeface [Dirar] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [Dirar] [tt] [mono] [courier] [default] [rscale=1.1] \definetypeface [Other] [rm] [serif] [other-times] [default] \definetypeface [Other] [ss] [sans] [other-helvetica] [default] [rscale=.9] \definetypeface [Other] [tt] [mono] [other-courier] [default] [rscale=1.1] \starttext \switchtotypeface[Dirar][ss,12pt] MAdame, Monsieur switchtotypeface[Other][rm,12pt] Madame, Monsieur \stoptext I hope this will solve the question Willi > \starttext > \switchtobodyfont[karat] > Madame, Monsieur > > \switchtobodyfont[opulent] > Madame, Monsieur > > \switchtobodyfont[MyFont] > Madame, Monsieur > \stoptext > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context