[metapost] mpost or luamplib ?

Hans Hagen pragma at wxs.nl
Thu Aug 13 18:04:47 CEST 2015

On 8/13/2015 5:09 PM, Olivier Péault wrote:
> Hello!
> I'm looking for a way to know whether my metapost code is processed by
> metapost itself or by luamplib in lualatex. Reading the luamplib code
> (which I don't understand!!!) I found that the boolean mplib could do
> the job. Is it right ? Can I be sure that if mplib exists and is true,
> my code is processed by luamblib ?

if you run from within tex it's probably using the lib (i don't know 
luamplib but the name suggests that it uses th elib)

you can test it by processing 100 graphics that draw a circle: if it 
takes seconds then you're probably not using the lib


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the metapost mailing list