[NTG-context] Nolimits not working with Unicode characters

Hans Hagen pragma at wxs.nl
Fri May 13 12:22:38 CEST 2016


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 make ∫ and \int but that has other side effects

% \letcharcode `∫ \int
% \installanddefineactivecharacter `∫ {\int}

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

-----------------------------------------------------------------
                                           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