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.
Sources | /macros/luatex/latex/luaoptions |
Documentation | |
Bug tracker | https://github.com/lualatex-tools/luaoptions/issues |
Repository | https://github.com/lualatex-tools/luaoptions |
Version | 0.8 2022-10-30 |
Licenses | MIT License |
Copyright | 2015–2022 The LuaLaTeX-Tools Project |
Maintainer | Jacques Peron |
Contained in | TeX Live as luaoptions MiKTeX as luaoptions |
Topics | Package support LuaTeX |
Download the contents of this package in one zip archive (39.0k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments