From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55773 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 18:06:33 +0100 Organization: Message-ID: <4B5C7E19.70409@googlemail.com> References: <4B5C5A03.20402@gmail.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 1264356255 32489 80.91.229.12 (24 Jan 2010 18:04:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2010 18:04:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 24 19:04:05 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1NZ6of-000895-Ek for gctc-ntg-context-518@m.gmane.org; Sun, 24 Jan 2010 19:04:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45E4BC9DB9; Sun, 24 Jan 2010 18:07:44 +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 QKZM58Uad1a6; Sun, 24 Jan 2010 18:07:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47054C9DD3; Sun, 24 Jan 2010 18:07:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAFA9C9DD3 for ; Sun, 24 Jan 2010 18:07:34 +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 wcr+04SP+FWO for ; Sun, 24 Jan 2010 18:07:12 +0100 (CET) Original-Received: from mail-fx0-f218.google.com (unknown [209.85.220.218]) by balder.ntg.nl (Postfix) with ESMTP id C283AC9DB9 for ; Sun, 24 Jan 2010 18:06:56 +0100 (CET) Original-Received: by fxm10 with SMTP id 10so381672fxm.14 for ; Sun, 24 Jan 2010 09:06:36 -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=RZt5ySgiLciS/QqiNCsUxlCCogvHhCzBuIiZT85Uon0=; b=VOwWiLPoNBjdVjPyDdNwt+5eqtn8pGQtltq2t+bIVB9bpxcQEH9ZtQ1VQo4jXJXzIc PtUO41+DhajjPlA/bxJZWUxZoXCqXtgOV8gShWTY8vlzwSYrVsmejohTse+6pmrBRGJW 89+fkmfMwbs24Xac3B6pYLiYMTiVY5ErUAOWY= 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=bQ1FnA+ULm7Nwu3d1FbAsnHLWvV/8yNehMQC5LGEKuKabDSZ1RFOCj1UTzgHM9zaNR VMFhSvqer67f/5hUDdtH2m1VGGWQBvK0hPIkIc0v8/x/vU6nD4FOAtIy3Ouxee4Jgr73 t+vPoWRVDjojogJehT7mkgaO+sej9lxYzv6aI= Original-Received: by 10.87.54.5 with SMTP id g5mr3181286fgk.78.1264352796122; Sun, 24 Jan 2010 09:06:36 -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 d8sm9002911fga.3.2010.01.24.09.06.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Jan 2010 09:06:35 -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: <4B5C5A03.20402@gmail.com> 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:55773 Archived-At: Am 24.01.10 15:32, schrieb Vyatcheslav Yatskovsky: >> \definetypeface[winfonts][rm][specserif][Times New Roman][default] > > What a gift for me ant other ConTeXt users! What's is even better is the underlying system. With XeTeX and LuaTeX you can load font either by the filename (file:...) or the fontname (name:...) but since the end of last year there is a new system for MkIV. I call the system the spec-interface and it let you load a font by its familyname and value for the weight and style. The syntax for the spec-interface is: spec:--- A example how you can use this load 'Times New Roman Regular' is spec:timesnewroman-normal-normal for 'Times New Roman Italic' the definition is spec:timesnewroman-normal-italic and for 'Times New Roman Bold Italic' it is spec:timesnewroman-bold-italic As you can see in the definiton above where I left the 'fontwidth' out the value for fontweight, fontstyle and fontwidth are optional. Another example for the spec-interface was shown by Hans a while ago: http://archive.contextgarden.net/message/20091120.123832.8f76eed2.en.html 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 ___________________________________________________________________________________