diff options
author | Karl Berry <karl@freefriends.org> | 2011-04-12 22:56:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-04-12 22:56:39 +0000 |
commit | 3c9b5c2960ae2455180bdb3a4e67bf10175b39af (patch) | |
tree | 53ac9731c23e82f60349ec920ed8d816738913dc /Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua | |
parent | f437333cf5d63d69f5ab9fd1eb553af4175037d0 (diff) |
oberdiek (12apr11)
git-svn-id: svn://tug.org/texlive/trunk@22061 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua')
-rw-r--r-- | Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua b/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua index 8c01b8b282e..f1acacbba45 100644 --- a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua +++ b/Master/texmf-dist/scripts/oberdiek/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 -- |