summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/penlight/penlight.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-26 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2022-10-26 03:00:55 +0000
commitfac21618bdcd44d7ca47228c8b856488b12ee6a2 (patch)
treee9819cfcefa3d3865508f8a48a871338e56340c1 /macros/luatex/generic/penlight/penlight.sty
parent170c76072a2b68eeeb23fa4a9e3dfbdee131e29c (diff)
CTAN sync 202210260300
Diffstat (limited to 'macros/luatex/generic/penlight/penlight.sty')
-rw-r--r--macros/luatex/generic/penlight/penlight.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/luatex/generic/penlight/penlight.sty b/macros/luatex/generic/penlight/penlight.sty
index 5af886786e..8180a839ac 100644
--- a/macros/luatex/generic/penlight/penlight.sty
+++ b/macros/luatex/generic/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
}