Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-06 Thread Oliver von Criegern
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"

Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-05 Thread Hans Hagen
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

[NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-04 Thread Oliver von Criegern
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