Good afternoon,
how can I use accentuated letters in substring function with luamplib ?
I tried this code, but It doesn't work. I knew the problem with accentuated
letters. But I search how to use it with substring.
----------------------
\documentclass{article}
\usepackage{luamplib}
\begin{document}
\begin{mplibcode}
beginfig(1);
string Test;
Test="AaeéB";
for k=0 upto (length Test-1):
label.top(TEX(substring(k,k+1) of Test),(k*1cm,0));
endfor;
endfig;
\end{mplibcode}
\end{document}
----------------------
Christophe Poulain