-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vardef macros with suffix do not work as usual with luamplib #55
Comments
vardef
macros with suffix do not work as usual with luamplib
Thanks a lot. |
You are welcome! May I ask you what was the cause of this bug? |
There was no problem before the introduction of |
Hello,
I was surprised today to notice that the following program did not work:
While I expected the same result as with standalone MetaPost, i.e. a rotated label:
I got this error message instead:
If I ask more precisions by entering
h
in the console, I read:And indeed, if I replace
#
by##
in thevardef
definition, i.e. like that,it suddenly works like a charm. OK, problem solved it seems, but I would like to understand the reasons of this peculiar behavior. Why must we enter
##
instead of#
withluamplib
, whereas only one#
is enough with standalone MetaPost? Any idea?Thanks in advance,
Franck Pastor
The text was updated successfully, but these errors were encountered: