On Fri, Jun 2, 2017 at 5:56 PM, Hans Hagen <pra...@wxs.nl> wrote: > On 6/2/2017 5:08 PM, Mikael P. Sundqvist wrote: > >> Is there also a similar way to use the "kernpairs" instead of "kerns"? >> I get no effect, even after adding force = true and >> \enabledirectives[fontgoodies.mathkerning]. > > it depends ... math is a tree of noades and not all nodes are a sequence of > characters > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________
Indeed, it seems that I get it working between a and b but not between ' and ( with the following: kernpairs = { [0x1D44E] = {[0x1D44F] = -200,}, -- a and b [0x2032] = {[0x0028] = -1000, }, -- prime and ( }, together with \setupmathematics[kernpairs=yes] in the file. I guess I will stick with the dimension parameters mentioned earlier for now. It seems to work well in my bigger file. /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________