diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/luacolor/luacolor.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/luacolor/luacolor.sty | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/luacolor/luacolor.sty b/Master/texmf-dist/tex/latex/luacolor/luacolor.sty index af5de64684d..b82069ea648 100644 --- a/Master/texmf-dist/tex/latex/luacolor/luacolor.sty +++ b/Master/texmf-dist/tex/latex/luacolor/luacolor.sty @@ -9,11 +9,11 @@ %% This is a generated file. %% %% Project: luacolor -%% Version: 2020-02-24 v1.15 +%% Version: 2021-02-17 v1.17 %% %% Copyright (C) %% 2007, 2009-2011 Heiko Oberdiek -%% 2016-2020 Oberdiek Package Support Group +%% 2016-2021 Oberdiek Package Support Group %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -89,7 +89,7 @@ \edef\LuaCol@AtEnd{\LuaCol@AtEnd\noexpand\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luacolor}% - [2020-02-24 v1.15 Color support via LuaTeX's attributes (HO)] + [2021-02-17 v1.17 Color support via LuaTeX's attributes (HO)] \RequirePackage{color} \ifx\directlua\@undefined \PackageError{luacolor}{% @@ -112,7 +112,7 @@ require("luacolor")% } \begingroup - \edef\x{\directlua{tex.write("2020-02-24 v1.15")}}% + \edef\x{\directlua{tex.write("2021-02-17 v1.17")}}% \edef\y{% \directlua{% if oberdiek.luacolor.getversion then % @@ -176,9 +176,15 @@ oberdiek.luacolor.process(\number#1)% }% } -\RequirePackage{atbegshi}[2011/01/30] -\AtBeginShipout{% - \luacolorProcessBox\AtBeginShipoutBox +\directlua{% + if luatexbase.callbacktypes.pre_shipout_filter then + token.get_next() + end +}\@secondoftwo\@gobble{ + \RequirePackage{atbegshi}[2011/01/30] + \AtBeginShipout{% + \luacolorProcessBox\AtBeginShipoutBox + } } \set@color \ifnum\outputmode=\@ne |