lualatex / luamplib

generic TeX package - including MetaPost code in LuaTeX documents
http://ctan.org/pkg/luamplib
14 stars 11 forks source link

Separate instances support for LaTeX environment and respective tests #100

Closed jemmybutton closed 2 years ago

jemmybutton commented 2 years ago

This adds the support for several named MetaPost instances in LaTeX mplibcode environment. Respective tests are added to test-luamplib-latex.tex.

Syntax is like so:

\begin{mplibcode}[instanceName]
% some mp code
\end{mplibcode}

Behaviour is as follows.