27 Apr
2020
27 Apr
'20
10:47 a.m.
I am in METAPOST which is inside TeX and I’d like (in METAPOST, not in TeX) to let a string follow a path. Adapting from the MetaFun manual around page 250, I tried this: \starttext \startMPpage[instance=doublefun] pic p; p := textext("\startuseMPgraphic[instance=doublefun]{followtokens}path RotPath ; RotPath := fullcircle ;\stopuseMPgraphic\followtokens{I am creating a line of text here}"); draw pic; \stopMPpage \stoptext But that does not work. Is there a way I can from within my METAPOST code get string (TeX code) to follow a path I have? In my case, I cannot escape outside the \startMPpage- -\stopMPpage environment, as the actual path is constructed there and the text following the path should be on that page. G