From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76088 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: switching to a different math font (with alternatives) in the middle of document Date: Thu, 10 May 2012 02:29:28 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336609777 12125 80.91.229.3 (10 May 2012 00:29:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 May 2012 00:29:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 10 02:29:37 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSHGB-0005u1-Lx for gctc-ntg-context-518@m.gmane.org; Thu, 10 May 2012 02:29:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C20C101CF; Thu, 10 May 2012 02:29:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UrT8VAPnzK2g; Thu, 10 May 2012 02:29:33 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E67D101E2; Thu, 10 May 2012 02:29:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3050E101E2 for ; Thu, 10 May 2012 02:29:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hMjpve+gqMmD for ; Thu, 10 May 2012 02:29:30 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id F1950101CF for ; Thu, 10 May 2012 02:29:29 +0200 (CEST) Original-Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q4A0TS85029235 for ; Thu, 10 May 2012 02:29:29 +0200 Original-Received: by qafl39 with SMTP id l39so1119062qaf.2 for ; Wed, 09 May 2012 17:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2SaCFOt+ly9k1pTrDOC4OuFs27IQ7VWDZ7pz/+TuES8=; b=a2neCk9acl3brWVYsJ5alAp/JD9xdow5NEgBbagR/hmicO303yd/f6I4a7n8GxgD2T cXuycAUWijgjbW313uTX95rZYh/ZxEtCsUmS46v/KTMN99pz6lPpKe06em0YbYO2C3Yg UlKdJT4vBwDAt/wzVaBEG++3mVvOTchMHoo17vb/DjX8mgXEDlW7h/TKjnTzqVIA6bAh POQBrlIv+zYYt/pctakHesZqXXxChTMrgPASGnTmwSAbfh0O089s9WUZl2mqgcn/jZIP e5MK7pc4pTIqnFSrG//UTZ0PWgjfTjJd0OJbAn/VRy8CxodePMvpbNnfoP9OkodnYExX 0nEw== Original-Received: by 10.224.106.131 with SMTP id x3mr8619273qao.23.1336609768258; Wed, 09 May 2012 17:29:28 -0700 (PDT) Original-Received: by 10.229.100.83 with HTTP; Wed, 9 May 2012 17:29:28 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.50; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aH80tttn - 2dff50c7cb33 - 20120510 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:76088 Archived-At: On Thu, May 10, 2012 at 2:25 AM, Mojca Miklavec wrote: > Hello, > > I'm just wonderding if there is a way to switch to an OpenType Math > font (referred to by name or filename, without any predefined > typescript) with some stylistic alternative in the middle of the > document, like in the LaTeX example: > > running text ... \setmathfont[Scale=0.86,StylisticSet=4]{Lucida Bright > Math OT} $\mathcal{ABC XYZ}$~(StylisticSet=4) ... > running text ... \setmathfont{Asana Math} $\mathfrak{ABC XYZ\,abc xyz}$ > > or do I always need to provide a predefined typescript? How does one > switch between stylistic alternatives for math? > > I have a problem with {\switchtobodyfont[asana] $\mathscript ABC > XYZ\,abc xyz$} and I also need to figure out how to get "math bold > italic sans serif greek alphabet". Any hints welcome. PS: I forgot to send "a minimal example". Here it is :) http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/math-test-alphabet.tex http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/math-test-alphabet.pdf Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________