Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 14:22:45 +0100 schrieb Hans Hagen:

>> Yes, one workaround is to quit math mode. The other to use fonts in
>> mode "base". But I would like to understand why workarounds are
>> needed at all.
 
> because opentype math fonts are just math fonts (simple for text, rich 
> for math)

But there is no math font involved. This latex example

\documentclass{article}
\usepackage{fontspec}
\begin{document}
VA $\mathrm{VA}$
\end{document}

uses exactly one font:



But outside math it is kerned, inside not. 

And this plain tex example doesn't use math fonts either. 

\input luaotfload.sty

\font\Urm=Arial:mode=node;script=latn;language=DFLT;+tlig;+trep;
\textfont0\Urm
\Urm VA $\fam0 VA$ %no kerning in math

\font\Urmbase=Arial:mode=base;script=latn;language=DFLT;+tlig;+trep;
\textfont0\Urmbase
\Urm VA $\fam0 VA$ %kerning in math
\bye

(I used Arial so that one can see clearly that a text font is used)

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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

[NTG-context] only page number in the header of the chapter title page

2015-11-09 Thread massifr
Hello list,
how can I keep the page number but not the header text in the page of a chapter 
title?

\setuphead[chapter][header=empty] makes all the header disappear. Is there an 
option
to keep the page number?

Thanks, Massi
___
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
___

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 13:13:12 +0100 schrieb Hans Hagen:

>> In this example there is no kerning and no ligatures in the math:
>>
>> \starttext
>>   WAiff $\mfunction{WAiff}$
>> \stoptext
>>
>> This is a different behaviour than with legacy math fonts.
> 
> depends what legacy is ...

I meant the fonts you would get with plaintex or pdflatex.

>> A question about this has been asked some month ago on tex.sx
>> (http://tex.stackexchange.com/questions/252493/ligatures-are-not-used-in-opentype-maths-families).
>> The problem (or feature) exist also with xetex.
>>
>> With luatex one can avoid to loose the kerning by loading as math
>> roman font a font in mode base
>> (http://tex.stackexchange.com/questions/277362/lualatex-no-kerning-within-operatorname-when-not-loading-lmodern-package/277395#277395,
>> I have no idea how to do this in context).
>>
>> Is this a luatex/xetex bug? Or a feature? How could one enable
>> kerning and/or ligatures without going back to base mode?
 
> most math fonts don't have ligatures etc ... in fact, as ligatures are a 
> language/script related feature and math is the script it makes not much 
> sense either

But the plaintex and latex examples on tex.SX don't use a math font
for operatornames like \sin or for \mathrm (which seems to be
\mfunction in context). It is a text font and it has ligatures and
kerning informations, but they are not used in math. 

Doesn't use context for \mfunction a text font too? I thought so
because it has kerning when used outside math:

\starttext
\mfunction{WAiff}

$\mfunction{WAiff}$
\stoptext

Also bad kerning in operator names is a nuisance. I don't think that
the default result of
\definemathcommand[VA][nolop]{\mfunction{VA}} is good looking. 



> in context you can do:
> 
> \setupmathematics
>[functionstyle=normal]
> 
> which will use a box which then will trigger text fonts

Yes, one workaround is to quit math mode. The other to use fonts in
mode "base". But I would like to understand why workarounds are
needed at all. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen

On 11/9/2015 2:06 PM, Ulrike Fischer wrote:


Yes, one workaround is to quit math mode. The other to use fonts in
mode "base". But I would like to understand why workarounds are
needed at all.


because opentype math fonts are just math fonts (simple for text, rich 
for math)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] Hyphenation, OTF font and tagging

2015-11-09 Thread Rik Kabel

On 2015-11-09 07:34, Thomas A. Schmitz wrote:

On 11/09/2015 08:42 AM, Christoph Reller wrote:

MWE:

\setuptagging[state=start] %<- correct when commenting this line
\starttypescript[sans][myfont]
\definefontsynonym[Sans][file:MyriadPro-Regular]
\stoptypescript
\definetypeface[Body][ss][sans][myfont]
\setupbodyfont[Body,ss,10pt]
\starttext
\input knuth
\input tufte
\input reich
\input linden
\input darwin
\stoptext

Any feedback is welcome. @Hans: I can provide the Myriad font if this 
helps.


It's not specific to Myriad, I get the same problem with other fonts 
as well, such as Adobe Garamond or Optima (but not Minion Pro or 
Sabon). It's a bug with the new font loading mechanism; if you add


\usemodule [oldotf]

to your document, the problem goes away. Hans will probably write 
"fixed in next beta."


Thomas
And this appears to be the same issue I reported (on 20151022) with 
tagging and ebgaramond, so no need for an Adobe-licensed font for testing.


--
Rik
___
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
___

Re: [NTG-context] Hyphenation, OTF font and tagging

2015-11-09 Thread Thomas A. Schmitz

