From 5f3fb5495c302e1763dddd4711b02aa8afd54174 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 May 2016 21:31:18 +0000 Subject: oberdiek (13may16) git-svn-id: svn://tug.org/texlive/trunk@41097 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/oberdiek/luacolor.sty | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/oberdiek') diff --git a/Master/texmf-dist/tex/latex/oberdiek/luacolor.sty b/Master/texmf-dist/tex/latex/oberdiek/luacolor.sty index 534bc5c159b..25be8b831e1 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/luacolor.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/luacolor.sty @@ -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 @@ -87,17 +87,19 @@ \edef\LuaCol@AtEnd{\LuaCol@AtEnd\noexpand\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luacolor}% - [2011/11/01 v1.8 Color support via LuaTeX's attributes (HO)] + [2016/05/13 v1.9 Color support via LuaTeX's attributes (HO)] \RequirePackage{infwarerr}[2010/04/08]% \RequirePackage{ifluatex}[2010/03/01]% \RequirePackage{ifpdf}[2011/01/30]% \RequirePackage{ltxcmds}[2011/04/18]% \RequirePackage{color} \ifluatex + \ifx\newattribute\@undefined \ltx@ifpackageloaded{luatexbase-attr}{% }{% \RequirePackage{luatex}[2010/03/09]% }% + \fi \else \@PackageError{luacolor}{% This package may only be run using LuaTeX% @@ -124,7 +126,7 @@ require("oberdiek.luacolor\ifnum\luatexversion<65 -pre065\fi")% } \begingroup - \edef\x{\LuaCol@directlua{tex.write("2011/11/01 v1.8")}}% + \edef\x{\LuaCol@directlua{tex.write("2016/05/13 v1.9")}}% \edef\y{% \LuaCol@directlua{% if oberdiek.luacolor.getversion then % @@ -186,7 +188,7 @@ \protected\def\set@color{% \LuaCol@setattribute\LuaCol@Attribute{% \LuaCol@directlua{% - oberdiek.luacolor.get("\luatexluaescapestring{\current@color}")% + oberdiek.luacolor.get("\luaescapestring{\current@color}")% }% }% } @@ -202,6 +204,9 @@ } \set@color \ifpdf + \ifx\pdfxform\@undefined + \let\pdfxform\saveboxresource + \fi \ltx@IfUndefined{pdfxform}{% \ifnum\luatexversion>36 % \directlua{% -- cgit v1.2.3