diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua')
-rw-r--r-- | Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua b/Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua index c610fca578d..c251d88c301 100644 --- a/Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua +++ b/Master/texmf-dist/tex/generic/context/luatex/luatex-mplib.lua @@ -82,7 +82,11 @@ else --ldx]]-- metapost.report = metapost.report or function(...) - texio.write(format("<mplib: %s>",format(...))) + if logs.report then + logs.report("metapost",...) + else + texio.write(format("<mplib: %s>",format(...))) + end end --[[ldx-- |