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.

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

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

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author