diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-18 03:04:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-18 03:04:57 +0000 |
commit | 8141bb63ac908014fe5b6bc7ebed4d2889c014d4 (patch) | |
tree | d3edba26deeb1d57bb2414e11ed566181a8f1dcb /macros/luatex/generic/luakeys/README.md | |
parent | 3692808268baf9f2c56b28f61c266ef0efbb0fe6 (diff) |
CTAN sync 202211180304
Diffstat (limited to 'macros/luatex/generic/luakeys/README.md')
-rw-r--r-- | macros/luatex/generic/luakeys/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/luatex/generic/luakeys/README.md b/macros/luatex/generic/luakeys/README.md index 2bff44088b..bd30edb066 100644 --- a/macros/luatex/generic/luakeys/README.md +++ b/macros/luatex/generic/luakeys/README.md @@ -78,6 +78,9 @@ local defs = { ```lua local opts = { + -- Configure the delimiter that assigns a value to a key. + assignment_operator = '=', + -- Automatically convert dimensions into scaled points (1cm -> 1864679). convert_dimensions = false, @@ -97,6 +100,12 @@ local opts = { -- lower, snake, upper format_keys = { 'snake' }, + -- Configure the delimiter that marks the beginning of a group. + group_begin = '{', + + -- Configure the delimiter that marks the end of a group. + group_end = '}', + -- Listed in the order of execution hooks = { kv_string = function(kv_string) @@ -131,6 +140,9 @@ local opts = { end, }, + -- Configure the delimiter that separates list items from each other. + list_separator = ',', + -- If true, naked keys are converted to values: -- { one = true, two = true, three = true } -> { 'one', 'two', 'three' } naked_as_value = false, @@ -138,6 +150,12 @@ local opts = { -- Throw no error if there are unknown keys. no_error = false, + -- Configure the delimiter that marks the beginning of a string. + quotation_begin = '"', + + -- Configure the delimiter that marks the end of a string. + quotation_end = '"', + -- { key = { 'value' } } -> { key = 'value' } unpack = false, } |