diff --git a/README.md b/README.md index 8ad860b..4ac69b6 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,10 @@ The following metadata fields can be set as strings: * `tcrf-references-enum-separator`: * the string used to separate the elements of an enumeration in a reference span; can be composed of any character not authorized in an identifier other than space or tab; * defaults to `;`. - * `tcrf-enum-separator`: + * `tcrf-multiple-delimiter`: * the string inserted between two elements (but the two last ones) in an enumeration; * defaults to a comma followed by a space. - * `tcrf-before-last-in-enum`: + * `tcrf-multiple-before-last`: * the string inserted between the two last elements in an enumeration; * defaults to `and` surrounded with spaces. * `tcrf-only-explicit-labels`: diff --git a/text-crossrefs.lua b/text-crossrefs.lua index ad959b7..cb708ca 100644 --- a/text-crossrefs.lua +++ b/text-crossrefs.lua @@ -56,6 +56,8 @@ local config = { pagenote_order = 'pagefirst', pagenote_separator = ', ', pagenote_at_end = '', + multiple_delimiter = ', ', + multiple_before_last = ' and ', references_range_separator = '>', range_separator = '-', only_explicit_labels = 'false',