[NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
Rik Kabel
rik at panix.com
Wed Jan 19 18:39:14 CET 2022
This is still a problem with the current standalone.
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
%% The above example fails to compile when there is no tuc file,
%% complaining of a missing number in line 4. When lines 4
%% and 5 are removed and the file is compiled, producing
%% a .tuc file, and then they are restored, the example
%% compiles without error. The effect of having or not having
%% an associated .tuc file does seem a bit odd.
Surely there is a way to get the number from a label reference that can
then be converted to a numeral of choice.
--
Rik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220119/2d42ea48/attachment.htm>
More information about the ntg-context
mailing list