> On 17 Jun 2017, at 07:36, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 06/16/2017 10:07 PM, Hans Åberg wrote: >>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oi...@gmx.es> wrote: >>> [...] >>> I don’t do math (at all, not only with ConTeXt), but the following >>> command seems to work: >>> >>> \definefontfamily[mainface][tt][TeX Gyre Pagella Math] >> >> Great! That seems to work in \tt, but for some reason not with >> \starttyping. Probably one should set the font, But I can't find info >> about it. > > This is my sample: > > \definefallbackfamily[mainface][tt][TeX Gyre Cursor] > [range={basiclatin, digitslatin}, force=yes] > > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[mainface][mm][TeX Gyre Pagella Math] > \definefontfamily[mainface][tt][TeX Gyre Pagella Math] > > \setupbodyfont[mainface] > > \setupmathematics[lcgreek=normal, default=normal] > > \starttext > \startformula > 𝑨 ⇒ (𝑩 ⇒ 𝑨) > \stopformula > > \starttyping > axiom B1. 𝑨 ⇒ (𝑩 ⇒ 𝑨). > \stoptyping > > {\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).} > > With latest beta (from 2017.06.15 22:10) and LuaTeX-1.05.0, I get three > formulas typeset with Pagella Math. (Output attached.) > > If this doesn’t work with TeX Live 2017, you might try the latest beta > from the ConTeXt Suite.
Yes, that is the problem. It works fine with latest beta. I found a strange bug with the \tt command: when copying from the PDF, the spaces disappear. With your header above, I get (the comments is the text copy from the PDF): {\tt axiom A1. 𝑨 ⇒ 𝑩.} %axiom A1. 𝑨 ⇒ 𝑩. {\tt axiom A1. 𝑨 ⇒ 𝑩 α.} %axiomA1. 𝑨⇒𝑩α. That is, when adding a single symbol, above "α", but it does not seem to matter which, the spaces disappear. It does not happen with \starttext, though. ___________________________________________________________________________________ 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 ___________________________________________________________________________________