diff options
author | Karl Berry <karl@freefriends.org> | 2011-04-23 22:42:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-04-23 22:42:42 +0000 |
commit | b3a11ba60a021bc8ec849629e75c578fa2d0da62 (patch) | |
tree | 2b88e0f164af26d2a4c0eb0643910b3d4f51824a /Master/texmf-dist/scripts/oberdiek | |
parent | af6a118fb5e7779ff5e57eb79e384f667d6bc648 (diff) |
oberdiek (23apr11)
git-svn-id: svn://tug.org/texlive/trunk@22180 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek')
4 files changed, 40 insertions, 24 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua b/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua index 65daa18fedd..c564241b311 100644 --- a/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua +++ b/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua @@ -9,7 +9,7 @@ -- This is a generated file. -- -- Project: luacolor --- Version: 2011/04/22 v1.5 +-- Version: 2011/04/23 v1.6 -- -- Copyright (C) 2007, 2009-2011 by -- Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -36,6 +36,9 @@ -- oberdiek.luacolor-pre065.lua, luacolor-pre065.lua. -- module("oberdiek.luacolor", package.seeall) +function getversion() + tex.write("2011/04/23 v1.6") +end local ifpdf if tonumber(tex.pdfoutput) > 0 then ifpdf = true @@ -144,8 +147,8 @@ local mode = 2 -- luatex.pdfliteral.direct local WHATSIT = node.id("whatsit") local SPECIAL = 3 local PDFLITERAL = 8 -local DRY_FALSE = 0 -local DRY_TRUE = 1 +local DRY_FALSE = false +local DRY_TRUE = true local function traverse(list, color, dry) if not list then return color @@ -158,13 +161,14 @@ local function traverse(list, color, dry) for n in node.traverse(head) do local t = get_type(n) if t == LIST then - color = traverse(n, color, DRY_FALSE) + color = traverse(n, color, dry) elseif t == LIST_LEADERS then local color_after = traverse(n.leader, color, DRY_TRUE) if color == color_after then - traverse(n.leader, color, DRY_FALSE) + traverse(n.leader, color, DRY_FALSE or dry) else - traverse(n.leader, '', DRY_FALSE) + traverse(n.leader, '', DRY_FALSE or dry) + color = '' end elseif t == COLOR then local v = node.has_attribute(n, attribute) diff --git a/Master/texmf-dist/scripts/oberdiek/luacolor.lua b/Master/texmf-dist/scripts/oberdiek/luacolor.lua index 33d3b2b02a4..073eceb613d 100644 --- a/Master/texmf-dist/scripts/oberdiek/luacolor.lua +++ b/Master/texmf-dist/scripts/oberdiek/luacolor.lua @@ -9,7 +9,7 @@ -- This is a generated file. -- -- Project: luacolor --- Version: 2011/04/22 v1.5 +-- Version: 2011/04/23 v1.6 -- -- Copyright (C) 2007, 2009-2011 by -- Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -36,6 +36,9 @@ -- oberdiek.luacolor-pre065.lua, luacolor-pre065.lua. -- module("oberdiek.luacolor", package.seeall) +function getversion() + tex.write("2011/04/23 v1.6") +end local ifpdf if tonumber(tex.pdfoutput) > 0 then ifpdf = true @@ -144,8 +147,8 @@ local mode = 2 -- luatex.pdfliteral.direct local WHATSIT = node.id("whatsit") local SPECIAL = 3 local PDFLITERAL = 8 -local DRY_FALSE = 0 -local DRY_TRUE = 1 +local DRY_FALSE = false +local DRY_TRUE = true local function traverse(list, color, dry) if not list then return color @@ -158,13 +161,14 @@ local function traverse(list, color, dry) for n in node.traverse(head) do local t = get_type(n) if t == LIST then - color = traverse(n, color, DRY_FALSE) + color = traverse(n, color, dry) elseif t == LIST_LEADERS then local color_after = traverse(n.leader, color, DRY_TRUE) if color == color_after then - traverse(n.leader, color, DRY_FALSE) + traverse(n.leader, color, DRY_FALSE or dry) else - traverse(n.leader, '', DRY_FALSE) + traverse(n.leader, '', DRY_FALSE or dry) + color = '' end elseif t == COLOR then local v = node.has_attribute(n, attribute) diff --git a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor-pre065.lua b/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor-pre065.lua index 51db02959f2..2377911fbdf 100644 --- a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor-pre065.lua +++ b/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor-pre065.lua @@ -9,7 +9,7 @@ -- This is a generated file. -- -- Project: luacolor --- Version: 2011/04/22 v1.5 +-- Version: 2011/04/23 v1.6 -- -- Copyright (C) 2007, 2009-2011 by -- Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -36,6 +36,9 @@ -- oberdiek.luacolor-pre065.lua, luacolor-pre065.lua. -- module("oberdiek.luacolor", package.seeall) +function getversion() + tex.write("2011/04/23 v1.6") +end local ifpdf if tonumber(tex.pdfoutput) > 0 then ifpdf = true @@ -144,8 +147,8 @@ local mode = 2 -- luatex.pdfliteral.direct local WHATSIT = node.id("whatsit") local SPECIAL = 3 local PDFLITERAL = 8 -local DRY_FALSE = 0 -local DRY_TRUE = 1 +local DRY_FALSE = false +local DRY_TRUE = true local function traverse(list, color, dry) if not list then return color @@ -158,13 +161,14 @@ local function traverse(list, color, dry) for n in node.traverse(head) do local t = get_type(n) if t == LIST then - color = traverse(n, color, DRY_FALSE) + color = traverse(n, color, dry) elseif t == LIST_LEADERS then local color_after = traverse(n.leader, color, DRY_TRUE) if color == color_after then - traverse(n.leader, color, DRY_FALSE) + traverse(n.leader, color, DRY_FALSE or dry) else - traverse(n.leader, '', DRY_FALSE) + traverse(n.leader, '', DRY_FALSE or dry) + color = '' end elseif t == COLOR then local v = node.has_attribute(n, attribute) diff --git a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua b/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua index 0f5dafdd80b..b251322d45d 100644 --- a/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua +++ b/Master/texmf-dist/scripts/oberdiek/oberdiek.luacolor.lua @@ -9,7 +9,7 @@ -- This is a generated file. -- -- Project: luacolor --- Version: 2011/04/22 v1.5 +-- Version: 2011/04/23 v1.6 -- -- Copyright (C) 2007, 2009-2011 by -- Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -36,6 +36,9 @@ -- oberdiek.luacolor-pre065.lua, luacolor-pre065.lua. -- module("oberdiek.luacolor", package.seeall) +function getversion() + tex.write("2011/04/23 v1.6") +end local ifpdf if tonumber(tex.pdfoutput) > 0 then ifpdf = true @@ -144,8 +147,8 @@ local mode = 2 -- luatex.pdfliteral.direct local WHATSIT = node.id("whatsit") local SPECIAL = 3 local PDFLITERAL = 8 -local DRY_FALSE = 0 -local DRY_TRUE = 1 +local DRY_FALSE = false +local DRY_TRUE = true local function traverse(list, color, dry) if not list then return color @@ -158,13 +161,14 @@ local function traverse(list, color, dry) for n in node.traverse(head) do local t = get_type(n) if t == LIST then - color = traverse(n, color, DRY_FALSE) + color = traverse(n, color, dry) elseif t == LIST_LEADERS then local color_after = traverse(n.leader, color, DRY_TRUE) if color == color_after then - traverse(n.leader, color, DRY_FALSE) + traverse(n.leader, color, DRY_FALSE or dry) else - traverse(n.leader, '', DRY_FALSE) + traverse(n.leader, '', DRY_FALSE or dry) + color = '' end elseif t == COLOR then local v = node.has_attribute(n, attribute) |