CTAN Comprehensive TeX Archive Network

luaoptions – Option handling for Lua packages

This Lua 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.

Bug trackerhttps://github.com/lualatex-tools/luaoptions/issues
Version0.8 2022-10-30
LicensesMIT License
Copyright2015–2022 The Lua-Tools Project
MaintainerJacques Peron
Contained inTeX Live as luaoptions
MiKTeX as luaoptions
Package support

Download the contents of this package in one zip archive (39.0k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author