On 11/09/2015 08:42 AM, Christoph Reller wrote:

MWE:

\setuptagging[state=start] %<- correct when commenting this line
\starttypescript[sans][myfont]
\definefontsynonym[Sans][file:MyriadPro-Regular]
\stoptypescript
\definetypeface[Body][ss][sans][myfont]
\setupbodyfont[Body,ss,10pt]
\starttext
\input knuth
\input tufte
\input reich
\input linden
\input darwin
\stoptext

Any feedback is welcome. @Hans: I can provide the Myriad font if this helps.


It's not specific to Myriad, I get the same problem with other fonts as 
well, such as Adobe Garamond or Optima (but not Minion Pro or Sabon). 
It's a bug with the new font loading mechanism; if you add


\usemodule [oldotf]

to your document, the problem goes away. Hans will probably write "fixed 
in next beta."


Thomas
___
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
___

[NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
Dear all,


I am trying to write some lua code that loads some pdf file and scales it. I 
have the following code (got from previous question here to get number of pages 
from a pdf and from source files).


 local figure = figures.push { name = filename, scale = N } -- scale value does 
not seem to be taken in account
 assert(figure, 'Could not load figure from file ' .. filename)
 figures.identify()
 figures.check()
 figures.dummy() -- needed ?
 figures.scale() -- how to pass the scaling factor ?
 local d = figures.done()
 print('Scales ' .. figure.status.xscale .. ' ' .. figure.status.yscale) -- 
outputs Scales 1 1
 figures.pop()




Hoping that’s possible to do in lua code and my questions are not too dumb 
(still a beginner in ConTeXt).




Many thanks for your help,


Best regards


JC___
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
___

Re: [NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
More precisely, I would like to get width and height of the scaled figure 
Inside lua code, to perform some checks.

Thanks again


Joseph





From: josephcan...@gmail.com
Sent: ‎Monday‎, ‎November‎ ‎9‎, ‎2015 ‎10‎:‎12‎ ‎PM
To: ntg-context@ntg.nl





Dear all,




I am trying to write some lua code that loads some pdf file and scales it. I 
have the following code (got from previous question here to get number of pages 
from a pdf and from source files).




 local figure = figures.push { name = filename, scale = N } -- scale value does 
not seem to be taken in account
 assert(figure, 'Could not load figure from file ' .. filename)
 figures.identify()
 figures.check()
 figures.dummy() -- needed ?
 figures.scale() -- how to pass the scaling factor ?
 local d = figures.done()
 print('Scales ' .. figure.status.xscale .. ' ' .. figure.status.yscale) -- 
outputs Scales 1 1
 figures.pop()






Hoping that’s possible to do in lua code and my questions are not too dumb 
(still a beginner in ConTeXt).




Many thanks for your help,




Best regards




JC___
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
___

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen

On 11/9/2015 2:59 PM, Ulrike Fischer wrote:

Am Mon, 9 Nov 2015 14:22:45 +0100 schrieb Hans Hagen:


Yes, one workaround is to quit math mode. The other to use fonts in
mode "base". But I would like to understand why workarounds are
needed at all.



because opentype math fonts are just math fonts (simple for text, rich
for math)


But there is no math font involved. This latex example

\documentclass{article}
\usepackage{fontspec}
\begin{document}
VA $\mathrm{VA}$
\end{document}

uses exactly one font:



But outside math it is kerned, inside not.

And this plain tex example doesn't use math fonts either.

\input luaotfload.sty

\font\Urm=Arial:mode=node;script=latn;language=DFLT;+tlig;+trep;
\textfont0\Urm
\Urm VA $\fam0 VA$ %no kerning in math

\font\Urmbase=Arial:mode=base;script=latn;language=DFLT;+tlig;+trep;
\textfont0\Urmbase
\Urm VA $\fam0 VA$ %kerning in math
\bye

(I used Arial so that one can see clearly that a text font is used)


you don't enable kerning but anyhow, here is a context example:

\usemodule[oldotf]

\starttext

\showfontkerns

\font\Urm=arial:mode=node;+tlig;+trep;+kern;
\font\Urm=lmroman10-regular:mode=base;+kern;
\textfont0\Urm
\Urm VA $\fam0 VA$

\stoptext

basemode should work (no node mode in math but features are normal 
simple ... keep in mind that node lists in math are quite different)


Hans



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] Ligatures and copy-paste

2015-11-09 Thread Thomas A. Schmitz

On 09.11.2015 16:25, Tommaso Petrucciani wrote:

is there some command to issue in order to have ligatures copy-paste correctly 
in PDFs?
I thought Mk IV did this automatically, but it’s not working on my system.
Ligatures paste as spaces and searching the PDF doesn’t find the words.

I use ConTeXt beta 2015-10-09, Apple Preview and Skim as readers.

My code now is just:
\starttext
effective and efficient
\stoptext

Thanks in advance,
Tommaso Petrucciani


Your example works on linux with evince 3.16, so I assume it's more a 
problem of your pdf viewer than of context.


Thomas
___
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
___

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 16:44:34 +0100 schrieb Hans Hagen:

> you don't enable kerning but anyhow, 

In text mode kerning seems to be activated by default, but it
doesn't change the output if I add it.

> here is a context example:

Curious, here I get no kerning at all for arial. I tried all sort of
variants but the distance between V and A is wider then with
plaintex and \showfontkerns give no output. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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

[NTG-context] Ligatures and copy-paste

2015-11-09 Thread Tommaso Petrucciani
Dear list members,

is there some command to issue in order to have ligatures copy-paste correctly 
in PDFs?
I thought Mk IV did this automatically, but it’s not working on my system.
Ligatures paste as spaces and searching the PDF doesn’t find the words.

I use ConTeXt beta 2015-10-09, Apple Preview and Skim as readers.

My code now is just:
\starttext
effective and efficient
\stoptext

Thanks in advance,
Tommaso Petrucciani

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

Re: [NTG-context] Ligatures and copy-paste

2015-11-09 Thread Tommaso Petrucciani
>> is there some command to issue in order to have ligatures copy-paste 
>> correctly in PDFs?
>> I thought Mk IV did this automatically, but it’s not working on my system.
>> Ligatures paste as spaces and searching the PDF doesn’t find the words.
>> 
>> I use ConTeXt beta 2015-10-09, Apple Preview and Skim as readers.
>> 
>> My code now is just:
>> \starttext
>> effective and efficient
>> \stoptext
> 
> Your example works on linux with evince 3.16, so I assume it's more a problem 
> of your pdf viewer than of context.
> 

Thanks, I’ve checked and in fact my PDF works with Acrobat Reader on OS X.

However, PDFs with ligatures made by other programs (including LuaLaTeX with 
fontspec) work just fine in Apple Preview. Some PDFs made with Mk IV work too 
(for example I can copy-paste from the fonts-mkiv.pdf book).

Do you have any clue whether there is something I can change which might be 
responsible?

Thanks again,
Tommaso

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

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Wolfgang Schuster

Alan BRASLAU 
9. November 2015 um 05:49
On Sun, 8 Nov 2015 19:22:02 +0100

How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...
It works only when you use \hbox but not for nested boxes (which also 
applies to \framed).


%\enabletrackers[nodes.migrations]

\automigrateinserts

\starttext

First\footnote{First}

\hbox{Second\footnote{Second}}

\vbox{Third\footnote{Third}}

\hbox{\hbox{Fourth\footnote{Fourth}}}

\stoptext

Wolfgang
___
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
___

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/9/2015 5:49 AM, Alan BRASLAU wrote:

On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen  wrote:


as you're not afraid of magic:


How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...


depends on how much control one wants ... automigrate can have side 
effects for other cases


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!

All best

Thomas
___

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
___



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!


probably this week

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

[NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
In this example there is no kerning and no ligatures in the math:

\starttext
 WAiff $\mfunction{WAiff}$
\stoptext

This is a different behaviour than with legacy math fonts. 

A question about this has been asked some month ago on tex.sx
(http://tex.stackexchange.com/questions/252493/ligatures-are-not-used-in-opentype-maths-families).
The problem (or feature) exist also with xetex. 

With luatex one can avoid to loose the kerning by loading as math
roman font a font in mode base
(http://tex.stackexchange.com/questions/277362/lualatex-no-kerning-within-operatorname-when-not-loading-lmodern-package/277395#277395,
I have no idea how to do this in context).

Is this a luatex/xetex bug? Or a feature? How could one enable
kerning and/or ligatures without going back to base mode? 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen

On 11/9/2015 12:39 PM, Ulrike Fischer wrote:

In this example there is no kerning and no ligatures in the math:

\starttext
  WAiff $\mfunction{WAiff}$
\stoptext

This is a different behaviour than with legacy math fonts.


depends what legacy is ...


A question about this has been asked some month ago on tex.sx
(http://tex.stackexchange.com/questions/252493/ligatures-are-not-used-in-opentype-maths-families).
The problem (or feature) exist also with xetex.

With luatex one can avoid to loose the kerning by loading as math
roman font a font in mode base
(http://tex.stackexchange.com/questions/277362/lualatex-no-kerning-within-operatorname-when-not-loading-lmodern-package/277395#277395,
I have no idea how to do this in context).

Is this a luatex/xetex bug? Or a feature? How could one enable
kerning and/or ligatures without going back to base mode?


most math fonts don't have ligatures etc ... in fact, as ligatures are a 
language/script related feature and math is the script it makes not much 
sense either


in context you can do:

\setupmathematics
  [functionstyle=normal]

which will use a box which then will trigger text fonts

Hans

--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___