Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 5:33 PM, Jairo A. del Rio wrote: Thank you a lot for the explanation! It makes more sense now and definitively is something very promising to play with. Wrt the module itself, is it possible to consider language-dependent labels? I noticed "\sin" is "sin" when it should be "sen"

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
Thank you a lot for the explanation! It makes more sense now and definitively is something very promising to play with. Wrt the module itself, is it possible to consider language-dependent labels? I noticed "\sin" is "sin" when it should be "sen" once the module is loaded. Jairo El dom, 23 de

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 3:45 PM, Jairo A. del Rio wrote: \permanent\protected\def\drawme{\thewithproperty\plussix} %better than 666 As you're in protection ... \immutable\integerdef\MyChickenDraw 1006 \permanent\protected\def\drawme{\thewithproperty\MyChickenDraw} and yes, \integerdef is also a

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/23/2021 3:45 PM, Jairo A. del Rio wrote: El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl ) escribió: On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: > Hi. Is \thewithproperty documented elsewhere? Is this a new primitive?

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: > > Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? > > It looks interesting. > In the case of the \sin trick particular case

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
On 5/22/2021 11:34 PM, Jairo A. del Rio wrote: Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? It looks interesting. In the case of the \sin trick particular case \let\computer\the would also work; i added the \thewithproperty feature just because i expect that users can

Re: [NTG-context] mathfun

2021-05-22 Thread Jairo A. del Rio
Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? It looks interesting. Jairo El vie, 21 de may. de 2021 a la(s) 08:15, Hans Hagen (j.ha...@xs4all.nl) escribió: > Hi, > > > I uploaded an lmtx update (only m-mathfun added). > > Attached a short description of this (windy

Re: [NTG-context] mathfun (Hans Hagen)

2021-05-22 Thread Hans Hagen
On 5/21/2021 11:55 PM, Jeong Dal wrote: Dear Hans, Thank you for your new module for math. If possible, I prefer to use $ \sqrt(x) = \compute\sqrt[.3N] {2} $ $ \pi = \mathexpr[.40N]{pi} $ It is more direct to use and good to write a text in which we need some math calculation.

Re: [NTG-context] mathfun

2021-05-22 Thread Hans Hagen
On 5/21/2021 11:01 PM, Henning Hraban Ramm wrote: Am 21.05.2021 um 15:15 schrieb Hans Hagen : I uploaded an lmtx update (only m-mathfun added). Attached a short description of this (windy stormy friday afternoon) math experiment. The question is, what similar features using this trickery

Re: [NTG-context] mathfun (Hans Hagen)

2021-05-21 Thread Jeong Dal
Dear Hans, Thank you for your new module for math. If possible, I prefer to use $ \sqrt(x) = \compute\sqrt[.3N] {2} $ $ \pi = \mathexpr[.40N]{pi}$ It is more direct to use and good to write a text in which we need some math calculation. It is another good news for me. I

Re: [NTG-context] mathfun

2021-05-21 Thread Henning Hraban Ramm
> Am 21.05.2021 um 15:15 schrieb Hans Hagen : > > I uploaded an lmtx update (only m-mathfun added). > > Attached a short description of this (windy stormy friday afternoon) math > experiment. The question is, what similar features using this trickery come > to mind. Thank you! I can

Re: [NTG-context] mathfun

2021-05-21 Thread Aditya Mahajan
On Fri, 21 May 2021, Otared Kavian wrote: > By the way, what does > > \complexexpr{123 + new(456,789)} > > mean? Haven't look at the code yet, but I'd guess `new(a,b) = a + bi`. Aditya ___ If your question

Re: [NTG-context] mathfun

2021-05-21 Thread Hans Hagen
On 5/21/2021 5:24 PM, Otared Kavian wrote: Hi Hans, Thanks for the new features you have introduced in the module mathfun. Actually I have been using commands such as the one mentioned by Aditya, \ctxlua{myfunction(args)} but for the formatting of the output, that is when one wants only

Re: [NTG-context] mathfun

2021-05-21 Thread Otared Kavian
Hi Hans, Thanks for the new features you have introduced in the module mathfun. Actually I have been using commands such as the one mentioned by Aditya, \ctxlua{myfunction(args)} but for the formatting of the output, that is when one wants only 3 or four decimal digits, that approach is

Re: [NTG-context] mathfun

2021-05-21 Thread Hans Hagen
On 5/21/2021 4:37 PM, Aditya Mahajan wrote: On Fri, 21 May 2021, Hans Hagen wrote: I uploaded an lmtx update (only m-mathfun added). Attached a short description of this (windy stormy friday afternoon) math experiment. The question is, what similar features using this trickery come to mind.

Re: [NTG-context] mathfun

2021-05-21 Thread Aditya Mahajan
On Fri, 21 May 2021, Hans Hagen wrote: > I uploaded an lmtx update (only m-mathfun added). > > Attached a short description of this (windy stormy friday afternoon) math > experiment. The question is, what similar features using this trickery come to > mind. Personally, I can see occasionally

[NTG-context] mathfun

2021-05-21 Thread Hans Hagen
Hi, I uploaded an lmtx update (only m-mathfun added). Attached a short description of this (windy stormy friday afternoon) math experiment. The question is, what similar features using this trickery come to mind. Hans -