I wanted to use the macro simplified to remove duplicate points from a path,
but it removes more than that:
metapost log > (127,-107)..controls (117,-107) and (107,-107)
metapost log > ..(97,-107)..controls (97,-130.33333333333334) and
(97,-153.66666666666666)
metapost log > ..(97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and
(157,-163.66666666666666)
metapost log > ..(157,-157)
metapost log >
metapost log > >> Path at line 0:
metapost log > (97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and
(157,-163.66666666666666)
metapost log > ..(157,-157)
First is path, second is simplified path.
Is simplified maybe only supposed to work with cycles?
G
___________________________________________________________________________________
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
___________________________________________________________________________________