ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new lmtx beta
@ 2020-01-26 18:38 Hans Hagen
  2020-01-26 18:40 ` Mojca Miklavec
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2020-01-26 18:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new beta (mostly lmtx). Challenged by Mojca we managed to 
get native compilation under mswindows working in visual studio (and 
soon the compile farm will do several windows compilation variants) so 
future installation can have either native binaries or crosscompiles 
(they have comparable performance with the native ones being a bit 
smaller). The current upload still has crosscompiled binaries.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new lmtx beta
  2020-01-26 18:38 new lmtx beta Hans Hagen
@ 2020-01-26 18:40 ` Mojca Miklavec
  2020-01-26 19:16   ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Mojca Miklavec @ 2020-01-26 18:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new lmtx beta
  2020-01-26 18:40 ` Mojca Miklavec
@ 2020-01-26 19:16   ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2020-01-26 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-11 15:09   ` Hans Hagen
@ 2019-10-11 22:19     ` Jeong Dal
  0 siblings, 0 replies; 12+ messages in thread
From: Jeong Dal @ 2019-10-11 22:19 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 10369 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-11 14:09 ` new (lmtx) beta Jeong Dal
@ 2019-10-11 15:09   ` Hans Hagen
  2019-10-11 22:19     ` Jeong Dal
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2019-10-11 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeong Dal

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
       [not found] <mailman.1.1570356001.2603.ntg-context@ntg.nl>
@ 2019-10-11 14:09 ` Jeong Dal
  2019-10-11 15:09   ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Jeong Dal @ 2019-10-11 14:09 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl


[-- Attachment #1.1: Type: text/plain, Size: 898 bytes --]


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




[-- Attachment #1.2: Type: text/html, Size: 2773 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-05 10:52       ` Mikael P. Sundqvist
@ 2019-10-06  8:39         ` Fabrice Couvreur
  0 siblings, 0 replies; 12+ messages in thread
From: Fabrice Couvreur @ 2019-10-06  8:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1740 bytes --]

Hello,
Thanks.
Fabrice

Le sam. 5 oct. 2019 à 12:53, Mikael P. Sundqvist <mickep@gmail.com> a
écrit :

> Den lör 5 okt. 2019 09:45Wolfgang Schuster <
> wolfgang.schuster.lists@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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-05  7:45     ` Wolfgang Schuster
@ 2019-10-05 10:52       ` Mikael P. Sundqvist
  2019-10-06  8:39         ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Mikael P. Sundqvist @ 2019-10-05 10:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

Den lör 5 okt. 2019 09:45Wolfgang Schuster <
wolfgang.schuster.lists@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

>

[-- Attachment #1.2: Type: text/html, Size: 2631 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-05  7:39   ` Fabrice Couvreur
@ 2019-10-05  7:45     ` Wolfgang Schuster
  2019-10-05 10:52       ` Mikael P. Sundqvist
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2019-10-05  7:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur


[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 905 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-04 19:33 ` Mikael P. Sundqvist
@ 2019-10-05  7:39   ` Fabrice Couvreur
  2019-10-05  7:45     ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Fabrice Couvreur @ 2019-10-05  7:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3877 bytes --]

Hi Hans,
Where is this documentation ?
Thank you.
Fabrice



Le ven. 4 oct. 2019 à 21:34, Mikael P. Sundqvist <mickep@gmail.com> a
écrit :

> On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen <j.hagen@xs4all.nl> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 6244 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: new (lmtx) beta
  2019-10-04 16:10 Hans Hagen
@ 2019-10-04 19:33 ` Mikael P. Sundqvist
  2019-10-05  7:39   ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Mikael P. Sundqvist @ 2019-10-04 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2926 bytes --]

On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen <j.hagen@xs4all.nl> 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

[-- Attachment #1.2: Type: text/html, Size: 4424 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* new (lmtx) beta
@ 2019-10-04 16:10 Hans Hagen
  2019-10-04 19:33 ` Mikael P. Sundqvist
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2019-10-04 16:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

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

