From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54690 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Simplefonts and math fonts Date: Tue, 24 Nov 2009 14:48:44 +0100 Message-ID: References: <20091124131338.GA5353@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259070548 11038 80.91.229.12 (24 Nov 2009 13:49:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 13:49:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 24 14:48:59 2009 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 1NCvlL-0006We-9u for gctc-ntg-context-518@m.gmane.org; Tue, 24 Nov 2009 14:48:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04196C9AAF; Tue, 24 Nov 2009 14:46:14 +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 xfWSdgS-LuOq; Tue, 24 Nov 2009 14:46:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5E9AC9AB7; Tue, 24 Nov 2009 14:46:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 51932C9AB7 for ; Tue, 24 Nov 2009 14:46:06 +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 7qyMpT-i75Dt for ; Tue, 24 Nov 2009 14:46:04 +0100 (CET) Original-Received: from mail-bw0-f218.google.com (mail-bw0-f218.google.com [209.85.218.218]) by balder.ntg.nl (Postfix) with ESMTP id DFF0EC9AAA for ; Tue, 24 Nov 2009 14:46:03 +0100 (CET) Original-Received: by bwz10 with SMTP id 10so6808219bwz.15 for ; Tue, 24 Nov 2009 05:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=fIvUG+LwyMXIDsNBFiA5T3LknE/K12bFBu/0DiBArFw=; b=dKuFJmEoSfiuh0Sv9xXWWclR7zKMJiBgGXvk2mtZU/63KIkot3v+lvGnODCrr43Ik5 AO8K8lW4i7f2ryaGWskaWWwK0jWlu6c0UpLtYXSAqwp8IsqYzZpVyrVoDNV0bhynsNex VPmpI/6E0Y1jawDm9ifShmdroymXLp26MPhOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=P8cRSPA9IllcqEDjtoa7CrrPnUbUkcgh9V3dPnJI5VmTFUpVe2b+THedkn38j49koQ PxvIJiCMIrhW592TUwf+rl5v1mnu99t54YsoN0P8M/UxkpkfrNROsMfjTWgnrB6kBiI8 Ge0lKzCDQYbiaqx/ju/Tc90Gxgio1/fGiVKpc= Original-Received: by 10.204.2.199 with SMTP id 7mr6125438bkk.160.1259070527728; Tue, 24 Nov 2009 05:48:47 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B2931E2.dip.t-dialin.net [91.41.49.226]) by mx.google.com with ESMTPS id 15sm1399578bwz.4.2009.11.24.05.48.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Nov 2009 05:48:46 -0800 (PST) In-Reply-To: <20091124131338.GA5353@khaled-laptop> X-Mailer: Apple Mail (2.1077) 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:54690 Archived-At: Am 24.11.2009 um 14:39 schrieb Khaled Hosny: > Though there is a \setmathfont command, it doesn't seem to work. The > following example still typeset in LM. > > \usemodule[simplefonts] > \setmathfont[Asana Math] > \starttext > $\sqrt{x+y}=z$ > \stoptext > > Any idea? For math fonts only typescripts are loaded and the typescript name for 'Asana Math' is 'asana' (type-otf.mkiv) but when you add \definetypescriptsynonym[asanamath][asana] (I will include this line in the module) before \setmathfont your example will work. It works also without this line when you write \setmathfont[Asana]. 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 ___________________________________________________________________________________