6 Dec
2012
6 Dec
'12
7:10 p.m.
On 2012–11–25 Marco Patzer wrote:
in one of the last few betas the MetaPost instance mechanism broke.
Did the interface change again? The following does not work on today's beta, only “alpha” and “gamma” are printed. \defineMPinstance [myinstance] [metafun] \startuseMPgraphic{alpha} draw textext("alpha") ; \stopuseMPgraphic \startuseMPgraphic{myinstance::beta} draw textext("beta") ; \stopuseMPgraphic \starttext \useMPgraphic{alpha} \useMPgraphic{myinstance::beta} \startMPcode{myinstance} draw textext("gamma") ; \stopMPcode \stoptext Marco