summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/minim-mp/minim-lamp.ini
blob: 7900b3936aeebe3f84afe975d75fd72a4a4b8584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

\let\DUMP=\dump
\let\dump=\endinput

\input lualatex.ini

\toksapp\everyjob{%
    \documentclass{article}
    \input minim-mp
    \message{This is the minim-latex metapost processor.}\relax
    \directlua {require('minim-mp').on_line = true}%
    \newmetapostinstance[jobname="\jobname", mathmode="scaled"]\MP
    \runmetapost\MP{input "\jobname";}%
    \directlua {require('minim-mp').shipout(\the\MP)}%
    \closemetapostinstance\MP
    \csname @fileswfalse\endcsname\end{document}}

\let\dump=\DUMP
\dump