Re: [NTG-context] Upright font in math.

2017-06-02 Thread Jose Luis Arellano
Thanks Aditya. 2017-06-02 14:44 GMT-04:00 Aditya Mahajan : > On Fri, 2 Jun 2017, Jose Luis Arellano wrote: > > Dear list. >> >> What is the correct way to use upright (no italic) font in math mode? >> > > If you want to set this for all symbols: > >

Re: [NTG-context] Upright font in math.

2017-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2017, Jose Luis Arellano wrote: Dear list. What is the correct way to use upright (no italic) font in math mode? If you want to set this for all symbols: \setupmathematics[default=normal, ucgreek=normal, lcgreek=normal] If you want to do this for only a few symbols, then use

[NTG-context] Upright font in math.

2017-06-02 Thread Jose Luis Arellano
Dear list. What is the correct way to use upright (no italic) font in math mode? Thanks in advance. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 5:56 PM, Hans Hagen 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]. > >

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Hans Hagen
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

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 4:24 PM, Hans Hagen wrote: > On 6/2/2017 10:59 AM, Mikael P. Sundqvist wrote: >> >> Hi! >> >> Now that the bug with primes is fixed in ConTeXt, I wonder if there is >> a way to change the kerning between certain characters in mathematics >> (in case one is

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Hans Hagen
On 6/2/2017 10:59 AM, Mikael P. Sundqvist wrote: Hi! Now that the bug with primes is fixed in ConTeXt, I wonder if there is a way to change the kerning between certain characters in mathematics (in case one is not happy with the output from the font)? After reading in fonts-mkiv.pdf this is

Re: [NTG-context] overrule italics

2017-06-02 Thread Florian Grammel
> >> I have a long text with section headers partly in italics and/or emphasis. >> I'd like to setup the formatting in a way that overrules these. >> >> \setuphead[section][style=\tfb\up] >> >> In LaTeX there would be \upshape/\textup -- is there an equivalent in >> ConTeXt? > > Did you try

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 1:39 PM, Mikael P. Sundqvist wrote: > On Fri, Jun 2, 2017 at 11:39 AM, Mathias Schickel > wrote: >> Hi Mikael, >> >> math fonts are a bit different from text fonts. This means that you need >> special methods to influence them.

Re: [NTG-context] overrule italics

2017-06-02 Thread Henning Hraban Ramm
Am 2017-06-02 um 12:54 schrieb Florian Grammel : > I have a long text with section headers partly in italics and/or emphasis. > I'd like to setup the formatting in a way that overrules these. > > \setuphead[section][style=\tfb\up] > > In LaTeX there would be

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
On Fri, Jun 2, 2017 at 11:39 AM, Mathias Schickel wrote: > Hi Mikael, > > math fonts are a bit different from text fonts. This means that you need > special methods to influence them. Because I once had a similar concern like > you I asked Hans to implement a way to

[NTG-context] overrule italics

2017-06-02 Thread Florian Grammel
I have a long text with section headers partly in italics and/or emphasis. I'd like to setup the formatting in a way that overrules these. \setuphead[section][style=\tfb\up] In LaTeX there would be \upshape/\textup -- is there an equivalent in ConTeXt? Thanks in advance! Florian.

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mathias Schickel
Hi Mikael, math fonts are a bit different from text fonts. This means that you need special methods to influence them. Because I once had a similar concern like you I asked Hans to implement a way to influence kerning in math fonts between certain glyphs. I have attached an lfg-file that shows

[NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
Hi! Now that the bug with primes is fixed in ConTeXt, I wonder if there is a way to change the kerning between certain characters in mathematics (in case one is not happy with the output from the font)? After reading in fonts-mkiv.pdf this is what I came up with: \startluacode

Re: [NTG-context] Opentype features and space after comma in math mode

2017-06-02 Thread Hans Hagen
On 6/2/2017 7:40 AM, Pablo Rodriguez wrote: On 06/02/2017 06:40 AM, Jose Luis Arellano wrote: Dear Wolfgang. In recents versions of Context, what is the correct way to use lnum feature in maths? This doesn't works anymore: \definefontfeature[mathdigits][default][mode=base,tnum=yes,lnum=yes]