Thomas A. Schmitz wrote:
Hi all,
cleaning up the code in my module, I run into a very interesting
problem. I want to pass a user-defined value to Metapost. Until now,
the value scale had to be numeric, and I used it like this:
draw fullcircle scaled \MPvar{scale}mm
and Metapost was
On Aug 28, 2008, at 9:45 AM, Hans Hagen wrote:
Hans, thanks a lot for your reply. Amazing - the lua code is so simple
that even I can understand it! I'm certain to use it later; for the
time being, I want to remain compatible for mkii and XeTeX as well.
\startluacode
document.mymodule =
Hi all,
cleaning up the code in my module, I run into a very interesting
problem. I want to pass a user-defined value to Metapost. Until now,
the value scale had to be numeric, and I used it like this:
draw fullcircle scaled \MPvar{scale}mm
and Metapost was happy, and I was too. Now Aditya