summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/oberdiek/luacolor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek/luacolor.lua')
-rw-r--r--Master/texmf-dist/scripts/oberdiek/luacolor.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/luacolor.lua b/Master/texmf-dist/scripts/oberdiek/luacolor.lua
index 49f7fcfc097..69040380829 100644
--- a/Master/texmf-dist/scripts/oberdiek/luacolor.lua
+++ b/Master/texmf-dist/scripts/oberdiek/luacolor.lua
@@ -8,7 +8,7 @@
--
-- This is a generated file.
--
--- Copyright (C) 2007, 2009, 2010 by
+-- Copyright (C) 2007, 2009-2011 by
-- Heiko Oberdiek <heiko.oberdiek at googlemail.com>
--
-- This work may be distributed and/or modified under the
@@ -29,7 +29,8 @@
-- and the derived files
-- luacolor.sty, luacolor.pdf, luacolor.ins, luacolor.drv,
-- luacolor-test1.tex, luacolor-test2.tex, luacolor-test3.tex,
--- oberdiek.luacolor.lua, luacolor.lua.
+-- oberdiek.luacolor.lua, luacolor.lua,
+-- oberdiek.luacolor-pre065.lua, luacolor-pre065.lua.
--
module("oberdiek.luacolor", package.seeall)
local ifpdf
@@ -67,7 +68,7 @@ end
function dvidetect()
local v = tex.box[0]
assert(v.id == node.id("hlist"))
- for v in node.traverse_id(node.id("whatsit"), v.list) do
+ for v in node.traverse_id(node.id("whatsit"), v.head) do
if v and v.subtype == 3 then -- special
local data = v.data
for pattern, driver in pairs(patterns) do
@@ -130,7 +131,7 @@ function traverse(list, color)
texio.write_nl("!!! Error: Wrong list type: " .. node.type(list.id))
return color
end
- local head = list.list
+ local head = list.head
for n in node.traverse(head) do
local type = type[n.id]
if type == LIST then
@@ -165,7 +166,7 @@ function traverse(list, color)
end
end
end
- list.list = head
+ list.head = head
return color
end
--