[metapost] [luatex] Using the mplib inside luatex

Taco Hoekwater taco at elvenkind.com
Sat Jan 10 12:19:42 CET 2009


Elie Roux wrote:
> Hans Hagen a écrit :
>> Elie Roux wrote:
>>
>>> It works perfectly now, thank you a lot! It'll be extremely useful 
>>> for further developments of my style! Does someone have the time to 
>>> put in into LaTeX?
>>
>> you can probably just load the files in latex because mp inclusion is 
>> not that sensitive for embedding/interference and is quite independent 
>> (contrary to the mpto pdf converter supp-pdf which does conversion and 
>> has to be hooked into graphic inclusion code), so wrapping in some 
>> .sty file should be enough
> 
> It is, thanks. Can the mplib code work in dvi mode too? 

Not using this approach, because DVI format doesn't support graphic
commands. But of course it is possible to have MPlib create Postscript
output using the postscript() function, save that in an external file,
and then include that image using graphics.sty or something similar.

Best wishes,
Taco


More information about the metapost mailing list