Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Mikael P. Sundqvist
On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg wrote: > In the example below, using latest ConTeXt, the bracket "[f]” does not show > when using \startformula. > > > \setupbodyfont[xits,10pt] > > \setupmathematics[lcgreek=normal, default=normal] > > \starttext > > \startformula

Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 11:23, Mikael P. Sundqvist wrote: > > On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg wrote: >> In the example below, using latest ConTeXt, the bracket "[f]” does not show >> when using \startformula. > I think it gets interpreted as an

[NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula. \setupbodyfont[xits,10pt] \setupmathematics[lcgreek=normal, default=normal] \starttext \startformula [f] = B \stopformula $$ [f] = B $$ \stoptext

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 07:57, Hans Hagen wrote: > > On 9/12/2016 10:02 PM, Hans Åberg wrote: >> It does not happen with TeX using >> \catcode`\‘=\active >> \def‘#1’{\csname #1\endcsname} > > sure, but when you do > > \appendtoks > \catcode`\‘=\active > \def‘#1’{\csname

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 07:57, Hans Hagen wrote: > sure, but when you do > > \appendtoks > \catcode`\‘=\active > \def‘#1’{\csname #1\endcsname} > \to … FYI, this does not work for me; I must use LuaTeX \letcharcode: \def\usemathcommand#1’{\csname #1\endcsname} \appendtoks