I’m experimenting LuaMetaFun. The following MWE example works as expected, but stop to work as soon as I uncomment the « doublefun » commands, like :
\startMPinclusions%{doublefun}
vardef Macrotest(expr ANumber) =
draw textext(decimal(ANumber)) scaled 10;
enddef ;
\stopMPinclusions
\startMPpage%[instance=doublefun]
Macrotest(22) ;
path p; p := (0,0)..(3,3.5)..(9,-3.5).. (12,0)..(9,3.5)..(3,-3.5)..cycle;
draw lmt_followtext [
text = "\dorecurse{9}{· Justssss random text }",
path = p xsized TextWidth,
autoscaleup = "max",
reverse=true,
] xsized 5in;
\stopMPpage
metafun > log > error: Isolated expression
metafun > log >
metapost > log >
metapost > log > <to be read again>
metapost > log > (
metapost > log > <*> Macrotest(
metafun > log >
metafun > log > I couldn't find an '=' or ':=' after the expression that is shown above this
Fabrice.