ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lua-loop inside MetaPost
@ 2010-03-09 14:17 Andreas Harder
  2010-03-09 14:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Harder @ 2010-03-09 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I can't find a solution for the following example:

\starttext

\startMPpage
  draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ;
\stopMPpage

\startluacode
context.startMPpage()
  context("draw origin"..for i=0,100,10 do.."..{down}("..i..",0)"..end..";")
context.stopMPpage()
\stopluacode

\stoptext

Can someone help?

Thanks in advance
	Andreas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-03-09 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 14:17 Lua-loop inside MetaPost Andreas Harder
2010-03-09 14:24 ` Wolfgang Schuster
2010-03-09 14:48   ` Andreas Harder
2010-03-09 14:59   ` Hans Hagen
2010-03-09 15:11     ` Andreas Harder
2010-03-09 15:25       ` Hans Hagen

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