summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-mplib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/generic/context/luatex/luatex-mplib.lua')
-rw-r--r--tex/generic/context/luatex/luatex-mplib.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-mplib.lua b/tex/generic/context/luatex/luatex-mplib.lua
index c610fca57..c251d88c3 100644
--- a/tex/generic/context/luatex/luatex-mplib.lua
+++ b/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--