Dear Otared, what is the small modification you mentioned?  Could you share the code you shared to get this output in the latest beta?

On Mon, May 15, 2017 at 3:27 AM, Otared Kavian <otared@gmail.com> wrote:
Hi Mohammad Hossein,

I don’t get what you expected to obtain in your message, but typesetting your example code (with a small modification) I get the attached PDF file, which seems correct to me.
I am using ConTeXt  version 2017.05.12 22:40 MKIV beta, with LuaTeX version 1.0.4 on MacOS 10.12.5.

Best regards: Otared K.






> On 15 May 2017, at 05:37, Mohammad Hossein Bateni <bateni@gmail.com> wrote:
>
> The version in tex/texmf-context/tex/context/fonts/mkiv/type-imp-mathdigits.mkiv is a typescript.  Here is a simpler version using defintfontfamily and definefallbackfamily, which doesn't work in the recent beta (but worked well back in January).
>
>
> \definefontfamily     [minionmath] [rm] [Minion Pro]
> \definefallbackfamily [minionmath] [mm] [dejavusansmono] [range=digitsextendedarabicindic,offset=digitsnormal]
> \definefallbackfamily [minionmath] [mm] [dejavusansmono] [range=digitsextendedarabicindic,offset=digitsbold,tf=style:bold]
> \definefontfamily     [minionmath] [mm] [TeX Gyre Pagella Math]
>
> \startttext
>
> \switchtobodyfont[minionmath]
>
> \startformula
> {\tf xyz} xyz {\bf xyz} {\bi xyz}, 2+3, {\bf 2+3}
> \stopformula
>
> \stoptext
>
>
> With beta version 2017.01.17 17:37 it used to work and change the digits to Indic inside math.  With beta version 2017.04.27 01:00, the digits do not change to Indic.  However, everything in math changes to dejavusansmono (bold, because that was the last fallback definition?).
>
> On Fri, May 12, 2017 at 7:34 PM, Mohammad Hossein Bateni <bateni@gmail.com> wrote:
> Hi,
>
> The example for replacing Arabic numerals by Indic digits inside math used to work (at least) until version 2017.01.17 17:37.
>
> tex/texmf-context/tex/context/fonts/mkiv/type-imp-mathdigits.mkiv
>
> Now in version 2017.04.27 01:00, this does not produce the desired output: it's all "Latin" digits.
>
> Has something changed regarding fontfallback definitions?
>
> Thanks,
> MHB
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


___________________________________________________________________________________
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
___________________________________________________________________________________