From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86299 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Euler with fallback Date: Sun, 16 Feb 2014 19:29:39 +0100 Message-ID: References: <87ha7zgfwk.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392575389 11185 80.91.229.3 (16 Feb 2014 18:29:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Feb 2014 18:29:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 16 19:29:59 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WF6TW-0002AA-Lg for gctc-ntg-context-518@m.gmane.org; Sun, 16 Feb 2014 19:29:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F24B3101E2; Sun, 16 Feb 2014 19:29:57 +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 W0ugKvIbLWxy; Sun, 16 Feb 2014 19:29:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9C4B6101E3; Sun, 16 Feb 2014 19:29:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0B6C101E3 for ; Sun, 16 Feb 2014 19:29:54 +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 MZtrHChg9YC6 for ; Sun, 16 Feb 2014 19:29:53 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id E56A8101E2 for ; Sun, 16 Feb 2014 19:29:43 +0100 (CET) Original-Received: from mail-ee0-x22f.google.com (mail-ee0-x22f.google.com [IPv6:2a00:1450:4013:c00::22f]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1GIThU9013200 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 16 Feb 2014 19:29:43 +0100 Original-Received: by mail-ee0-f47.google.com with SMTP id d49so6583870eek.6 for ; Sun, 16 Feb 2014 10:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ZqQkPkRsjuN8+Q3MD87sxBOqQ8rOpdWZ7HPKzxx1C5o=; b=ZGh3G4XK/Pti7bPfYDKCz9S6JvDVE3NotQNhEMioMg7ukKN0BUP9MtUsOXhQycUsNp swSjo1WRYq0CV1hzvzfe5ea8ExpTc+igWwW9scHCTxexqUfieNwgNUnkSo3hojX2nDpy lvbgV8oKjRNdGltXANJobhGTvPQ4+W62jQmKwcjMfqP3OwD8aHqfGensBMmv+sSVOkpn 2RZPrpErxABpH3CyVtwj1R6uVPT8Ba7LmaoPk8uJyUchF4s7qrTxmwuswC/+xlE9+/wZ eh26neEd1DXk8WL5D9cH70y2Y4yXGNcTzH6MQQ2Ktshg5/9eMGb9DJKVOaUWPBGtl0OH UtuQ== X-Received: by 10.15.65.68 with SMTP id p44mr15870304eex.63.1392575383153; Sun, 16 Feb 2014 10:29:43 -0800 (PST) Original-Received: from keima.localdomain (x2f2195b.dyn.telefonica.de. [2.242.25.91]) by mx.google.com with ESMTPSA id f45sm47462550eeg.5.2014.02.16.10.29.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Feb 2014 10:29:41 -0800 (PST) In-Reply-To: <87ha7zgfwk.fsf@approx.mit.edu> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Lr6tHjG - d069d43dae57 - 20140216 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86299 Archived-At: Am 16.02.2014 um 17:51 schrieb Sanjoy Mahajan : > Aditya Mahajan writes: > >> This is to announce that the latest beta supports creating virtual math >> fonts with fallback. The main test case is to use Euler font with missing >> characters taken from Pagella but the mechanism is general and can be used >> to replace a specific set of math glyphs from a font. >> >> This feature is not extensively tested. As such it will be useful if >> everyone interested in math fallback mechanism could test this out and >> report any bugs or inconsistencies. > > I would like to test and hopefully use this setup for _Street-Fighting > Science and Engineering_. It should also give the setup a thorough > workout. But I can't quite get the preamble right. > > The test file below typesets text and math in palatino. > > \usetypescriptfile[euler-with-pagella] You have to load the typescript file for euler. > \definebodyfontenvironment[10.5pt] > \setupbodyfont[palatino,10.5pt] When you use the palatino typeface context uses only the pagella math fonts. To use palatino as text font and euler for math you have to create your own typeface collection: \usetypescriptfile[euler] \definetypeface [mainface] [rm] [serif] [pagella] [default] \definetypeface [mainface] [tt] [mono] [dejavu] [default] [rscale=0.9] \definetypeface [mainface] [mm] [math] [pagellaovereuler] [default] \setupbodyfont[mainface,10.5pt] \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal] \starttext \input knuth \startplaceformula \startformula a^2 + b^2 = c^2. \stopformula \stopplaceformula \stoptext 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 ___________________________________________________________________________________