Variable: reftex-multiref-punctuation

reftex-multiref-punctuation is a customizable variable defined in reftex-vars.el.gz.

Value

((44 . ", ") (45 . "--") (43 . " and "))

Documentation

Punctuation strings for multiple references.

When marking is used in the selection buffer to select several references, this variable associates the 3 marking characters ,-+ with prefix strings to be inserted into the buffer before the corresponding \ref macro. This is used to string together whole reference sets, like eqs. 1,2,3-5,6 and 7 in a single call to reftex-reference. See manual.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-vars.el.gz
(defcustom reftex-multiref-punctuation '((?, . ", ") (?- . "--") (?+ . " and "))
  "Punctuation strings for multiple references.
When marking is used in the selection buffer to select several references,
this variable associates the 3 marking characters `,-+' with prefix strings
to be inserted into the buffer before the corresponding \\ref macro.
This is used to string together whole reference sets, like
`eqs. 1,2,3-5,6 and 7' in a single call to `reftex-reference'. See manual."
  :group 'reftex-referencing-labels
  :type '(repeat (cons (character) (string))))