Function: LaTeX-section-toc

LaTeX-section-toc is a byte-compiled function defined in latex.el.

Signature

(LaTeX-section-toc)

Documentation

Hook to prompt for the LaTeX section entry in the table of contents.

Insert this hook into LaTeX-section-hook to allow the user to insert a different entry for the section in the table of contents.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-section-toc ()
  "Hook to prompt for the LaTeX section entry in the table of contents.
Insert this hook into `LaTeX-section-hook' to allow the user to insert
a different entry for the section in the table of contents."
  (setq LaTeX-toc (TeX-read-string "Toc Entry: "))
  (if (zerop (length LaTeX-toc))
      (setq LaTeX-toc nil)))