From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55780 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: times new roman, arial and courier fonts Date: Sun, 24 Jan 2010 10:59:20 +0100 Organization: Message-ID: <4B5C19F8.1090308@googlemail.com> References: <4B5B0E65.6010106@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264359524 10396 80.91.229.12 (24 Jan 2010 18:58:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2010 18:58:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 24 19:58:36 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZ7fQ-00014s-3W for gctc-ntg-context-518@m.gmane.org; Sun, 24 Jan 2010 19:58:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC76EC9CEB; Sun, 24 Jan 2010 11:00:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id T6lbN0K7jO7Y; Sun, 24 Jan 2010 11:00:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8055DC9CD7; Sun, 24 Jan 2010 11:00:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7838C9CD7 for ; Sun, 24 Jan 2010 11:00:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mAbfhHK0V5SA for ; Sun, 24 Jan 2010 11:00:00 +0100 (CET) Original-Received: from fg-out-1718.google.com (unknown [72.14.220.156]) by balder.ntg.nl (Postfix) with ESMTP id A7689C9C88 for ; Sun, 24 Jan 2010 10:59:43 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so424639fga.2 for ; Sun, 24 Jan 2010 01:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YUUV4vBg54MHUG1RJaXnjjOUVlawNV80uxU11iHaaXM=; b=mhLQR+/Zi/HfohR3SQOU4rT0AVVD2S0mk9bZmDmV9+caAOc4fzYq8BcWu7dsV8jn1l XDbXXbIAVgVKvq33TLumqukSt019xePf7YB9Fdun3R8ryAOZrVfHuwdykgLa3dfD6hHV jZIQ0gm5PN+Ol8hMh4EuF3anK6Zptgb9gEotk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=OlaAPw+or/4J0RPTu19G6QrCpoTCGMeZbReLwTFIUf2L7ZTbjLQVh9hFgZHcVeSLgY xvls+OXU5EtLM9xYCiIHRJS9NnPqEXQtfN9u8h88yrsZafuLHU04+PO2k6+DXUGvbduw fJpR/F4hIFakaAcH2EMd6e8f/T+x9ljgjKqRs= Original-Received: by 10.87.72.8 with SMTP id z8mr5395981fgk.37.1264327164454; Sun, 24 Jan 2010 01:59:24 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B296948.dip.t-dialin.net [91.41.105.72]) by mx.google.com with ESMTPS id e11sm10383049fga.4.2010.01.24.01.59.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Jan 2010 01:59:23 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55780 Archived-At: Am 23.01.10 20:22, schrieb Marius: > The solution to my question is: > > \usetypescriptfile[type-win] > \starttypescript [winfonts] > \definetypeface [winfonts] [rm] [serif] [times] [default] > \definetypeface [winfonts] [ss] [sans] [arial] [default] > \definetypeface [winfonts] [tt] [mono] [courier] [default] > \definetypeface [winfonts] [mm] [math] [times] [default] > \stoptypescript > \usetypescript[winfonts] > \setupbodyfont[winfonts,10pt] There is another way to do this in MkIV. \definetypeface[winfonts][rm][specserif][Times New Roman][default] \definetypeface[winfonts][ss][specsans] [Arial] [default] \definetypeface[winfonts][tt][specsmono][Courier] [default] \definetypeface[winfonts][mm][math] [times] [default] \setupbodyfont[winfonts] The third argument is one of the three keywords specserif, specsans or specmono and the fourth is the familyname of the font. You could use spaces and uppercase letters in the familyname because ConTeXt takes care of this and removes them itself in the definition, this system is build on top of the new spec-Interface for fonts. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________