[luatex] Problem with mplib format in Lua script

luigi scarso luigi.scarso at gmail.com
Sun Dec 20 20:32:06 CET 2009


On Sun, Dec 20, 2009 at 7:11 PM, Nicola <nvitacolonna at gmail.com> wrote:
> In article <4B2E5B99.9080208 at elvenkind.com>,
>  Taco Hoekwater <taco at elvenkind.com> wrote:
>
>> keeping mem files up-to-date is a bit of a pain, especially for the
>> embedded version of the library, so I would suggest not using them at
>> all (plain.mp is tiny anyway).
>>
>> Just set ini_version to true always and start with an
>>
>>    mp:execute("input plain")
>
> Thank you! That's something I couldn't have figured out myself. Now it
> makes sense to me why ini_version is true by default.
>
> One more thing: to generate a pdf file from the given figure(s), should
> I call an external program, such as mptopdf? I see that mplib outputs
> Postscript and SVG and the pdf library does not seem to suit this
> purpose (but maybe I'm wrong).

Sorry, maybe I  don't understand you question, but

luatex  = pdftex + metapost

So it should be  possible to use luatex as mpost interpreter that
output pdf direclty.
See for example
texlive/2009/texmf-dist/tex/luatex

(but maybe some editing is needed)

-- 
luigi


More information about the luatex mailing list