Closed shreevatsa closed 3 years ago
An earlier issue https://github.com/lualatex/luamplib/issues/43 looks related though I guess that issue (from 2014) is from before the v2.6.1 mentioned in the manual above. Also there it mentions "console and log file" both. If I understand correctly, this may be a regression.
Thanks for the report.
Now show
command prints mplib log to the console, and the bug related to luamplib.showlog
has been fixed.
A new version will be released soon.
Just got the update today on MiKTeX, and after the update of luamplib
to 2.20.6, now the output of both show
and message
shows up in the terminal, thank you! This issue can be closed now.
Thanks for
luamplib
: I'm trying to use MetaPost, and this seems to make compilation easier (no separatempost
and loop ofmptopdf
steps, plus directly going.tex
→.pdf
integrates better with TeX editors like TeXShop). But I ran into a couple of (related) problems. Consider this document:The file compiles successfully, but the output of the
show u;
command shows up only in the log file, and not at the terminal as I would like. If I manually compile the equivalent file withmpost
:then I do see ">> 42" at the terminal. Maybe this is expected, or maybe the
luamplib
manual means otherwise where it says:Which brings me to the second issue: If I include the
\directlua{luamplib.showlog = true;}
above (make it no longer commented out), thenlualatex
silently (as far as the terminal output is concerned) produces an empty image. The log file contains something like:This is on macOS 10.15.7, and I see it with both TeX Live (
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
) and MiKTeX (This is LuaHBTeX, Version 1.12.0 (MiKTeX 20.12)
).Thanks,