summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luakeys/luakeys.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/luakeys/luakeys.sty')
-rw-r--r--macros/luatex/generic/luakeys/luakeys.sty15
1 files changed, 12 insertions, 3 deletions
diff --git a/macros/luatex/generic/luakeys/luakeys.sty b/macros/luatex/generic/luakeys/luakeys.sty
index 8cb59cf5ef..4b5432faa3 100644
--- a/macros/luatex/generic/luakeys/luakeys.sty
+++ b/macros/luatex/generic/luakeys/luakeys.sty
@@ -1,5 +1,5 @@
%% luakeys.sty
-%% Copyright 2021-2022 Josef Friedrich
+%% Copyright 2021-2023 Josef Friedrich
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -17,5 +17,14 @@
% luakeys-debug.sty and luakeys-debug.tex.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{luakeys}[2022/12/23 0.11.0 Parsing key-value options using Lua.]
-\directlua{luakeys = require('luakeys')}
+\ProvidesPackage{luakeys}[2023/01/05 v0.12.0 Parsing key-value options using Lua.]
+\directlua{
+ if luakeys == nil then
+ luakeys = require('luakeys')()
+ luakeys.depublish_functions(luakeys)
+ end
+}
+
+\def\LuakeysGetPackageOptions{\luaescapestring{\@ptionlist{\@currname.\@currext}}}
+
+\def\LuakeysGetClassOptions{\luaescapestring{\@raw@classoptionslist}}