ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
To: ntg-context@ntg.nl
Subject: Unable to switch math fonts
Date: Thu, 20 Jul 2017 13:08:31 +0530	[thread overview]
Message-ID: <CADDRX-divB4oMR=G-nVXnqWcS9dGe0GttGcoffyyz-+TkdHwqw@mail.gmail.com> (raw)

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]

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

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]
\starttext
This is plain text.
\startformula
x + y = z
\stopformula
\stoptext

But this makes everything, including math, Euler. Could you please help me out?

Thanks.

Kumar
___________________________________________________________________________________
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  7:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-20  7:38 Kumar Appaiah [this message]
2017-07-20 18:23 ` Pablo Rodriguez
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='CADDRX-divB4oMR=G-nVXnqWcS9dGe0GttGcoffyyz-+TkdHwqw@mail.gmail.com' \
    --to=a.kumar@alumni.iitm.ac.in \
    --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).