Luamplib + instancenames

Christophe Poulain <[email protected]> Tue, 10 Dec 2024 23:17:45 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <CAPDkhNMUp_vD1+5ippUuR_z3vx=F-ML+gF2f+sQHBHYADJ-RCg@mail.gmail.com>
--===============6314071391986991835==
Content-Type: multipart/alternative; boundary="0000000000005e30570628f1da5a"

--0000000000005e30570628f1da5a
Content-Type: text/plain; charset="UTF-8"

Before a recent update of luamplib (but I don't know the version number
which cause this :( ), this code

--------------------------------
\documentclass{article}
\usepackage{luamplib}
\begin{document}
\def\InstanceName{A}
\begin{mplibcode}[\InstanceName]
  beginfig(1);
  draw (0,0)--(50,50);
  pair H;
  H=(0,0);
  endfig;
\end{mplibcode}
\end{document}
-----------------------
worked. Now, it products nothing.
It's an update (and so, how make a personalize instancename ?) or a bug ?

Greetings
Christophe Poulain

--0000000000005e30570628f1da5a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Before a recent update of luamplib (but I don&#3=
9;t know the version number which cause this :( ), this code<br><br>-------=
-------------------------<br>\documentclass{article}<br>\usepackage{luampli=
b}<br>\begin{document}<br>\def\InstanceName{A}<br>\begin{mplibcode}[\Instan=
ceName]<br>=C2=A0 beginfig(1);<br>=C2=A0 draw (0,0)--(50,50);<br>=C2=A0 pai=
r H;<br>=C2=A0 H=3D(0,0);<br>=C2=A0 endfig;<br>\end{mplibcode}<br>\end{docu=
ment}<br>-----------------------<br></div>worked. Now, it products nothing.=
</div><div>It&#39;s an update (and so, how make a personalize instancename =
?) or a bug ?<br><br></div><div>Greetings<br></div><div>Christophe Poulain<=
br></div></div>

--0000000000005e30570628f1da5a--

--===============6314071391986991835==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
http://tug.org/metapost/

--===============6314071391986991835==--