Re: [NTG-context] new lmtx beta

2020-01-26 Thread Hans Hagen

On 1/26/2020 7:40 PM, Mojca Miklavec wrote:

Dear Hans,

On Sun, 26 Jan 2020 at 19:39, Hans Hagen wrote:


I uploaded a new beta (mostly lmtx).


Thanks a lot.
What about musl binaries?


Yes, i need to do that (assuming that you're confident that they work) 
.. thanks for reminding me.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new lmtx beta

2020-01-26 Thread Mojca Miklavec
Dear Hans,

On Sun, 26 Jan 2020 at 19:39, Hans Hagen wrote:
>
> I uploaded a new beta (mostly lmtx).

Thanks a lot.
What about musl binaries?

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-11 Thread Jeong Dal
Dear Hans,


>> Though it calculates function using “x^2 + y^2”,  it is better to write the 
>> name of it as the output of $x^2 + y^2$.
>> Is it possible to write  it as in mathematical form?
> 
>functionstyle = "math”,
> 
It works nicely.

>> Is there any reason to use two different names “function” and “code” to 
>> define functions?
> we can still decide as it's beta ...
> 
>  function | functions
> 
> or
> 
>  code | codelist
> 
> (it's basically lua code ...)
> 
> i have no preference and as you're the first to bring it up you may decide 
> ... (unless others can convince you otherwise)
> 

I think that it is better to use the same name if there is no special reason to 
distinguish, and I prefer to use “function | functions”.  
However, I am OK whether you keep both or choose one. 

Thank you and your team again.

Best regards,

Dalyoung

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-11 Thread Hans Hagen

On 10/11/2019 4:09 PM, Jeong Dal wrote:


Dear Hans,

I read the manual of luametafun and do some examples.
Thanks for many new features.
It is  really great.

I’d like to ask two things.

1. On  page 26,27, in the manual,


http://www.pragma-ade.com/general/manuals/luametafun.pdf


a function name of the graphics are appeared as same as in the argument 
‘function = “x^2 + y^2”’.
Though it calculates function using “x^2 + y^2”,  it is better to write 
the name of it as the output of $x^2 + y^2$.

Is it possible to write  it as in mathematical form?


functionstyle = "math",


2. To define a mathematical function, it uses “function = “ in Contour, 
while it uses “code = “ in Surfaces and in Functions.
Is there any reason to use two different names “function” and “code” to 
define functions?

we can still decide as it's beta ...

  function | functions

or

  code | codelist

(it's basically lua code ...)

i have no preference and as you're the first to bring it up you may 
decide ... (unless others can convince you otherwise)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-11 Thread Jeong Dal

Dear Hans,

I read the manual of luametafun and do some examples.
Thanks for many new features.
It is  really great.

I’d like to ask two things. 

1. On  page 26,27, in the manual, 
> 
> http://www.pragma-ade.com/general/manuals/luametafun.pdf 
> 

a function name of the graphics are appeared as same as in the argument 
‘function = “x^2 + y^2”’. 
Though it calculates function using “x^2 + y^2”,  it is better to write the 
name of it as the output of $x^2 + y^2$.
Is it possible to write  it as in mathematical form?

2. To define a mathematical function, it uses “function = “ in Contour, while 
it uses “code = “ in Surfaces and in Functions.
Is there any reason to use two different names “function” and “code” to define 
functions?  

Thank you again.

Best regards,

Dalyoung



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-06 Thread Fabrice Couvreur
Hello,
Thanks.
Fabrice

Le sam. 5 oct. 2019 à 12:53, Mikael P. Sundqvist  a
écrit :

> Den lör 5 okt. 2019 09:45Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> skrev:
>
>> Fabrice Couvreur schrieb am 05.10.2019 um 09:39:
>>
>> Hi Hans,
>> Where is this documentation ?
>>
>> Make a update and you will find luametafun.pdf in the documentation
>> ($TEXMF/tex/texmf-context/doc/context/documents/general/manuals/) folder.
>>
>> Wolfgang
>>
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
> I found it is also available at
>
> http://www.pragma-ade.com/general/manuals/luametafun.pdf
>
> in case one does not want to upgrade at the moment.
>
> /Mikael
>
>>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-05 Thread Mikael P. Sundqvist
Den lör 5 okt. 2019 09:45Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> skrev:

> Fabrice Couvreur schrieb am 05.10.2019 um 09:39:
>
> Hi Hans,
> Where is this documentation ?
>
> Make a update and you will find luametafun.pdf in the documentation
> ($TEXMF/tex/texmf-context/doc/context/documents/general/manuals/) folder.
>
> Wolfgang
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>

I found it is also available at

http://www.pragma-ade.com/general/manuals/luametafun.pdf

in case one does not want to upgrade at the moment.

/Mikael

>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-05 Thread Wolfgang Schuster

Fabrice Couvreur schrieb am 05.10.2019 um 09:39:

Hi Hans,
Where is this documentation ?

Make a update and you will find luametafun.pdf in the documentation
($TEXMF/tex/texmf-context/doc/context/documents/general/manuals/) folder.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-05 Thread Fabrice Couvreur
Hi Hans,
Where is this documentation ?
Thank you.
Fabrice



Le ven. 4 oct. 2019 à 21:34, Mikael P. Sundqvist  a
écrit :

> On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen  wrote:
>
>> Hi,
>>
>> I uploaded a new lmtx beta. Again some more metafun trickery (see
>> luametafun manual). I attached an (lmtx only) example of some experiment
>> code, dedicated to Alan Braslau (teacher among other things).
>>
>> Hans
>>
>> -
>>Hans Hagen | PRAGMA ADE
>>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
>
> Hi,
>
> I read the new manual with a great joy! This is really nice improvements
> of MetaFun! I also like the 3D plots!
>
> I had the possibility to try out some contour graphics on a freshly
> updated system. I have two questions:
>
> 1) I think the first (blue) plot looks fine and it looks like it could be
> the same curve as the blue one in the Mathematica plot (page 3). Why does
> my second example (orange) not match with the result from Mathematica
> (orange)? (I think I do something wrong)
> 2) Is there a way to combine the two contour plots in one MetaFun drawing?
> If I add them both to the same, only the last one shows. If I try
> functions={"-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4","-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5"}
> it does not show both either.
>
> /Mikael
>
> Test document (output was too big to attach (sorry if it came through to
> someone), so I put it at http://www.maths.lth.se/~mickep/polynomnoll.pdf )
>
> \starttext
> \startMPpage[offset=3bp,instance=doublefun]
> draw lmt_contour [
> xmin=-5,
> xmax=5,
> ymin=-5,
> ymax=5,
> xstep=0.01,
> ystep=0.01,
> range={0},
> levels=1,
> function="-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4",
> linecolor="darkblue",
> linewidth=1,
> legend=false,
> cache=true,
> ]  xsized 10cm ;
> \stopMPpage
>
> \startMPpage[offset=3bp,instance=doublefun]
> draw lmt_contour [
> xmin=-5,
> xmax=5,
> ymin=-5,
> ymax=5,
> xstep=0.01,
> ystep=0.01,
> range={0},
> levels=1,
> function="-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5",
> linecolor="orange",
> linewidth=1,
> legend=false,
> cache=true,
> ]  xsized 10cm ;
> \stopMPpage
>
> \startbuffer[mmainput]
> ContourPlot[
>  {-4+x^2+x^5+15y-y^2-10x^3y^2+5x*y^4 == 0,
>   -15x+2x*y+5*x^4*y-10x^2*y^3+y^5 == 0},
>   {x, -5, 5}, {y, -5, 5}, Frame -> False]
> \stopbuffer
> \startTEXpage[offset=2bp]
> \typebuffer[mmainput]
>
> \externalfigure[mathematicaplot][width=10cm]
> \stopTEXpage
> \stoptext
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new (lmtx) beta

2019-10-04 Thread Mikael P. Sundqvist
On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen  wrote:

> Hi,
>
> I uploaded a new lmtx beta. Again some more metafun trickery (see
> luametafun manual). I attached an (lmtx only) example of some experiment
> code, dedicated to Alan Braslau (teacher among other things).
>
> Hans
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


Hi,

I read the new manual with a great joy! This is really nice improvements of
MetaFun! I also like the 3D plots!

I had the possibility to try out some contour graphics on a freshly updated
system. I have two questions:

1) I think the first (blue) plot looks fine and it looks like it could be
the same curve as the blue one in the Mathematica plot (page 3). Why does
my second example (orange) not match with the result from Mathematica
(orange)? (I think I do something wrong)
2) Is there a way to combine the two contour plots in one MetaFun drawing?
If I add them both to the same, only the last one shows. If I try
functions={"-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4","-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5"}
it does not show both either.

