texlive[67987] Master: luacolor (19aug23)

commits+karl at tug.org commits+karl at tug.org
Sat Aug 19 22:43:52 CEST 2023


Revision: 67987
          http://tug.org/svn/texlive?view=revision&revision=67987
Author:   karl
Date:     2023-08-19 22:43:52 +0200 (Sat, 19 Aug 2023)
Log Message:
-----------
luacolor (19aug23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/luacolor/README.md
    trunk/Master/texmf-dist/doc/latex/luacolor/luacolor.pdf
    trunk/Master/texmf-dist/source/latex/luacolor/luacolor.dtx
    trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.lua
    trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Modified: trunk/Master/texmf-dist/doc/latex/luacolor/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/luacolor/README.md	2023-08-19 20:42:42 UTC (rev 67986)
+++ trunk/Master/texmf-dist/doc/latex/luacolor/README.md	2023-08-19 20:43:52 UTC (rev 67987)
@@ -1,7 +1,18 @@
-# luacolor
+# luacolor package for LaTeX
 
-luacolor package for LaTeX
+Version: 2023-08-18 v1.18
 
+Package luacolor implements color support based on LuaTeX's node attributes. 
 
-Package luacolor implements color support based
-on LuaTeX's node attributes.
+## Copyright (C) 
+
+*    2007, 2009-2011 Heiko Oberdiek 
+*    2016-2023 Oberdiek Package Support Group 
+
+## Issuetracker
+
+<https://github.com/ho-tex/luacolor/issues> 
+
+## License
+
+LaTeX Project Public License, version 1.3c or later.

Modified: trunk/Master/texmf-dist/doc/latex/luacolor/luacolor.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/luacolor/luacolor.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/luacolor/luacolor.dtx	2023-08-19 20:42:42 UTC (rev 67986)
+++ trunk/Master/texmf-dist/source/latex/luacolor/luacolor.dtx	2023-08-19 20:43:52 UTC (rev 67987)
@@ -1,12 +1,12 @@
 % \iffalse meta-comment
 %
 % File: luacolor.dtx
-% Version: 2021-02-17 v1.17
+% Version: 2023-08-18 v1.18
 % Info: Color support via LuaTeX's attributes
 %
 % Copyright (C)
 %    2007, 2009-2011 Heiko Oberdiek
-%    2016-2021 Oberdiek Package Support Group
+%    2016-2023 Oberdiek Package Support Group
 %    https://github.com/ho-tex/luacolor/issues
 %
 % This work may be distributed and/or modified under the
@@ -80,7 +80,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: luacolor 2021-02-17 v1.17 Color support via LuaTeX's attributes (HO)}
+\Msg{* Package: luacolor 2023-08-18 v1.18 Color support via LuaTeX's attributes (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -92,11 +92,11 @@
 This is a generated file.
 
 Project: luacolor
-Version: 2021-02-17 v1.17
+Version: 2023-08-18 v1.18
 
 Copyright (C)
    2007, 2009-2011 Heiko Oberdiek
-   2016-2021 Oberdiek Package Support Group
+   2016-2023 Oberdiek Package Support Group
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either
@@ -169,7 +169,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{luacolor.drv}%
-  [2021-02-17 v1.17 Color support via LuaTeX's attributes (HO)]%
+  [2023-08-18 v1.18 Color support via LuaTeX's attributes (HO)]%
 \documentclass{ltxdoc}
 \usepackage{holtxdoc}[2011/11/22]
 \usepackage{paralist}
@@ -189,7 +189,7 @@
 % \GetFileInfo{luacolor.drv}
 %
 % \title{The \xpackage{luacolor} package}
-% \date{2021-02-17 v1.17}
+% \date{2023-08-18 v1.18}
 % \author{Heiko Oberdiek\thanks
 % {Please report any issues at \url{https://github.com/ho-tex/luacolor/issues}}}
 %
@@ -236,9 +236,9 @@
 %
 % At last the attribute annotations of the nodes in the
 % output box must be analyzed to insert the necessary color whatsits.
-% Currently \LuaTeX\ lacks an appropriate callback function.
-% Therefore package \xpackage{atbegshi} is used to get control
-% before a box is shipped out.
+% (With older \LuaTeX\ that lack the appropriate callback function 
+% the package \xpackage{atbegshi} is used to get control
+% before a box is shipped out.)
 %
 % \begin{declcs}{luacolorProcessBox} \M{box}
 % \end{declcs}
@@ -256,7 +256,7 @@
 %   the paragraph building and page breaking, when a
 %   page is to be shipped out. Therefore it cannot
 %   break ligatures, because the components might occupy
-%   different space. Therefore it is the respondibility
+%   different space. Therefore it is the responsibility
 %   of the ligature forming process to deal with different
 %   colored glyphs that form a ligature. The user can avoid
 %   the problem entirely by explicitly breaking the ligature
@@ -332,7 +332,7 @@
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{luacolor}%
-  [2021-02-17 v1.17 Color support via LuaTeX's attributes (HO)]
+  [2023-08-18 v1.18 Color support via LuaTeX's attributes (HO)]
 %    \end{macrocode}
 %
 % \subsection{Check for \LuaTeX}
@@ -376,7 +376,7 @@
 %    \end{macrocode}
 %    \begin{macrocode}
 \begingroup
-  \edef\x{\directlua{tex.write("2021-02-17 v1.17")}}%
+  \edef\x{\directlua{tex.write("2023-08-18 v1.18")}}%
   \edef\y{%
     \directlua{%
       if oberdiek.luacolor.getversion then %
@@ -442,6 +442,8 @@
 %    \end{macro}
 %
 %    \begin{macro}{\set at color}
+% change 2023-08-18: added \cs{reset at color} so that \cs{mathcolor} can gobble it,
+% issue 7.   
 %    \begin{macrocode}
 \protected\def\set at color{%
   \LuaCol at setattribute\LuaCol at Attribute{%
@@ -449,6 +451,7 @@
       oberdiek.luacolor.get("\luaescapestring{\current at color}")%
     }%
   }%
+ \aftergroup\reset at color 
 }
 %    \end{macrocode}
 %    \end{macro}
@@ -614,7 +617,7 @@
 %    \begin{macro}{getversion()}
 %    \begin{macrocode}
 function luacolor.getversion()
-  tex.write("2021-02-17 v1.17")
+  tex.write("2023-08-18 v1.18")
 end
 %    \end{macrocode}
 %    \end{macro}
@@ -1154,8 +1157,11 @@
 %   \end{Version}
 %   \begin{Version}{2021-02-17 v1.17}
 %   \item Use \LaTeXe's new \verb|pre_shipout_filter| callback if it's available to
-%         allow coloring background and foregrund layer material
+%         allow coloring background and foreground layer material
 %   \end{Version}
+%   \begin{Version}{2023-08-18 v1.18}
+%   \item added \verb|\reset at color| to \verb|\set at color| for \verb|\mathcolor|, issue 7.
+%   \end{Version}
 % \end{History}
 %
 % \PrintIndex

Modified: trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.lua	2023-08-19 20:42:42 UTC (rev 67986)
+++ trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.lua	2023-08-19 20:43:52 UTC (rev 67987)
@@ -9,11 +9,11 @@
 --  This is a generated file.
 --  
 --  Project: luacolor
---  Version: 2021-02-17 v1.17
+--  Version: 2023-08-18 v1.18
 --  
 --  Copyright (C)
 --     2007, 2009-2011 Heiko Oberdiek
---     2016-2021 Oberdiek Package Support Group
+--     2016-2023 Oberdiek Package Support Group
 --  
 --  This work may be distributed and/or modified under the
 --  conditions of the LaTeX Project Public License, either
@@ -31,7 +31,6 @@
 --  Heiko Oberdiek and the Oberdiek Package Support Group
 --  https://github.com/ho-tex/luacolor/issues
 --  
---  
 --  This work consists of the main source file luacolor.dtx
 --  and the derived files
 --     luacolor.sty, luacolor.pdf, luacolor.ins, luacolor.drv,
@@ -41,7 +40,7 @@
 local luacolor = oberdiek.luacolor or {}
 oberdiek.luacolor = luacolor
 function luacolor.getversion()
-  tex.write("2021-02-17 v1.17")
+  tex.write("2023-08-18 v1.18")
 end
 local ifpdf = tonumber(tex.outputmode or tex.pdfoutput) > 0
 local prefix

Modified: trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.sty	2023-08-19 20:42:42 UTC (rev 67986)
+++ trunk/Master/texmf-dist/tex/latex/luacolor/luacolor.sty	2023-08-19 20:43:52 UTC (rev 67987)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: luacolor
-%% Version: 2021-02-17 v1.17
+%% Version: 2023-08-18 v1.18
 %% 
 %% Copyright (C)
 %%    2007, 2009-2011 Heiko Oberdiek
-%%    2016-2021 Oberdiek Package Support Group
+%%    2016-2023 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -31,7 +31,6 @@
 %% Heiko Oberdiek and the Oberdiek Package Support Group
 %% https://github.com/ho-tex/luacolor/issues
 %% 
-%% 
 %% This work consists of the main source file luacolor.dtx
 %% and the derived files
 %%    luacolor.sty, luacolor.pdf, luacolor.ins, luacolor.drv,
@@ -89,7 +88,7 @@
 \edef\LuaCol at AtEnd{\LuaCol at AtEnd\noexpand\endinput}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{luacolor}%
-  [2021-02-17 v1.17 Color support via LuaTeX's attributes (HO)]
+  [2023-08-18 v1.18 Color support via LuaTeX's attributes (HO)]
 \RequirePackage{color}
 \ifx\directlua\@undefined
   \PackageError{luacolor}{%
@@ -112,7 +111,7 @@
   require("luacolor")%
 }
 \begingroup
-  \edef\x{\directlua{tex.write("2021-02-17 v1.17")}}%
+  \edef\x{\directlua{tex.write("2023-08-18 v1.18")}}%
   \edef\y{%
     \directlua{%
       if oberdiek.luacolor.getversion then %
@@ -169,6 +168,7 @@
       oberdiek.luacolor.get("\luaescapestring{\current at color}")%
     }%
   }%
+ \aftergroup\reset at color
 }
 \def\reset at color{}
 \def\luacolorProcessBox#1{%

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2023-08-19 20:42:42 UTC (rev 67986)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2023-08-19 20:43:52 UTC (rev 67987)
@@ -3253,6 +3253,7 @@
  'ltxcmds'	=> 'etex',
  'lua-typo'	=> 'etex',
  'lua-ul'	=> 'etex-answer-y',	# https://github.com/latex3/latex2e/issues/558
+ 'luacolor'	=> 'etex',
  'luaindex'     => 'lualatex --shell-escape',
  'luamathalign'	=> 'etex-answer-y',
  'luatexja'     => 'lualatex',



More information about the tex-live-commits mailing list.