ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Unable to switch math fonts
Date: Thu, 20 Jul 2017 20:23:01 +0200	[thread overview]
Message-ID: <13b3e6da-c3c1-4243-dab5-3cca95c5c730@gmx.es> (raw)
In-Reply-To: <CADDRX-divB4oMR=G-nVXnqWcS9dGe0GttGcoffyyz-+TkdHwqw@mail.gmail.com>

On 07/20/2017 09:38 AM, Kumar Appaiah wrote:
> Hi.
> 
> I'm using the Debian packaged ConTeXt, version 2017.05.15.20170613-2.
> I have the Neo Euler OTF font and mtxrun --script fonts finds it.
> 
> I am unable to get the following to work:
> 
> \definefontfamily [myfamily] [math] [Neo Euler]
> \setupbodyfont[myfamily]
> 
> The above code doesn't build for me with errors in the formula
> portion. However, removing the Neo Euler line makes it work. Moreover,
> this works:
> 
> \definefontfamily [myfamily] [serif] [Neo Euler]
> \setupbodyfont[myfamily]
> 
> But this makes everything, including math, Euler. Could you please help me out?

Hi Kumar,

this seems to work with latest beta:

    \definefontfamily [myfamily] [rm] [TeX Gyre Pagella]
    \definefontfamily [myfamily] [mm] [Neo Euler]
    \setupbodyfont[myfamily]

    \starttext
    This is plain text.
    \startformula
    x + y = z
    \stopformula
    \stoptext

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-07-20 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-20  7:38 Kumar Appaiah
2017-07-20 18:23 ` Pablo Rodriguez [this message]
2017-07-21 12:33   ` Kumar Appaiah
2017-07-22  1:16     ` Sebastian L.
2017-07-23 19:22       ` Pablo Rodriguez
2017-07-24 21:41         ` Sebastian L.
2017-07-24 22:12           ` Hans Hagen
2017-07-25 15:57             ` Sebastian L.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13b3e6da-c3c1-4243-dab5-3cca95c5c730@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).