lualatex / luamplib

generic TeX package - including MetaPost code in LuaTeX documents
http://ctan.org/pkg/luamplib
16 stars 11 forks source link

Code accessing global variable 't' #76

Closed z-rui closed 4 years ago

z-rui commented 6 years ago

The following call passes 3 arguments to flushnormalpath while the function only takes 2 arguments: https://github.com/lualatex/luamplib/blob/4227cb131ef94c9f914142c28201a3c42e7bb6ba/luamplib.dtx#L1565

The last statement in flush{normal,concat}path also refers to this non-existent variable: https://github.com/lualatex/luamplib/blob/4227cb131ef94c9f914142c28201a3c42e7bb6ba/luamplib.dtx#L941 https://github.com/lualatex/luamplib/blob/4227cb131ef94c9f914142c28201a3c42e7bb6ba/luamplib.dtx#L974

Are they possible bugs?

dohyunkim commented 6 years ago

All you pointed out seem to be bugs. I will fix them when next update becomes needy. Thanks for the report.