diff options
author | Marius <mariausol@gmail.com> | 2010-10-20 00:20:12 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-10-20 00:20:12 +0300 |
commit | f93975efd76053e907d19114d4ba576ae44da134 (patch) | |
tree | bde9a37d4fd9dd8eae1ce89d3adb154cfe5d3d5d /tex/context/base/page-flt.lua | |
parent | 8009e0ec2449002df344f784da9fe6846abc774f (diff) | |
download | context-f93975efd76053e907d19114d4ba576ae44da134.tar.gz |
beta 2010.10.19 23:03
Diffstat (limited to 'tex/context/base/page-flt.lua')
-rw-r--r-- | tex/context/base/page-flt.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tex/context/base/page-flt.lua b/tex/context/base/page-flt.lua index 282ca0cc5..e3357a97e 100644 --- a/tex/context/base/page-flt.lua +++ b/tex/context/base/page-flt.lua @@ -11,7 +11,6 @@ if not modules then modules = { } end modules ['page-flt'] = { local insert, remove = table.insert, table.remove local find = string.find local setdimen, setbox, setcount, texbox = tex.setdimen, tex.setbox, tex.setcount, tex.box -local texwrite, texsprint, ctxcatcodes = tex.write, tex.sprint, tex.ctxcatcodes local copy_node_list = node.copy_list @@ -48,7 +47,7 @@ function floats.stacked(which) -- floats.thenofstacked end function floats.thestacked(which) - return texwrite(#stacks[which or default]) + return context(#stacks[which or default]) end function floats.push() @@ -168,7 +167,7 @@ end function floats.thevar(name,default) local value = last and last.data[name] or default if value and value ~= "" then - texsprint(ctxcatcodes,value) + context(value) end end @@ -246,7 +245,7 @@ function floats.thecheckedpagefloat(packed) end end end - texsprint(ctxcatcodes,result) + context(result) end local method = C((1-S(", :"))^1) |