Hi! I tried to compile the MetaFun manual from
/doc/context/sources/general/manuals/metafun and ran into a few issues. I don't know if that's expected or if it's supposed to work on a current LMTX. Attached are the first two issues. It takes a while to boil it down to MWEs. Let me know if I should report the other errors, too. I'm not using the failing bits myself, so I don't need fix for that. Motivation is to help find issues with the current release. Marco
%% metafun > log > error: A primary expression can't begin with ';' \starttext \startMPcode uniquelist(a) ; draw topath(a,--) ysized 2cm withpen pencircle scaled 1mm withcolor .625yellow ; drawpoints topath(a,--) ysized 2cm withpen pencircle scaled 1mm withcolor .625red ; drawpointlabels topath(a,--) ysized 2cm ; \stopMPcode \stoptext
%% metapost > trace > <error> unknown string ta %% metafun > log > %% metafun > log > error: Equation cannot be performed (unknown string=vacuous) \setupbackgrounds [page] [background={foreground,foregraphics}] \defineoverlay [foregraphics] [\positionoverlay{foregraphics}] \starttext \startMPpositiongraphic{mypos:line} path pa, pb, pab ; numeric na, nb ; string ta, tb ; ta := texstr("from") ; tb := texstr("to") ; na := positionpage(ta) ; nb := positionpage(tb) ; pa := positionbox(ta) ; pb := positionbox(tb) ; pa := fullcircle xsized (bbwidth(pa)+4pt) shifted center pa ; pb := fullcircle xsized (bbwidth(pb)+4pt) shifted center pb ; if na = nb : pab := center pa -- center pb ; pab := pab cutbefore (pab intersectionpoint pa) ; pab := pab cutafter (pab intersectionpoint pb) ; pickup pencircle scaled 1pt ; draw pab withcolor .625yellow ; positioninregion ; fi ; \stopMPpositiongraphic \startpositionoverlay{foregraphics} \setMPpositiongraphic{G-1}{mypos:line}{to=G-2} \stoppositionoverlay First we have defined an \hpos {G-1} {\strut overlay}. \stoptext
___________________________________________________________________________________ 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 ___________________________________________________________________________________