Expand description
A LaTeX-like Key-Value object Key-Value Definitions
Provides an interface to define and access KeyVal definition.
Used in conjunction with KeyVals to
fully implement KeyVal pairs.
Structs§
- KeyVal
- Keyval
Config - Configuration fields for declaring a new KeyVal pattern
- Keyval
Meta - Metadata for a registered keyval, used by \xkvview.
Functions§
- define
- (Re-)defines this Key of kind ‘kind’.
- disable_
keyval - disable a given key-val
- enumerate_
keyvals - Enumerate all registered keyvals with their metadata (for \xkvview).
- has_
keyval - check if a key-value pair is defined
- split_
keyval_ source - Split a keyval dict’s TeX-source form (
"k=v, k2={v, 2}") into(key, value)pairs: comma/equals splitting at brace depth 0 only, one level of outer braces stripped from values, whitespace trimmed, empty keys dropped (keyval semantics).