13 Dec
2023
13 Dec
'23
3:05 a.m.
Hi, dear list. Is there a proper "ConTeXt way" to do the following? \integerdef\lmao=0 \starttext Sum: \in[trick] % 10 from the result below +1\advance\lmao\plusone +2\advance\lmao\plustwo +3\advance\lmao\plusthree +4\advance\lmao\plusfour \normalexpanded{\reference[trick]{\the\lmao}} % 10 printed above \stoptext I want the result of a sum (either via Lua or TeX) to be printed before summands in text, but without the mess of reference options such as interaction, etc. Thank you in advance and sorry for any inconvenience. Regards, Jairo