On Jan 4, 2015, at 6:00 AM, ntg-context-request@ntg.nl wrote:
Dear John,

How to make this a polygon?

An example:

Many thanks to you Akira.

Reading the file into lua tables is good sense, and thank you for the string manipulations to pass to metafun().

From your teaching I changed this assignment:

t1 = tostring(x[1])
t2 = tostring(y[1])
s = s.."("..t1.."cm,"..t2.."cm)"
s = s.." withpen pencircle scaled 1bp;"

to: s = s.."cycle withpen pencircle scaled 1bp;”

to close the polygon.

With respect,

John