<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>I've raised an issue for this, but I thought I should mention it here too.</div><div><br></div><a href="https://github.com/lualatex/luamplib/issues/117">https://github.com/lualatex/luamplib/issues/117</a><div><br></div><div>I've recently updated my mactex 2023 install with tlmgr and I find that your change 2.25.0 breaks some of my existing code.</div><div><br></div><div>For example, this document</div><div><br></div><div><font face="Andale Mono">\documentclass[border=5mm]{standalone}<br>\usepackage{luamplib}<br>\begin{document}<br>\begin{mplibcode}<br>beginfig(1);<br>label(TEX("\large A"), origin);<br>endfig;<br>\end{mplibcode}<br>\end{document}</font><br></div><div><font face="Andale Mono"><br></font></div><div>used to compile OK, but now it gives a "TeX Capacity Exceeded" error as it expands some of the internal macros.</div><div><br></div><div>This is apparently because you are doing something special to the <string> argument to the TEX() macro. </div><div><br></div><div>To avoid this error I have to add "\mplibtextextlabel{enable}" to the preamble.</div><div><br></div><div>But then the TEX() macro is redundant! </div><div><br></div><div>I can see (some) reason for allowing this to cause an error:</div><div><br></div><div><span style="font-family: "Andale Mono";">\documentclass[border=5mm]{standalone}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\usepackage{luamplib}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\begin{document}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\begin{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">beginfig(1);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">label("\large A", origin);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">endfig;</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{document}</span></div><div><span style="font-family: "Andale Mono";"><br></span></div><div>And in most circumstances I am very happy to do this:</div><div><br></div><div><span style="font-family: "Andale Mono";">\documentclass[border=5mm]{standalone}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\usepackage{luamplib}</span></div><div><span style="font-family: "Andale Mono";">\mplibtextextlabel{enable}</span></div><div><span style="font-family: "Andale Mono";">\begin{document}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\begin{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">beginfig(1);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">label("\large A", origin);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">endfig;</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{document}</span></div><div><span style="font-family: "Andale Mono";"><br></span></div><div>But this form was occasionally useful, and removing it is annoying and confusing (at least).</div><div><br></div><div><span style="font-family: "Andale Mono";">\documentclass[border=5mm]{standalone}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\usepackage{luamplib}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\begin{document}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\begin{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">beginfig(1);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">label(TEX("\large A"), origin);</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">endfig;</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{mplibcode}</span><br style="font-family: "Andale Mono";"><span style="font-family: "Andale Mono";">\end{document}</span></div><div><span style="font-family: "Andale Mono";"><br></span></div><div>Any thoughts or comments??</div><div><br></div><div>Toby</div></body></html>