texlive[64811] Master/texmf-dist: penlight (25oct22)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 25 22:14:24 CEST 2022


Revision: 64811
          http://tug.org/svn/texlive?view=revision&revision=64811
Author:   karl
Date:     2022-10-25 22:14:24 +0200 (Tue, 25 Oct 2022)
Log Message:
-----------
penlight (25oct22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/penlight/penlight.pdf
    trunk/Master/texmf-dist/doc/luatex/penlight/penlight.tex
    trunk/Master/texmf-dist/tex/luatex/penlight/penlight.sty
    trunk/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua

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

Modified: trunk/Master/texmf-dist/doc/luatex/penlight/penlight.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/penlight/penlight.tex	2022-10-25 20:14:12 UTC (rev 64810)
+++ trunk/Master/texmf-dist/doc/luatex/penlight/penlight.tex	2022-10-25 20:14:24 UTC (rev 64811)
@@ -1,5 +1,5 @@
 % Kale Ewasiuk (kalekje at gmail.com)
-% 2022-10-22
+% 2022-10-24
 % Copyright (C) 2021-2022 Kale Ewasiuk
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy

Modified: trunk/Master/texmf-dist/tex/luatex/penlight/penlight.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/penlight/penlight.sty	2022-10-25 20:14:12 UTC (rev 64810)
+++ trunk/Master/texmf-dist/tex/luatex/penlight/penlight.sty	2022-10-25 20:14:24 UTC (rev 64811)
@@ -1,5 +1,5 @@
 % Kale Ewasiuk (kalekje at gmail.com)
-% 2022-10-22
+% 2022-10-24
 % Copyright (C) 2021-2022 Kale Ewasiuk
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22,19 +22,19 @@
 % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
 % OR OTHER DEALINGS IN THE SOFTWARE.
 
-\ProvidesPackage{penlight}[2022-10-22]
+\ProvidesPackage{penlight}[2022-10-24]
 
 \RequirePackage{luacode}
 
-\IfFileExists{luakeys.lua}{}{\PackageError{penlight}{This package requires that luakeys be installed}{help text}}
+\IfFileExists{luakeys.lua}{}{\PackageError{penlight}{This package requires that luakeys be installed}{}}
 
 
 \DeclareOption{pl}{\luadirect{
-    pl = require('penlight')
+    pl = require'penlight'
     __PENLIGHT__ = 'pl'
 }}
 \DeclareOption{penlight}{\luadirect{
-    penlight = require('penlight')
+    penlight = require'penlight'
    __PENLIGHT__ = 'penlight'
 }}
 
@@ -52,7 +52,7 @@
 
 \luadirect{
 if __PENLIGHT__ == nil then
-    tex.print('\\PackageError{penlight}{penlight or pl option must be passed to penlight as the first option}{}')
+    tex.sprint('\\PackageError{penlight}{"penlight" or "pl" option must be passed to penlight as the first option}{}')
 end
 }
 

Modified: trunk/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua	2022-10-25 20:14:12 UTC (rev 64810)
+++ trunk/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua	2022-10-25 20:14:24 UTC (rev 64811)
@@ -1,5 +1,5 @@
 --% Kale Ewasiuk (kalekje at gmail.com)
---% 2022-10-22
+--% 2022-10-24
 --% Copyright (C) 2021-2022 Kale Ewasiuk
 --%
 --% Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -775,10 +775,7 @@
 
 
 
-
-
-
-if _PL_GLOBALS__ then
+if pl.hasval(__PL_GLOBALS__) then
     __PL_EXTRAS__ = 2
     -- iterators
     kpairs = pl.utils.kpairs



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