[NTG-context] Nolimits not working with Unicode characters

Hans Hagen pragma at wxs.nl
Fri May 13 21:46:53 CEST 2016


On 5/13/2016 6:32 PM, Hans Åberg wrote:
>
>> On 13 May 2016, at 17:51, Aditya Mahajan <adityam at umich.edu> 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 mappings in a separate module.
>
> That would be a good idea if it should become a part of a ConTeXt distribution.
>
>>
>>> I could not make your code working - does it require a later LuaTex version (than 0.80.0)?
>>
>> Here is a complete working example
>
> This example generates an error (ConTeXt 0.61 with TeX Live 2015):
>
>
> tex error       > error on line 10 in file limits0.tex: ! Undefined control sequence
>
> <inserted text> ...ries \catcode `∫=\activecatcode \letcharcode
>                                                   `∫ \int
> <everymath> ...\vcenter \normalvcenter \the \everymathematics
>                                                   \setfalse \indisplaymath
> <to be read again>
> \int
> l.10 Nolimits $\int
>                  _0^∞ f ω$, and $∫_0^∞ f ω$
>
>
>> (OT: The location of the limit is still ugly with xits fonts)

for older engines

\installanddefineactivecharacter `∫ {\int}

\appendtoks
   \catcode`∫=\activecatcode
\to \everymathematics

but best you can update as most here run the latest version


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list