BSD 4_4 development
[unix-history] / usr / src / contrib / emacs-18.57 / lisp / tex-mode.elc
(provide (quote tex-mode))
(defvar TeX-directory "/tmp/" "\
*Directory in which to run TeX subjob. Temporary files are
created in this directory.")
(defvar TeX-dvi-print-command "lpr -d" "\
*Command string used by \\[TeX-print] to print a .dvi file.")
(defvar TeX-show-queue-command "lpq" "\
*Command string used by \\[TeX-show-print-queue] to show the print queue
that \\[TeX-print] put your job on.")
(defvar TeX-default-mode (quote plain-TeX-mode) "\
*Mode to enter for a new file when it can't be determined whether
the file is plain TeX or LaTeX or what.")
(defvar TeX-command nil "\
The command to run TeX on a file. The name of the file will be appended
to this string, separated by a space.")
(defvar TeX-trailer nil "\
String appended after the end of a region sent to TeX by \\[TeX-region].")
(defvar TeX-start-of-header nil "\
String used by \\[TeX-region] to delimit the start of the file's header.")
(defvar TeX-end-of-header nil "\
String used by \\[TeX-region] to delimit the end of the file's header.")
(defvar TeX-shell-cd-command "cd" "\
Command to give to shell running TeX to change directory. The value of
TeX-directory will be appended to this, separated by a space.")
(defvar TeX-zap-file nil "\
Temporary file name used for text being sent as input to TeX.
Should be a simple file name with no extension or directory specification.")
(defvar TeX-mode-syntax-table nil "\
Syntax table used while in TeX mode.")
(defun TeX-define-common-keys (keymap) "\
Define the keys that we want defined both in TeX-mode
and in the TeX-shell." (byte-code "Á\bÂÃ#\88Á\bÄÅ#\88Á\bÆÇ#\88Á\bÈÉ#\87" [keymap define-key "\ 3\v" TeX-kill-job "\ 3\f" TeX-recenter-output-buffer "\ 3\11" TeX-show-print-queue "\ 3\10" TeX-print] 7))
(defvar TeX-mode-map nil "\
Keymap for TeX mode")
(if TeX-mode-map nil (setq TeX-mode-map (make-sparse-keymap)) (TeX-define-common-keys TeX-mode-map) (define-key TeX-mode-map "\"" (quote TeX-insert-quote)) (define-key TeX-mode-map "
" (quote TeX-terminate-paragraph)) (define-key TeX-mode-map "\e}" (quote up-list)) (define-key TeX-mode-map "\e{" (quote TeX-insert-braces)) (define-key TeX-mode-map "\ 3\12" (quote TeX-region)) (define-key TeX-mode-map "\ 3\ 2" (quote TeX-buffer)) (define-key TeX-mode-map "\ 3\ 6" (quote TeX-close-LaTeX-block)))
(defvar TeX-shell-map nil "\
Keymap for the TeX shell. A shell-mode-map with a few additions")
(defun tex-mode nil "\
Major mode for editing files of input for TeX or LaTeX.
Trys to intuit whether this file is for plain TeX or LaTeX and
calls plain-tex-mode or latex-mode. If it cannot be determined
(e.g., there are no commands in the file), the value of
TeX-default-mode is used." (interactive) (byte-code "Ã\88ÃÃÃ\1a\19\18\8aeb\88ÇÈÃÄ#\89\11\85%