Function: ConTeXt-section-ref
ConTeXt-section-ref is a byte-compiled function defined in context.el.
Signature
(ConTeXt-section-ref)
Documentation
Hook to insert a reference after the sectioning command.
Insert this hook into ConTeXt-numbered-section-hook to prompt
for a label to be inserted after the sectioning command.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-section-ref ()
"Hook to insert a reference after the sectioning command.
Insert this hook into `ConTeXt-numbered-section-hook' to prompt
for a label to be inserted after the sectioning command."
(setq ConTeXt-reference
(completing-read
(TeX-argument-prompt t nil
"Comma separated list of references")
(LaTeX-label-list) nil nil))
;; No reference or empty string entered?
(if (string-equal "" ConTeXt-reference)
(setq ConTeXt-reference nil)))