[metapost] LuaLaTeX + luamplib + string

Dohyun Kim nomosnomos at gmail.com
Fri Mar 29 01:29:19 CET 2024


Thank you for the report.
It is a new bug introduced in luamplib v2.27.
I will fix it as soon as possible.

2024년 3월 29일 (금) 오전 7:52, Christophe Poulain <chrpoulain at gmail.com>님이 작성:
>
> Hi,
>
> with this code, it seems a problem appear (see the pdf) (I work with TL2024 update). I join log and pdf.
> I tired with luamplib 2.25.3 and 2.22, the problem is the same.
>
> \documentclass{article}
> \usepackage{luamplib}
>
> \NewDocumentCommand\TestOne{m}{%
>   \begin{mplibcode}
>     beginfig(0);
>     vardef tata(text t)=
>     n:=0;
>     for pr=t:
>     n:=n+1;
>     label.top(TEX(pr),5mm*(n,0));
>     endfor;
>     enddef;
>     %
>     tata(#1);
>     endfig;
>   \end{mplibcode}
> }%
>
> \begin{document}
> \TestOne{"A","B"}
>
> \TestOne{"E","C"}
>
> \TestOne{"C","E"}
>
> \TestOne{"A","D"}
>
> \TestOne{"E","C"}
> \end{document}
>
> greetings.
> --
> http://tug.org/metapost/



-- 
Dohyun Kim
Seoul, Republic of Korea



More information about the metapost mailing list.