Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 19:32, Hans Åberg wrote: > >> On 15 May 2016, at 19:14, Hans Hagen wrote: >> >> On 5/15/2016 2:33 PM, Hans Åberg wrote: >>> Maybe a way to distinguish between unary prefix operator “-“, and binary >>> infix operator “-“: {} is interpreted as an empty operand, thus infix

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 20:00, Hans Hagen wrote: > > On 5/15/2016 7:44 PM, Hans Åberg wrote: >> Invisibles of different semantic meaning are pretty tricky to use in the >> input, because it is hard to detect errors. > > a proper monospace editor font would show it In the Xcode text editor, one

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > in principle one can make ∫ and \int but that has other side effects > \appendtoks >\catcode`∫=\activecatcode > \to \everymathematics One should add \def\∫{∫} before the code above. This way one can use both. For example: \setupbodyfont[xi

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Hagen
On 5/15/2016 7:44 PM, Hans Åberg wrote: On 15 May 2016, at 19:35, Wolfgang Schuster wrote: Hans Åberg 15. Mai 2016 um 19:32 What is \zwnj? zero width non-joiner OK. Invisibles of different semantic meaning are pretty tricky to use in the input, because it is hard to detect errors. a p

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >> >>> Be careful with empty group in math mode: >>> >>> \startformula{} -a \stopformula >>> \startformula\relax -a \stopformula >> >> Maybe a

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:35, Wolfgang Schuster > wrote: > >> Hans Åberg 15. Mai 2016 um 19:32 >> >> What is \zwnj? > zero width non-joiner OK. Invisibles of different semantic meaning are pretty tricky to use in the input, because it is hard to detect errors. ___

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Wolfgang Schuster
Hans Åberg 15. Mai 2016 um 19:32 What is \zwnj? zero width non-joiner Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >> >>> Be careful with empty group in math mode: >>> >>> \startformula{} -a \stopformula >>> \startformula\relax -a \stopformula >> >> Maybe a

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Hagen
On 5/15/2016 2:33 PM, Hans Åberg wrote: On 14 May 2016, at 23:26, Aditya Mahajan wrote: Be careful with empty group in math mode: \startformula{} -a \stopformula \startformula\relax -a \stopformula Maybe a way to distinguish between unary prefix operator “-“, and binary infix operat

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 14 May 2016, at 23:26, Aditya Mahajan wrote: > Be careful with empty group in math mode: > > \startformula{} -a \stopformula > \startformula\relax -a \stopformula Maybe a way to distinguish between unary prefix operator “-“, and binary infix operator “-“: {} is interpreted as an empt

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread luigi scarso
On Sun, May 15, 2016 at 10:10 AM, Hans Åberg wrote: > > > On 14 May 2016, at 23:26, Aditya Mahajan wrote: > > >>> Use > >>> \startformula\relax > >>> ... > >>> \stopformula > >> > >> Just about anything seems to work: > >> I put in an empty group > >> \startformula{} > >> ... > >> \stopformula >

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >>> Use >>> \startformula\relax >>> ... >>> \stopformula >> >> Just about anything seems to work: >> I put in an empty group >> \startformula{} >> ... >> \stopformula > > Be careful with empty group in math mode: > > \startformula{} -a \st

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Aditya Mahajan
On Sat, 14 May 2016, Hans Åberg wrote: On 14 May 2016, at 18:41, Aditya Mahajan wrote: On Sat, 14 May 2016, Hans Åberg wrote: On 14 May 2016, at 01:25, Hans Hagen wrote: installing and running the garden distribution is quite simple (as is updating) .. there are less files too (so no

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 18:41, Aditya Mahajan wrote: > > On Sat, 14 May 2016, Hans Åberg wrote: > >> >>> On 14 May 2016, at 01:25, Hans Hagen wrote: >> >>> installing and running the garden distribution is quite simple (as is >>> updating) .. there are less files too (so no big burden to have

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Aditya Mahajan
On Sat, 14 May 2016, Hans Åberg wrote: On 14 May 2016, at 01:25, Hans Hagen wrote: installing and running the garden distribution is quite simple (as is updating) .. there are less files too (so no big burden to have it alongside tex live) With this installation, I get a strange bug: I

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 01:25, Hans Hagen wrote: > installing and running the garden distribution is quite simple (as is > updating) .. there are less files too (so no big burden to have it alongside > tex live) With this installation, I get a strange bug: In the example below, the first integr

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > > in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? ___ If your question is of interest to others as we

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 01:25, Hans Hagen wrote: > installing and running the garden distribution is quite simple (as is > updating) .. there are less files too (so no big burden to have it alongside > tex live) I installed it on OS X 10.11.5 Beta in /Applications/ConTeXt. Then it turns out tha

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 11:35 PM, Hans Åberg wrote: On 13 May 2016, at 22:53, Hans Hagen wrote: Tex Live 2016 is about to be released in few weeks time [1], so hopefully, it has a later version. Final updates May 16. 1. https://www.tug.org/texlive/ you can install the version from the context gard

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 22:53, Hans Hagen wrote: >> Tex Live 2016 is about to be released in few weeks time [1], so hopefully, >> it has a later version. Final updates May 16. >> >> 1. https://www.tug.org/texlive/ > > you can install the version from the context garden alongside (independent) >

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 10:22 PM, Hans Åberg wrote: On 13 May 2016, at 21:46, Hans Hagen wrote: This example generates an error (ConTeXt 0.61 with TeX Live 2015): for older engines \installanddefineactivecharacter `∫ {\int} \appendtoks \catcode`∫=\activecatcode \to \everymathematics That does

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 21:46, Hans Hagen wrote: > >> This example generates an error (ConTeXt 0.61 with TeX Live 2015): > for older engines > > \installanddefineactivecharacter `∫ {\int} > > \appendtoks > \catcode`∫=\activecatcode > \to \everymathematics That does not work either. I can hack

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 6:32 PM, Hans Åberg wrote: On 13 May 2016, at 17:51, Aditya Mahajan wrote: On Fri, 13 May 2016, Hans Åberg wrote: There may not be so many symbols: the “large operators" in the Tex Book, p. 435, though Unicode have more, and some others like √ U+221A for \sqrt. If you want,

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 17:51, Aditya Mahajan wrote: > > On Fri, 13 May 2016, Hans Åberg wrote: > >> There may not be so many symbols: the “large operators" in the Tex Book, p. >> 435, though Unicode have more, and some others like √ U+221A for \sqrt. > > If you want, you can collect such mappin

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Aditya Mahajan
On Fri, 13 May 2016, Hans Åberg wrote: There may not be so many symbols: the “large operators" in the Tex Book, p. 435, though Unicode have more, and some others like √ U+221A for \sqrt. If you want, you can collect such mappings in a separate module. I could not make your code working - doe

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 14:08, Hans Hagen wrote: > > On 5/13/2016 1:55 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 13:35, Hans Hagen wrote: >>> >>> On 5/13/2016 1:07 PM, Hans Åberg wrote: > On 13 May 2016, at 12:22, Hans Hagen wrote: > > in principle one can make∫and \int

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 1:55 PM, Hans Åberg wrote: On 13 May 2016, at 13:35, Hans Hagen wrote: On 5/13/2016 1:07 PM, Hans Åberg wrote: On 13 May 2016, at 12:22, Hans Hagen wrote: in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? usin

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 13:35, Hans Hagen wrote: > > On 5/13/2016 1:07 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 12:22, Hans Hagen wrote: >>> >>> in principle one can make ∫ and \int but that has other side effects >> >> What side effect do you have in mind here? > > using it as normal c

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 1:07 PM, Hans Åberg wrote: On 13 May 2016, at 12:22, Hans Hagen wrote: in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? using it as normal character .. it's often harder to turn off features than to turn on and

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > > in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? ___ If your question is of interest to others as we

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 10:27 AM, Hans Åberg wrote: \setupbodyfont[xits,10pt] %\setupbodyfont[stix,10pt] \setupmathematics[integral=nolimits] Nolimits $\int_0^∞ f ω$, and $∫_0^∞ f ω$ \startformula \int_0^∞ f ω,\quad ∫_0^∞ f ω \stopformula different meanings \show \int \show ∫ in principle one can

[NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
In the example below, the nolimits directive [1] is not working in display style on a Unicode integral sign ∫ U+222B, though it works with \int, and in inline style. Example below compiled with ‘context’ of TeX Live 2015. - I have found no differences between using STIX and XITS fonts. 1. http: