From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94064 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Greek letter fall back for math Date: Thu, 10 Mar 2016 10:21:27 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8298182848764554639==" X-Trace: ger.gmane.org 1457623338 19039 80.91.229.3 (10 Mar 2016 15:22:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 15:22:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 10 16:22:04 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ae2PV-0002qQ-7L for gctc-ntg-context-518@m.gmane.org; Thu, 10 Mar 2016 16:21:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8BE997FDD; Thu, 10 Mar 2016 16:21:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ihf9LJwlgGIF; Thu, 10 Mar 2016 16:21:41 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B89327FDE; Thu, 10 Mar 2016 16:21:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 616047FDB for ; Thu, 10 Mar 2016 16:21:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vei0MvG5GsWT for ; Thu, 10 Mar 2016 16:21:39 +0100 (CET) Original-Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 0783C7FDA for ; Thu, 10 Mar 2016 16:21:28 +0100 (CET) Original-Received: by mail-ig0-f173.google.com with SMTP id vs8so19447942igb.1 for ; Thu, 10 Mar 2016 07:21:28 -0800 (PST) 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; bh=rgqoNfA1T9+zC0zDlUrvVt2MNemxEXTKoIIrGBtvCQg=; b=ye0t7f/QmY1HZUV2FYAOYdauaP19JsmiWK6Y0Wnqn7krrlYPpx/Km3qBbrG9nQBmr9 hG0c/Zc0IJT0I/5Vfy9+bfk04SVsG8bTLuYvTjaIcJgc8UykmvVdzHq8Lap6srRyFOIj B8cqi8CrVCTR5YpB6bJJjZxmfoPj0APTOMkmBSU/hJWoW72swwCwSyxDfxtbdkme9lbU wojPAkiA7mVIcerm+RGsdBkCCoVjsHX/89Io2XE8hkEg6bj158wQA+qP9fB841lNz5wH EX/TYl7/uwwhuh7tnprXlPBwQY1spwvA4keoaQa15qxcgEs3Sy6Do7BABztdS8ZoJAum Bx0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=rgqoNfA1T9+zC0zDlUrvVt2MNemxEXTKoIIrGBtvCQg=; b=DS1QCgZte+33/Wm3FlP6dr4X9Bmf13GSQ28x/RoATbjgVL0DqW2y5eO5yHurXnsyXF MpRdnpdCP0HFnCDjAGxK1Uyr1ts8f0u0irXlhyqknRTf5EegYRhmEeJJsYdtf/Bpju/5 YpUkv21UxfV1IWDvH3O6L/r+0CmgxMWixn4M3WGiAJTsS+laLt0VwRGh1/1an4A0iA9O x7xsj34mDMc0UEAG7NJPbHkLSLI+sDUjw6+DxYX07hY76W3pibms5mDDV4rWgG6+QNKm 7f9tWCRQLJ5aPMuCCKl8EAJgmuWXn36+r/t3RLBwIy0+6w+pF3o+cn4rG3Vi12XTNa70 mbAg== X-Gm-Message-State: AD7BkJI6RCSSoUpTCJ/AuE1krpFbOkJNrjoBXVeXrLvBcklarijlClnbgdGQeN/Lbwa5EThxCEgX1DuX1xLMIA== X-Received: by 10.50.114.196 with SMTP id ji4mr4188654igb.56.1457623287295; Thu, 10 Mar 2016 07:21:27 -0800 (PST) Original-Received: by 10.36.109.199 with HTTP; Thu, 10 Mar 2016 07:21:27 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94064 Archived-At: --===============8298182848764554639== Content-Type: multipart/alternative; boundary=089e0112d18e417db5052db35e67 --089e0112d18e417db5052db35e67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Mikael. That works nicely. Note: I changed \definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath: lowercasegreeknormal] to \definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:uppercasegreeknormal], since Knuth/TeX sets Greek capital letters upright. Alan On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist wrote: > On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen wrote= : > > Assuming that it is possible, I have been trying to substitute the Gree= k > > letters of my main font for those used in the math font. (if it works, = it > > should look better on the page than what I have now.) > > > > So, what have I missed/messed up in the following? > > > > \definefontfamily[mainface][serif][Brill][ > > [protrusion=3Dquality, > > expansion=3Dquality, > > mode=3Dnode, > > force=3Dyes, > > ] > > > > \definefallbackfamily[mainface][mm][TeX Gyre > > Pagella][preset=3Dmath:digitsnormal,features=3Df:oldstyle] > > > > \definefallbackfamily[mainface][mm][Brill][range=3D0391-03A9,03B1-03C9] > > > > \definefontfamily[mainface][mm][TeXGyre Termes Math] > > > > \setupbodyfont[mainface,36pt] > > > > \starttext > > > > \emph{=CE=BB =CE=B1 =CE=BC =CE=B2 =CE=B4 =CE=B1} > > > > \m{=CE=BB=CE=B1=CE=BC=CE=B2=CE=B4=CE=B1} > > > > 0123456780 > > > > \m{0123456780} > > > > > > \stoptext > > > > Alan > > > > > _________________________________________________________________________= __________ > > 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 > > > _________________________________________________________________________= __________ > > What if you change > > \definefallbackfamily[mainface][mm][Brill][range=3D0391-03A9,03B1-03C9] > > to > > \definefallbackfamily [mainface] [mm] [Brill] > [preset=3Dmath:lowercasegreeknormal] > \definefallbackfamily [mainface] [mm] [Brill] > [preset=3Dmath:lowercasegreekitalic] > > That seems to work here with your example. By the way, I have not seen > the Brill font before. It was very nice! > > /Mikael > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --089e0112d18e417db5052db35e67 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Mikael. That works nicely. Note: I chang= ed

