• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/textmodes/

Lines Matching defs:numbers

100     ;; Find active toc entry and initialize section-numbers
106 (reftex-init-section-numbers reftex-active-toc appendix)
131 (unless (assq 'label-numbers docstruct)
132 (push (cons 'label-numbers nil) docstruct))
275 (reftex-init-section-numbers nil t)
678 ;; Initialize section numbers
680 (reftex-init-section-numbers nil t)
681 (reftex-init-section-numbers reftex-active-toc appendix))
697 ;; We are done unless we use section numbers
913 ;; OPT-ARGS is a list of argument numbers which are optional.
986 ;; Variable holding the vector with section numbers
987 (defvar reftex-section-numbers (make-vector reftex-max-section-depth 0))
989 (defun reftex-init-section-numbers (&optional toc-entry appendix)
990 ;; Initialize the section numbers with zeros or with what is found
993 (numbers (nreverse (split-string (or (nth 6 toc-entry) "") "\\.")))
994 (depth (1- (length reftex-section-numbers)))
998 (aset reftex-section-numbers i 0)
999 (setq number-string (or (car numbers) "0"))
1001 (aset reftex-section-numbers i
1003 (aset reftex-section-numbers i (string-to-number number-string)))
1004 (pop numbers))
1006 (put 'reftex-section-numbers 'appendix appendix))
1010 ;; When LEVEL is non-nil, increase section numbers on that level.
1011 (let* ((depth (1- (length reftex-section-numbers))) idx n (string "")
1012 (appendix (get 'reftex-section-numbers 'appendix))
1020 (aset reftex-section-numbers
1021 level (1+ (aref reftex-section-numbers level))))
1027 (aset reftex-section-numbers idx 0))
1031 (aref reftex-section-numbers 0))))
1034 (setq n (aref reftex-section-numbers idx))