[luatex] Using the mplib inside luatex

Taco Hoekwater taco at elvenkind.com
Mon Jan 5 15:48:53 CET 2009



Elie Roux wrote:
> Taco Hoekwater a écrit :
>> Hi,
>> [...]
>>
>> * I hope that is all. ;-)
>>
>> Have fun,
> 
> Hi,
> 
> Thank you for your work!
> 
> I can't get it working on my computer: I installed mplib 1.100, it works
> fine, and according to the lua manual, the mplib in lua is based on this
> version, but I get this error on the example:
> 
> mplib: mp error: %s
> 
> it comes from the result.status of line 106 being 2, but result.error is
> empty, so I have no clue... Am I the only one in this case?

There is definately an oversight in metapost.report. Hopefully this
works better:

  function metapost.report(...)
      print("mplib: " .. format(...))
  end

So that you can at least diagnose the problem.

Best wishes,
Taco



More information about the luatex mailing list