[-- Attachment #2: kindergarten.pdf --]
[-- Type: application/pdf, Size: 9795 bytes --]

[-- Attachment #3: kindergarten.tex --]
[-- Type: text/plain, Size: 2704 bytes --]

\startMPcalculation{simplefun}

    pen KindergartenPen ; KindergartenPen := pencircle scaled 1 ;

    % 10 x 10 grid

    vardef KindergartenEqual =
        draw image
            (
                draw (2,6) -- (9,5) ;
                draw (2,4) -- (8,3) ;
            )
            shifted (0,-2)
            withpen KindergartenPen
            withcolor "KindergartenEqual"
    enddef ;
    vardef KindergartenPlus =
        draw image
            (
                draw (1,4) -- (9,5) ;
                draw (4,1) -- (5,8) ;
            )
            shifted (0,-2)
            withpen KindergartenPen
            withcolor "KindergartenPlus"
    enddef ;
    vardef KindergartenMinus =
        draw image
            (
                draw (1,5) -- (9,4) ;
            )
            shifted (0,-2)
            withpen KindergartenPen
            withcolor "KindergartenMinus"
    enddef ;
    vardef KindergartenTimes =
        draw image
            (
                draw (2,1) -- (9,8) ;
                draw (8,1) -- (2,8) ;
            )
            shifted (0,-2)
            withpen KindergartenPen
            withcolor "KindergartenTimes"
    enddef ;
    vardef KindergartenDivided =
        draw image
            (
                draw (2,1) -- (8,9) ;
            )
            shifted (0,-2)
            withpen KindergartenPen
            withcolor "KindergartenDivided"
    enddef ;

    lmt_registerglyphs [
        name     = "kindergarten",
        units    = 10,
      % usecolor = true,
        width    = 10,
        height   = 8,
        depth    = 2,
    ] ;

    lmt_registerglyph [ category = "kindergarten", unicode = "0x003D",
        code = "KindergartenEqual"
    ] ;
    lmt_registerglyph [ category = "kindergarten", unicode = "0x002B",
        code = "KindergartenPlus"
    ] ;
    lmt_registerglyph [ category = "kindergarten", unicode = "0x2212",
        code = "KindergartenMinus"
    ] ;
    lmt_registerglyph [ category = "kindergarten", unicode = "0x00D7",
        code = "KindergartenTimes"
    ] ;
    lmt_registerglyph [ category = "kindergarten", unicode = "0x002F",
        code = "KindergartenDivided"
    ] ;

\stopMPcalculation

\definecolor[KindergartenEqual]  [darkgreen]
\definecolor[KindergartenPlus]   [darkred]
\definecolor[KindergartenMinus]  [darkred]
\definecolor[KindergartenTimes]  [darkblue]
\definecolor[KindergartenDivided][darkblue]

\definefontfeature
  [mathextra]
  [metapost=kindergarten]

\setupbodyfont[dejavu]

\startTEXpage[offset=10pt]
    $ y = 2 \times x + a - b / 3 $ \par
    \hfill \infofont{kindergarten math}
\stopTEXpage

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-01-26 19:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 18:38 new lmtx beta Hans Hagen
2020-01-26 18:40 ` Mojca Miklavec
2020-01-26 19:16   ` Hans Hagen
     [not found] <mailman.1.1570356001.2603.ntg-context@ntg.nl>
2019-10-11 14:09 ` new (lmtx) beta Jeong Dal
2019-10-11 15:09   ` Hans Hagen
2019-10-11 22:19     ` Jeong Dal
  -- strict thread matches above, loose matches on Subject: below --
2019-10-04 16:10 Hans Hagen
2019-10-04 19:33 ` Mikael P. Sundqvist
2019-10-05  7:39   ` Fabrice Couvreur
2019-10-05  7:45     ` Wolfgang Schuster
2019-10-05 10:52       ` Mikael P. Sundqvist
2019-10-06  8:39         ` Fabrice Couvreur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).