Many thanks for your response, but unfortunately it does not solve my
problem. In your solution, var in TestVarB is the identifier of the
reference, which is "1", but I need the value of the reference, that is,
the number of the line where the \someline command is being called,
which is "31" or
On 9/4/2019 7:37 PM, Oliver von Criegern wrote:
Dear list members,
I want to process cross-references in ConTeXt/LuaTeX, that is, to do
some calculations in Lua with the page and line numbers returned by the
\at and \inlinerange commands.
But this does not work, as these commands are obvious
Dear list members,
I want to process cross-references in ConTeXt/LuaTeX, that is, to do
some calculations in Lua with the page and line numbers returned by the
\at and \inlinerange commands.
But this does not work, as these commands are obviously not being
expanded before they are passed to