diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-01-27 16:14:16 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-01-27 16:14:16 +0100 |
commit | 95a1799032dc61dbca4a11e495be34b4397c8fec (patch) | |
tree | 4b24bf117a90ba704dedf19ab1b1a734d78f4e45 /tex/context/base/mkiv/lpdf-ano.lua | |
parent | 0cfeab235554eeee0dddd6c3f44d3939ab490ff1 (diff) | |
download | context-95a1799032dc61dbca4a11e495be34b4397c8fec.tar.gz |
2017-01-27 14:46:00
Diffstat (limited to 'tex/context/base/mkiv/lpdf-ano.lua')
-rw-r--r-- | tex/context/base/mkiv/lpdf-ano.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/lpdf-ano.lua b/tex/context/base/mkiv/lpdf-ano.lua index 15ce2ca82..138388c7c 100644 --- a/tex/context/base/mkiv/lpdf-ano.lua +++ b/tex/context/base/mkiv/lpdf-ano.lua @@ -70,8 +70,7 @@ local nodepool = nodes.pool ----- pdfannotation_node = nodepool.pdfannotation ----- pdfdestination_node = nodepool.pdfdestination ------ latelua_node = nodepool.latelua -local latelua_function_node = nodepool.lateluafunction -- still node ... todo +local new_latelua = nodepool.latelua local texgetcount = tex.getcount @@ -504,7 +503,7 @@ function nodeinjections.destination(width,height,depth,names,view) end end if doview then - return latelua_function_node(function() flushdestination(width,height,depth,names,view) end) + return new_latelua(function() flushdestination(width,height,depth,names,view) end) end end @@ -732,7 +731,7 @@ function nodeinjections.reference(width,height,depth,prerolled) if trace_references then report_reference("link: width %p, height %p, depth %p, prerolled %a",width,height,depth,prerolled) end - return latelua_function_node(function() finishreference(width,height,depth,prerolled) end) + return new_latelua(function() finishreference(width,height,depth,prerolled) end) end end @@ -741,7 +740,7 @@ function nodeinjections.annotation(width,height,depth,prerolled,r) if trace_references then report_reference("special: width %p, height %p, depth %p, prerolled %a",width,height,depth,prerolled) end - return latelua_function_node(function() finishannotation(width,height,depth,prerolled,r or false) end) + return new_latelua(function() finishannotation(width,height,depth,prerolled,r or false) end) end end |