\definefallbackfamily [mainface] [mm] [Brill] [prese= t=3Dmath:lowercasegreeknormal]

to

\definefallbackfamily [mai= nface] [mm] [Brill] [preset=3Dmath:uppercasegreeknormal], since Knuth/TeX sets Gree= k capital letters upright.

Alan

On Thu, Mar 10, 2016 at 9:56 AM, Mikael = P. Sundqvist <mickep@gmail.com> wrote:
On Thu, Mar 10, 2016 = at 3:34 PM, Alan Bowen <bowenal= an03@gmail.com> wrote:
> Assuming that it is possible, I have been trying to substitute the Gre= ek
> letters of my main font for those used in the math font. (if it works,= it
> should look better on the page than what I have now.)
>
> So, what have I missed/messed up in the following?
>
> \definefontfamily[mainface][serif][Brill][
> [protrusion=3Dquality,
> expansion=3Dquality,
> mode=3Dnode,
> force=3Dyes,
> ]
>
> \definefallbackfamily[mainface][mm][TeX Gyre
> Pagella][preset=3Dmath:digitsnormal,features=3Df:oldstyle]
>
> \definefallbackfamily[mainface][mm][Brill][range=3D0391-03A9,03B1-03C9= ]
>
> \definefontfamily[mainface][mm][TeXGyre Termes Math]
>
> \setupbodyfont[mainface,36pt]
>
> \starttext
>
> \emph{=CE=BB =CE=B1 =CE=BC =CE=B2 =CE=B4 =CE=B1}
>
> \m{=CE=BB=CE=B1=CE=BC=CE=B2=CE=B4=CE=B1}
>
> 0123456780
>
> \m{0123456780}
>
>
> \stoptext
>
> Alan
>
> __________________________________________________________= _________________________
> 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=C2=A0 :
http://www.pragma-ade.nl / http://tex.aanhet.net > archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ______________________________________________________________________= _____________

What if you change

\definefallbackfamily[mainface][mm][Brill][range=3D0391-03A9,03B1-03C9]

to

\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:lowercasegreek= normal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:lowercasegreek= italic]

That seems to work here with your example. By the way, I have not seen
the Brill font before. It was very nice!

/Mikael
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--089e0112d18e417db5052db35e67-- --===============8298182848764554639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8298182848764554639==--