12 Sep
2018
12 Sep
'18
11:07 a.m.
On Wed, Sep 12, 2018 at 12:16 PM Marcel Krüger
Hi,
I noticed two problems with the mplib `get_...` family of functions:
- First there seems to be a LuaTeX specific documentation bug: In the LuaTeX manual these functions are listed as `getboolean`, `getnumeric`, `getstring`and `getpath`, but in the actual implementation the names contain a underscore.
- If `get_numeric` is called while two nested loops are in effect in MetaPost, an endless loop is triggered when MetaPost tries to iterate through the current loops.
I attached a patch fixing both problems. The second point also applies to the standalone mplib.
Thank you for the patches. Do you have an example where the get_numeric fails ? -- luigi