Variable: TeX-format-list

TeX-format-list is a variable defined in tex.el.

Value

(("JLATEX" japanese-LaTeX-mode
  "\\\\\\(documentstyle\\|documentclass\\)[^%\n]*{u?\\(j[s-]?\\|t\\)\\(article\\|report\\|book\\|slides\\)")
 ("JTEX" japanese-plain-TeX-mode "-- string likely in Japanese TeX --")
 ("AMSTEX" AmSTeX-mode "\\\\document\\b")
 ("CONTEXT" ConTeXt-mode
  "\\\\\\(start\\(text\\|tekst\\|proje[ck]t\\|proiect\\|produ[ck]t\\|produs\\|environment\\|omgeving\\|umgebung\\|prostredi\\|mediu\\|component\\|onderdeel\\|komponent[ea]\\|componenta\\)\\|inizia\\(testo\\|progetto\\|prodotto\\|ambiente\\|componente\\)\\)\\|%.*?interface=")
 ("LATEX" LaTeX-mode
  "\\\\\\(begin\\|\\(?:sub\\)\\{0,2\\}section\\|chapter\\|documentstyle\\|documentclass\\)\\b")
 ("TEX" plain-TeX-mode "."))

Documentation

List of format packages to consider when choosing a TeX mode.

A list with an entry for each format package available at the site.

Each entry is a list with three elements.

1. The name of the format package (as string).
2. The name of the major mode (as symbol).
3. A regexp typically matched in the beginning of the file.

When entering TeX-tex-mode, each regexp is tried in turn in order to find the major mode to be used.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;;; The Mode

(defvar TeX-format-list
  '(("JLATEX" japanese-LaTeX-mode
     "\\\\\\(documentstyle\\|documentclass\\)[^%\n]*{u?\\(j[s-]?\\|t\\)\
\\(article\\|report\\|book\\|slides\\)")
    ("JTEX" japanese-plain-TeX-mode
     "-- string likely in Japanese TeX --")
    ("AMSTEX" AmSTeX-mode
     "\\\\document\\b")
    ("CONTEXT" ConTeXt-mode
     "\\\\\\(start\\(text\\|tekst\\|proje[ck]t\\|proiect\\|\
produ[ck]t\\|produs\\|environment\\|omgeving\\|umgebung\\|prostredi\\|mediu\\|\
component\\|onderdeel\\|komponent[ea]\\|componenta\\)\
\\|inizia\\(testo\\|progetto\\|prodotto\\|ambiente\\|componente\\)\
\\)\\|%.*?interface=")
    ("LATEX" LaTeX-mode
     "\\\\\\(begin\\|\\(?:sub\\)\\{0,2\\}section\\|chapter\\|documentstyle\\|\
documentclass\\)\\b")
    ("TEX" plain-TeX-mode "."))
  "List of format packages to consider when choosing a TeX mode.

A list with an entry for each format package available at the site.

Each entry is a list with three elements.

1. The name of the format package (as string).
2. The name of the major mode (as symbol).
3. A regexp typically matched in the beginning of the file.

When entering `TeX-tex-mode', each regexp is tried in turn in
order to find the major mode to be used.")