diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-13 21:31:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-13 21:31:18 +0000 |
commit | 5f3fb5495c302e1763dddd4711b02aa8afd54174 (patch) | |
tree | f4fbd66dbe1ab17dbfcea2990992d971f0ed3fd4 /Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua | |
parent | 034a0a8f8c4b9a2a3566558fb7c06882c28d52b1 (diff) |
oberdiek (13may16)
git-svn-id: svn://tug.org/texlive/trunk@41097 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua')
-rw-r--r-- | Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua b/Master/texmf-dist/scripts/oberdiek/luacolor-pre065.lua index 5590cfe8fb4..f57aca97665 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/11/01 v1.8 +-- Version: 2016/05/13 v1.9 -- -- Copyright (C) 2007, 2009-2011 by -- Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -37,10 +37,10 @@ -- module("oberdiek.luacolor", package.seeall) function getversion() - tex.write("2011/11/01 v1.8") + tex.write("2016/05/13 v1.9") end local ifpdf -if tonumber(tex.pdfoutput) > 0 then +if tonumber(tex.outputmode or tex.pdfoutput) > 0 then ifpdf = true else ifpdf = false @@ -126,7 +126,7 @@ local node_types = { [node.id("whatsit")] = { [node.subtype("special")] = COLOR, [node.subtype("pdf_literal")] = COLOR, - [node.subtype("pdf_refximage")] = COLOR, +-- TODO (DPC) [node.subtype("pdf_refximage")] = COLOR, }, [node.id("glue")] = function(n) @@ -151,8 +151,8 @@ local function get_type(n) end local mode = 2 -- luatex.pdfliteral.direct local WHATSIT = node.id("whatsit") -local SPECIAL = 3 -local PDFLITERAL = 8 +local SPECIAL = node.subtype("special") +local PDFLITERAL = node.subtype("pdf_literal") local DRY_FALSE = false local DRY_TRUE = true local function traverse(list, color, dry) |