ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* odd seems to be broken in lmtx-metafun
@ 2021-01-07 18:54 Damien Thiriet
  0 siblings, 0 replies; only message in thread
From: Damien Thiriet @ 2021-01-07 18:54 UTC (permalink / raw)
  To: ntg-context

Hi,

I think I found the bug that made me send a
"false positive" a few days ago.
Looks like something messes up with metafun odd function.

This snippet of code:

\starttext

\startMPpage
path p;p:=origin--(20,20);
draw p;
draw p reflectedabout ((10,10),(10,-10)) withcolor red;
for i=1 upto 2:
   if odd i:
      draw p yshifted 20 withcolor green; 
   else:
      draw p xshifted 20 withcolor blue;
   fi;
endfor;

%draw (0,0)--(20,20) withcolor red;
\stopMPpage

\stoptext
does not compile as I would expect it: no green line
is drawn (but there is an output). I hope I did not miss 
something and won't waste your time.

This appeared at least in 
2020.12.30 16:45 
version (I don't update often enough to give better hints)

Best regards,

Damien Thiriet


___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2021-01-07 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 18:54 odd seems to be broken in lmtx-metafun Damien Thiriet

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