diff options
Diffstat (limited to 'tex/context/base/node-ref.lua')
-rw-r--r-- | tex/context/base/node-ref.lua | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tex/context/base/node-ref.lua b/tex/context/base/node-ref.lua index 2896c0d67..dc1410282 100644 --- a/tex/context/base/node-ref.lua +++ b/tex/context/base/node-ref.lua @@ -1,6 +1,6 @@ -if not modules then modules = { } end modules ['node-ref'] = { +if not modules then modules = { } end modules ['node-bck'] = { version = 1.001, - comment = "companion to node-ref.mkiv", + comment = "companion to node-bck.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" @@ -493,12 +493,12 @@ local function makedestination(width,height,depth,reference) for n=1,#name do local annot = nodeinjections.destination(width,height,depth,name[n],view) if not result then - result = annot + result, current = annot, annot else current.next = annot annot.prev = current + current = annot end - current = find_node_tail(annot) end if result then -- some internal error @@ -544,9 +544,6 @@ function references.injectcurrentset(h,d) -- used inside doifelse end end -commands.injectreference = references.inject -commands.injectcurrentreference = references.injectcurrentset - -- local function checkboth(open,close) |