New on CTAN: luaoptions
Luaoptions is a LuaLaTeX package providing extensive support for handling *options*, on package level and locally. it allows the declaration of sets of options, along with defaults, expected/allowed values and limited type checking.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luaoptions The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/luaoptions/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
luaoptions – Option handling for LuaLaTeX packages
This LuaLaTeX package provides extensive support for handling options, on package level and locally. It allows the declaration of sets of options, along with defaults, expected/allowed values and limited type checking. These options can be enforced as package options, changed at any point during a document, or overwritten locally by optional macro arguments. It is also possible to instantiate an Options object as an independent Lua object, without linking it to a package. Luaoptions can be used to enforce and prepopulate options, or it can be used to simply handle the parsing of optional key=value arguments into proper Lua tables.
|Copyright||2015–2022 The LuaLaTeX-Tools Project|