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

\catcode`\{=1 \catcode`\}=2
\def\fmtname{minim-mp}
\def\fmtversion{2021/1.0}

\input minim.ini

\toksapp\everyjob{%
    \message{This is the minim 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
    \bye}

\dump