On 2/20/21 12:59 PM, Pablo Rodriguez wrote: > [...] > Which is the right way to close the path or what am I missing?
I see that cycle is the way to go: \starttext \startmakeup[page][align=middle] \dontleavehmode \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..(9,3.5)..(3,-3.5)..(0,0); draw p xsized .9TextWidth withcolor .625red; path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..(9,3.5)..(3,-3.5)..cycle; draw p xsized .9TextWidth ; \stopMPcode \stopmakeup \stoptext Closing without cycle gives an asymetrical path. I’d rather say it is wrong, but this is all Greek to me. On the other side, I’m afraid that cycle has problems with lmt_followtext. Could anyone confirm this? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________