How can I have a variable in variable name while writing to aux file in the answer on this link: https://tex.stackexchange.com/a/416272/192717
For example, from the above link:
\edef\mysuffix{helloworld}
% define variable with variable suffix \mysuffix
\definevalue{tester\mysuffix}{42}
% and use it elsewhere
\usevalue{tester\mysuffix}
Currently, I get this understandable error:
! Undefined control sequence.
<argument> usevalue@tester\mysuffix
l.37 ... \global \@namedef {tester\mysuffix }...
AFAIK, the problem will be resolved if I we are able to expand and write the variable name in the aux file, something like this:
\global \@namedef {testerhelloworld }...

\documentclassand ending with\end{document}. – Steven B. Segletes Dec 12 '19 at 13:47