[lltx] luamplib: feature request
Ernst Reissner
rei3ner at arcor.de
Thu Mar 30 17:13:51 CEST 2023
Hello All,
I have an idea for an extension for luamplib.
What we can do in latex currently is add a mp-picture in an mplibcode
environment.
It is a little like the listing package providing an lstlisting
environment to put code into.
The difference is that luamplib executes the code rather than rendering it.
The package listing also provides a command lstinputlisting including
code from a file.
Something like that would also be very good in luamplib i think.
Then i could use the highlighting for metapost offered by my editor.
Else I must write \begin{mplibcode}input myMpFile.mp\end{mplimcode}
which is not really elegant.
Best Regards,
Ernst Reissner
More information about the lualatex-dev
mailing list.