123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- (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.")
- (defvar TeX-mode-map nil)
- (defun TeX-define-common-keys (keymap) "\
- Define the keys that we want defined both in TeX-mode
- and in the TeX-shell." (byte-code "ÁÂÃ#ˆÁÄÅ#ˆÁÆÇ#ˆÁÈÉ#‡" [keymap define-key "" TeX-kill-job "" TeX-recenter-output-buffer "" TeX-show-print-queue "" TeX-print] 7))
- (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 "}" (quote up-list)) (define-key TeX-mode-map "{" (quote TeX-insert-braces)) (define-key TeX-mode-map "" (quote TeX-region)) (define-key TeX-mode-map "" (quote TeX-buffer)) (define-key TeX-mode-map "" (quote TeX-close-LaTeX-block)))
- (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., the file is empty), the value of TeX-default-mode is used." (interactive) (byte-code "ÁˆŠebˆÅÆÁÂ#… `ŠÇ ˆÅÈÂ#))…# Áˆ‚ ˆm?…4 ÉÊ!ƒ3 Ë‚4 Ì)ƒ@ Í!‚C Í!)‡" [mode nil t search-end TeX-default-mode search-forward "\\" beginning-of-line "%" looking-at "documentstyle" latex-mode plain-tex-mode funcall] 7))
- (fset (quote plain-TeX-mode) (quote plain-tex-mode))
- (fset (quote LaTeX-mode) (quote latex-mode))
- (defun plain-tex-mode nil "\
- Major mode for editing files of input for plain TeX.
- Makes $ and } display the characters they match.
- Makes \" insert `` when it seems to be the beginning of a quotation,
- and '' when it appears to be the end; it inserts \" only after a \\.
- Use \\[TeX-region] to run TeX on the current region, plus a \"header\"
- copied from the top of the file (containing macro definitions, etc.),
- running TeX under a special subshell. \\[TeX-buffer] does the whole buffer.
- \\[TeX-print] prints the .dvi file made by either of these.
- Use \\[validate-TeX-buffer] to check buffer for paragraphs containing
- mismatched $'s or braces.
- Special commands:
- \\{TeX-mode-map}
- Mode variables:
- TeX-directory
- Directory in which to create temporary files for TeX jobs
- run by \\[TeX-region] or \\[TeX-buffer].
- TeX-dvi-print-command
- Command string used by \\[TeX-print] to print a .dvi file.
- TeX-show-queue-command
- Command string used by \\[TeX-show-print-queue] to show the print
- queue that \\[TeX-print] put your job on.
- Entering plain-TeX mode calls the value of text-mode-hook,
- then the value of TeX-mode-hook, and then the value
- of plain-TeX-mode-hook." (interactive) (byte-code "ÆˆÇ ˆÈ‰ˆÉ‰ˆÊÂ!ˆË‰ˆÊÃ!ˆÌ‰ˆÊÄ!ˆÍ‰ˆÊÅ!ˆÎ‰ˆÏÐÑÒ#‡" [mode-name major-mode TeX-command TeX-start-of-header TeX-end-of-header TeX-trailer nil TeX-common-initialization "TeX" plain-TeX-mode make-local-variable "tex" "%**start of header" "%**end of header" "\\bye
- " run-hooks text-mode-hook TeX-mode-hook plain-TeX-mode-hook] 9))
- (defun latex-mode nil "\
- Major mode for editing files of input for LaTeX.
- Makes $ and } display the characters they match.
- Makes \" insert `` when it seems to be the beginning of a quotation,
- and '' when it appears to be the end; it inserts \" only after a \\.
- Use \\[TeX-region] to run LaTeX on the current region, plus the preamble
- copied from the top of the file (containing \\documentstyle, etc.),
- running LaTeX under a special subshell. \\[TeX-buffer] does the whole buffer.
- \\[TeX-print] prints the .dvi file made by either of these.
- Use \\[validate-TeX-buffer] to check buffer for paragraphs containing
- mismatched $'s or braces.
- Special commands:
- \\{TeX-mode-map}
- Mode variables:
- TeX-directory
- Directory in which to create temporary files for TeX jobs
- run by \\[TeX-region] or \\[TeX-buffer].
- TeX-dvi-print-command
- Command string used by \\[TeX-print] to print a .dvi file.
- TeX-show-queue-command
- Command string used by \\[TeX-show-print-queue] to show the print
- queue that \\[TeX-print] put your job on.
- Entering LaTeX mode calls the value of text-mode-hook,
- then the value of TeX-mode-hook, and then the value
- of LaTeX-mode-hook." (interactive) (byte-code "ÆˆÇ ˆÈ‰ˆÉ‰ˆÊÂ!ˆË‰ˆÊÃ!ˆÌ‰ˆÊÄ!ˆÍ‰ˆÊÅ!ˆÎ‰ˆÏÐÑÒ#‡" [mode-name major-mode TeX-command TeX-start-of-header TeX-end-of-header TeX-trailer nil TeX-common-initialization "LaTeX" LaTeX-mode make-local-variable "latex" "\\documentstyle" "\\begin{document}" "\\end{document}
- " run-hooks text-mode-hook TeX-mode-hook LaTeX-mode-hook] 9))
- (defun TeX-common-initialization nil (byte-code "É ˆÊ!ˆ
- ‰ˆ?ƒR Ë ‰ˆÌ!ˆÍÎÏ\"ˆÍÐÑ\"ˆÍÒÑ\"ˆÍÓÔ\"ˆÍÕÖ\"ˆÍר\"ˆÍÙØ\"ˆÍÚØ\"ˆÍÛÜ\"ˆÍÝÞ\"ˆÍßà\"‚U Ì!ˆáÄ!ˆâ‰ˆáÅ!ˆ‰ˆáÆ!ˆã‰ˆáÇ!ˆä‰ˆáÈ!ˆå‰‡" [TeX-mode-map local-abbrev-table text-mode-abbrev-table TeX-mode-syntax-table paragraph-start paragraph-separate comment-start comment-start-skip comment-indent-hook kill-all-local-variables use-local-map make-syntax-table set-syntax-table modify-syntax-entry 92 "/" 12 ">" 10 36 "$$" 37 "<" 34 "." 38 95 64 "_" 126 " " 39 "w" make-local-variable "^[ ]*$\\|^[\\\\]" "%" "[^\\]\\(\\\\\\\\\\)*%+ *" TeX-comment-indent] 23))
- (defun TeX-comment-indent nil (byte-code "ÁÂ!ƒ
|