Function: preview--counter-information

preview--counter-information is a byte-compiled function defined in preview.el.

Signature

(preview--counter-information BEGIN)

Documentation

Return repeated \setcounter declaration based on point BEGIN.

If preview-buffer-has-counters is non-nil, return string to insert into region tex file containing as many
\setcounter{COUNTER}{VALUE} as possible built from
preview-counters property near the point BEGIN. Otherwise, return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview--counter-information (begin)
  "Return repeated \\setcounter declaration based on point BEGIN.
If `preview-buffer-has-counters' is non-nil, return string to
insert into region tex file containing as many
\\setcounter{COUNTER}{VALUE} as possible built from
`preview-counters' property near the point BEGIN.  Otherwise,
return nil."
  (if preview-buffer-has-counters
      (mapconcat
       #'identity
       (cons
        ""
        (preview-counter-find begin))
       "\\setcounter")))