texlive[67714] Master/texmf-dist: lutabulartools (23jul23)

commits+karl at tug.org commits+karl at tug.org
Sun Jul 23 22:46:30 CEST 2023


Revision: 67714
          http://tug.org/svn/texlive?view=revision&revision=67714
Author:   karl
Date:     2023-07-23 22:46:30 +0200 (Sun, 23 Jul 2023)
Log Message:
-----------
lutabulartools (23jul23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/lutabulartools/README.md
    trunk/Master/texmf-dist/doc/luatex/lutabulartools/lutabulartools.pdf
    trunk/Master/texmf-dist/doc/luatex/lutabulartools/lutabulartools.tex
    trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.lua
    trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.sty

Modified: trunk/Master/texmf-dist/doc/luatex/lutabulartools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lutabulartools/README.md	2023-07-23 20:46:21 UTC (rev 67713)
+++ trunk/Master/texmf-dist/doc/luatex/lutabulartools/README.md	2023-07-23 20:46:30 UTC (rev 67714)
@@ -7,7 +7,7 @@
 
 # License (MIT)
 
-Copyright (C) 2021-2022 Kale Ewasiuk
+Copyright (C) 2021-2023 Kale Ewasiuk
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

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

Modified: trunk/Master/texmf-dist/doc/luatex/lutabulartools/lutabulartools.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lutabulartools/lutabulartools.tex	2023-07-23 20:46:21 UTC (rev 67713)
+++ trunk/Master/texmf-dist/doc/luatex/lutabulartools/lutabulartools.tex	2023-07-23 20:46:30 UTC (rev 67714)
@@ -1,6 +1,6 @@
 % Kale Ewasiuk (kalekje at gmail.com)
-% 2023-07-18
-% Copyright (C) 2021-2022 Kale Ewasiuk
+% 2023-07-22
+% Copyright (C) 2021-2023 Kale Ewasiuk
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the "Software"), to deal
@@ -67,7 +67,7 @@
 \usepackage{ltxtable}
 \usepackage{longtable}
 
-\usepackage[pl,extras]{penlight}
+\usepackage{penlightplus}
 
 
 \RequirePackage{lutabulartools}
@@ -100,7 +100,7 @@
 {xcolor},
 {colortbl},
 {luacode},
-{penlight}}.
+{penlightplus}}.
 
 \section{\texttt{\textbackslash settabular}}
 
@@ -455,6 +455,14 @@
 %\LTXtable{\linewidth}{ltxexample}
 
 
+\begin{tabular}{c}
+  \\
+  \\
+  \\
+  \\
+  \\
+  \\
+  \\
+\end{tabular}
 
-
 \end{document}

Modified: trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.lua	2023-07-23 20:46:21 UTC (rev 67713)
+++ trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.lua	2023-07-23 20:46:30 UTC (rev 67714)
@@ -1,6 +1,6 @@
 --% Kale Ewasiuk (kalekje at gmail.com)
---% 2023-07-18
---% Copyright (C) 2021-2022 Kale Ewasiuk
+--% 2023-07-22
+--% Copyright (C) 2021-2023 Kale Ewasiuk
 --%
 --% Permission is hereby granted, free of charge, to any person obtaining a copy
 --% of this software and associated documentation files (the "Software"), to deal
@@ -23,15 +23,16 @@
 --% OR OTHER DEALINGS IN THE SOFTWARE.
 
 
-local pl = _G['penlight'] or _G['pl'] -- penlight for this namespace is pl
-if (__PL_EXTRAS__ == nil) or  (__PENLIGHT__ == nil) then
-    tex.sprint('\\PackageError{lutabulartools}{penlight package with extras (or extrasglobals) option must be loaded before this package}{}')
-    tex.print('\\stop')
-end
-local T = pl.tablex
 
+
 local lutabt = {}
 
+local pl = penlight
+local T = pl.tablex
+
+lutabt.luakeys = require'luakeys'()  -- note: YAMLvars.sty will have checked existence of this already
+
+
 lutabt.tablelevel = 0
 
 lutabt.debug = false
@@ -98,7 +99,7 @@
 
 
 function lutabt.set_tabular(sett)
-    sett = luakeys.parse(sett)
+    sett = lutabt.luakeys.parse(sett)
     local trim = ''
     for k, v in pairs(sett) do
         if k == 'tbrule' then
@@ -435,7 +436,7 @@
 end
 
 function lutabt.mrX.set_midruleX(new_sett, def)
-    lutabt.mrX.settings = T.update(lutabt.mrX.settings, T.union(lutabt.mrX.resets, luakeys.parse(new_sett)))
+    lutabt.mrX.settings = T.update(lutabt.mrX.settings, T.union(lutabt.mrX.resets, lutabt.luakeys.parse(new_sett)))
     lutabt.debugtalk(lutabt.mrX.settings, 'new midruleX settings')
     if lutabt.mrX.settings.head ~= nil then
         lutabt.mrX.settings.cntr = -1*tonumber(lutabt.mrX.settings.head)

Modified: trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.sty	2023-07-23 20:46:21 UTC (rev 67713)
+++ trunk/Master/texmf-dist/tex/luatex/lutabulartools/lutabulartools.sty	2023-07-23 20:46:30 UTC (rev 67714)
@@ -1,6 +1,6 @@
 % Kale Ewasiuk (kalekje at gmail.com)
-% 2023-07-18
-% Copyright (C) 2021-2022 Kale Ewasiuk
+% 2023-07-22
+% Copyright (C) 2021-2023 Kale Ewasiuk
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
 % OR OTHER DEALINGS IN THE SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lutabulartools}[2023-07-18]
+\ProvidesPackage{lutabulartools}[2023-07-22]
 
 \RequirePackage{booktabs}
 \RequirePackage{multirow}
@@ -34,7 +34,7 @@
 \RequirePackage{xcolor}
 \RequirePackage{colortbl}
 \RequirePackage{luacode}
-\RequirePackage{penlight} % NEEDED, extras option must be used so penlight should be loaded before this...
+\RequirePackage{penlightplus} % NEEDED, extras option must be used so penlight should be loaded before this...
 
 \luadirect{lutabt = require('lutabulartools')}
 



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