/Mikael

Test document (output was too big to attach (sorry if it came through to
someone), so I put it at http://www.maths.lth.se/~mickep/polynomnoll.pdf )

\starttext
\startMPpage[offset=3bp,instance=doublefun]
draw lmt_contour [
xmin=-5,
xmax=5,
ymin=-5,
ymax=5,
xstep=0.01,
ystep=0.01,
range={0},
levels=1,
function="-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4",
linecolor="darkblue",
linewidth=1,
legend=false,
cache=true,
]  xsized 10cm ;
\stopMPpage

\startMPpage[offset=3bp,instance=doublefun]
draw lmt_contour [
xmin=-5,
xmax=5,
ymin=-5,
ymax=5,
xstep=0.01,
ystep=0.01,
range={0},
levels=1,
function="-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5",
linecolor="orange",
linewidth=1,
legend=false,
cache=true,
]  xsized 10cm ;
\stopMPpage

\startbuffer[mmainput]
ContourPlot[
 {-4+x^2+x^5+15y-y^2-10x^3y^2+5x*y^4 == 0,
  -15x+2x*y+5*x^4*y-10x^2*y^3+y^5 == 0},
  {x, -5, 5}, {y, -5, 5}, Frame -> False]
\stopbuffer
\startTEXpage[offset=2bp]
\typebuffer[mmainput]

\externalfigure[mathematicaplot][width=10cm]
\stopTEXpage
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___