diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-25 20:14:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-25 20:14:24 +0000 |
commit | b67e09e496eb5a847757d0586cea6ca2929afab0 (patch) | |
tree | 1c4c3ca5ca50ca6cf16ec9b8dde086da418a7ff1 /Master | |
parent | b3a1bb575cfbd99e6036e90235662a30d5e25e13 (diff) |
penlight (25oct22)
git-svn-id: svn://tug.org/texlive/trunk@64811 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/luatex/penlight/penlight.pdf | bin | 59406 -> 59499 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/penlight/penlight.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/penlight/penlight.sty | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/penlight/penlightextras.lua | 7 |
4 files changed, 9 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/luatex/penlight/penlight.pdf b/Master/texmf-dist/doc/luatex/penlight/penlight.pdf Binary files differindex 586bfa8dbf0..d8a0ac2f158 100644 --- a/Master/texmf-dist/doc/luatex/penlight/penlight.pdf +++ b/Master/texmf-dist/doc/luatex/penlight/penlight.pdf diff --git a/Master/texmf-dist/doc/luatex/penlight/penlight.tex b/Master/texmf-dist/doc/luatex/penlight/penlight.tex index f3ee02f2ec4..dad50c7be20 100644 --- a/Master/texmf-dist/doc/luatex/penlight/penlight.tex +++ b/Master/texmf-dist/doc/luatex/penlight/penlight.tex @@ -1,5 +1,5 @@ % Kale Ewasiuk (kalekje@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 diff --git a/Master/texmf-dist/tex/luatex/penlight/penlight.sty b/Master/texmf-dist/tex/luatex/penlight/penlight.sty index 5af886786e4..8180a839acf 100644 --- a/Master/texmf-dist/tex/luatex/penlight/penlight.sty +++ b/Master/texmf-dist/tex/luatex/penlight/penlight.sty @@ -1,5 +1,5 @@ % Kale Ewasiuk (kalekje@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 } diff --git a/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua b/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua index a6a5c1ff0aa..7d0a7eb6b50 100644 --- a/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua +++ b/Master/texmf-dist/tex/luatex/penlight/penlightextras.lua @@ -1,5 +1,5 @@ --% Kale Ewasiuk (kalekje@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 @@ end - - - -if _PL_GLOBALS__ then +if pl.hasval(__PL_GLOBALS__) then __PL_EXTRAS__ = 2 -- iterators kpairs = pl.utils.kpairs |