diff options
Diffstat (limited to 'tex/context/base/mkxl/libs-imp-graphicsmagick.lmt')
-rw-r--r-- | tex/context/base/mkxl/libs-imp-graphicsmagick.lmt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/libs-imp-graphicsmagick.lmt b/tex/context/base/mkxl/libs-imp-graphicsmagick.lmt index 6f5d1d967..25a31a1c4 100644 --- a/tex/context/base/mkxl/libs-imp-graphicsmagick.lmt +++ b/tex/context/base/mkxl/libs-imp-graphicsmagick.lmt @@ -55,7 +55,13 @@ function graphicsmagick.convert(specification) -- report("run %s, input file %a, outputfile %a",nofruns,inputname,outputname) -- - gm_execute { inputfile = inputname, outputfile = outputname } + specification.inputfile = inputname + specification.outputfile = outputname + -- + local okay, detail = gm_execute(specification) + if not okay then + report("error %a",detail) + end -- statistics.stoptiming(graphicsmagick) end |