;ELC   
;;; Compiled by nelhage@mit.edu on Wed Mar 21 17:22:34 2007
;;; from file /home/nelhage/tmp/auctex-11.84/tex-buf.el
;;; in Emacs version 23.0.0.2
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`tex-buf.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(require 'tex)
#@30 *Use asynchronous processes.
(custom-declare-variable 'TeX-process-asynchronous '(not (eq system-type 'ms-dos)) '(#$ . -596) :group 'TeX-command :type 'boolean)
#@43 Name of shell used to parse TeX commands.
(custom-declare-variable 'TeX-shell '(if (memq system-type '(ms-dos emx windows-nt)) shell-file-name "/bin/sh") '(#$ . 763) :group 'TeX-command :type 'file)
#@62 Shell argument indicating that next argument is the command.
(custom-declare-variable 'TeX-shell-command-option '(cond ((memq system-type '(ms-dos emx windows-nt)) (cond ((boundp 'shell-command-option) shell-command-option) ((boundp 'shell-command-switch) shell-command-switch) (t "/c"))) (t "-c")) '(#$ . 968) :group 'TeX-command :type 'string)
#@100 Save all files belonging to the current document.
Return non-nil if document need to be re-TeX'ed.
(defalias 'TeX-save-document #[(name) "\302\230\203	 \303 \304\305\306 Q\307 B	#\207" [name TeX-file-extensions "" TeX-master-file TeX-check-files "." TeX-output-extension TeX-style-list] 4 (#$ . 1321) (list (TeX-master-file))])
#@177 Run command on the current document.

If a prefix argument OVERRIDE-CONFIRM is given, confirmation will
depend on it being positive instead of the entry in `TeX-command-list'.
(defalias 'TeX-command-master #[(&optional override-confirm) "\301\302\303 !\303#\207" [override-confirm TeX-command TeX-command-query TeX-master-file] 4 (#$ . 1660) "P"])
(byte-code "\301B\302\301!\204 \303\301\304\"\210\305B\302\305!\204 \303\305\304\"\210\306\301!\210\306\305!\207" [current-load-list TeX-command-region-begin default-boundp set-default nil TeX-command-region-end make-variable-buffer-local] 3)
#@58 Calculate line offset of POS, or of point if POS is nil.
(defalias 'TeX-current-offset #[(&optional pos) "\214~\210\212\303\211\n\203 \nb\210\304e`\"n\203 \305\202 \306\\,\207" [inhibit-field-text-motion inhibit-point-motion-hooks pos t count-lines 0 -1] 3 (#$ . 2264)])
#@321 Pin the TeX region specified by BEGIN and END.
If BEGIN is nil, the region is unpinned.

In interactive use, a positive prefix arg will pin the region,
a non-positive one will unpin it.  Without a prefix arg, if
a region is actively marked, it will get pinned.  If not, a
pinned region will get unpinned and vice versa.
(defalias 'TeX-pin-region #[(begin end) "\203 \304	!\204 \305 \305 	\306\223\210\n\306\223\210\307\310!\207\304	!\203. 	\306\211\223\210\n\306\211\223\210\306\211\307\311!\207" [begin TeX-command-region-begin TeX-command-region-end end markerp make-marker nil message "TeX region pinned." "TeX region unpinned."] 4 (#$ . 2547) (byte-code "\203\f \302!\303V\202 \304 \204 	?\203 \305 \306 D\207\307\207" [current-prefix-arg TeX-command-region-begin prefix-numeric-value 0 TeX-active-mark region-beginning region-end (nil nil)] 2)])
#@839 Run TeX on the current region.

Query the user for a command to run on the temporary file specified by
the variable `TeX-region'.  If there is an explicitly active region,
it is stored for later commands.  If not, a previously stored region
(can be also be set with `TeX-pin-region') overrides the current region,
if present.

If a prefix argument OVERRIDE-CONFIRM is given, prompting will
ignore the prompting flag from `TeX-command-list' and instead
will prompt iff the prefix is positive.

If the master file for the document has a header, it is written to the
temporary file before the region itself.  The document's header is all
text before TeX-header-end.

If the master file for the document has a trailer, it is written to
the temporary file before the region itself.  The document's trailer is
all text after TeX-trailer-start.
(defalias 'TeX-command-region #[(&optional override-confirm) "\203\n \306!\203 \307 \203 \310\311 \312 \"\210\206 \311 	\206\" \312 \313\314\f!\n{\315\316 !\317!$\210*\320\321\314\322\323\"!\314#\207" [TeX-command-region-begin TeX-command-region-end end begin TeX-default-extension override-confirm markerp TeX-active-mark TeX-pin-region region-beginning region-end TeX-region-create TeX-region-file file-name-nondirectory buffer-file-name TeX-current-offset TeX-command TeX-command-query nil t] 6 (#$ . 3419) "P"])
#@340 Run TeX on the current buffer.

Query the user for a command to run on the temporary file specified by
the variable TeX-region.  The region file file be recreated from the
visible part of the buffer.

If a prefix argument OVERRIDE-CONFIRM is given, confirmation will
depend on it being positive instead of the entry in `TeX-command-list'.
(defalias 'TeX-command-buffer #[(&optional override-confirm) "ed\303\n!*\207" [TeX-command-region-end TeX-command-region-begin override-confirm TeX-command-region] 2 (#$ . 4791) "P"])
#@174 Redisplay buffer of TeX job output so that most recent output can be seen.
The last line of the buffer is displayed on line LINE of the window, or
at bottom if LINE is nil.
(defalias 'TeX-recenter-output-buffer #[(line) "\303 \211\203- p\304\305\"\210\306!\210db\210\307\n\203  \310\n!\202$ \311 \312\245!\210\304	!)\2020 \313\314!)\207" [buffer old-buffer line TeX-active-buffer pop-to-buffer t bury-buffer recenter prefix-numeric-value window-height 2 message "No process for this document."] 4 (#$ . 5323) "P"])
#@37 Kill the currently running TeX job.
(defalias 'TeX-kill-job #[nil "\301 \211\203 \302!\202 \303\304!)\207" [process TeX-active-process kill-process error "No TeX process to kill"] 3 (#$ . 5848) nil])
#@140 Go to the buffer where you last issued a TeX command.
If there is no such buffer, or you already are in that buffer, find
the master file.
(defalias 'TeX-home-buffer #[nil "\203 \302!\203 p=\203 \303\304	!!\207\305!\207" [TeX-command-buffer TeX-default-extension buffer-name find-file TeX-master-file switch-to-buffer] 3 (#$ . 6059) nil])
#@104 Find the next error in the TeX output buffer.
Prefix by C-u to start from the beginning of the errors.
(defalias 'TeX-next-error #[(reparse) "\302 \204	 \303!\207\304r	q\210\305 )\306\"!\207" [reparse TeX-command-buffer TeX-active-buffer next-error TeX-process-get-variable TeX-active-master TeX-parse-function] 3 (#$ . 6412) "P"])
#@51 Find the previous error in the TeX output buffer.
(defalias 'TeX-previous-error #[(arg) "\301 \204	 \302!\207\303\304!\207" [arg TeX-active-buffer previous-error error "Jumping to previous error not supported"] 2 (#$ . 6752) "P"])
#@386 Run command NAME on the file returned by calling FILE.

FILE is the symbol of a function returning a file name.  The
function has one optional argument, the extension to use on the
file.

Use the information in `TeX-command-list' to determine how to run
the command.

If OVERRIDE-CONFIRM is a prefix argument, confirmation will be
asked if it is positive, and suppressed if it is not.
(defalias 'TeX-command #[(name file &optional override-confirm) "\306=\203 \307\202 \310=\203 \311\312\313\n\"A@\"\314\313\n\"8\f\203. \315\f!\316V\2024 \317\313\n\"8\203H \320\n\321P\311\211$ \322\323#\210\n#+\207" [file TeX-current-process-region-p name TeX-command-list override-confirm confirm TeX-region-file t TeX-master-file nil TeX-command-expand assoc 2 prefix-numeric-value 0 3 read-from-minibuffer " command: " TeX-process-set-variable TeX-command-next hook command TeX-command-Show] 6 (#$ . 6991)])
#@194 Expand COMMAND for FILE as described in LIST.
LIST default to `TeX-expand-list'.  As a special exception,
`%%' can be used to produce a single `%' sign in the output
without further expansion.
(defalias 'TeX-command-expand #[(command file &optional list) "\306\211\211\211\211\307\310\311\312\313\314\315D\316BB\317BBBDE\306\211\211\211\"#$%\320\321D&\2063 'B&\322\323\324&\"!%\325%($#\211$\203\234 \326\327(\"\330&\"\211#A@#AA\331 )\332\216\333\n!\203v \314\n	\"\202\211 \334\n!\203\205 \314\335\n!	\"\202\211 \336\337\n\"*\211;\203? \340\341\211($(\202? .\n(\207" [file arguments expansion string case-fold-search TeX-command-pos nil lambda (&rest args) shell-quote-argument concat (and (stringp TeX-command-pos) TeX-command-pos) apply quote (args) ((and (stringp TeX-command-pos) TeX-command-pos)) "%%" #[nil "T\301\207" [pos "%"] 1] regexp-opt mapcar car string-match match-string 0 assoc match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) TeX-function-p boundp eval error "Nonexpansion %s" replace-match t TeX-command-text entry pos pat list TeX-expand-list command save-match-data-internal] 14 (#$ . 7925)])
#@144 Check that DERIVED is newer than any of the ORIGINALS.
Try each original with each member of EXTENSIONS, in all directories
in TeX-check-path.
(defalias 'TeX-check-files #[(derived originals extensions) "\306\307\310\311\312#\313\310\314	\312#\315\310\314\n\312#\316\260\317 \203i @\320!A\203e \321\f\"\203e \322!\203Z \203Q \323\324\320!\325Q!\203Z \212q\210\326 \210)\327\"\203e \330*\202 +\207" [TeX-check-path originals extensions buffers regexp found nil "\\`\\(" mapconcat #[(dir) "\301\302\303!!!\207" [dir regexp-quote expand-file-name file-name-as-directory] 4] "\\|" "\\).*\\(" regexp-quote "\\)\\.\\(" "\\)\\'" buffer-list buffer-file-name string-match buffer-modified-p y-or-n-p "Save file " "? " save-buffer file-newer-than-file-p t buffer name TeX-save-query derived] 10 (#$ . 9128)])
#@73 *If non-nil, ask user for permission to save files before starting TeX.
(custom-declare-variable 'TeX-save-query 't '(#$ . -9968) :group 'TeX-command :type 'boolean)
(byte-code "\301B\302\301!\204 \303\301\304\"\210\304\207" [current-load-list TeX-command-history default-boundp set-default nil] 3)
#@45 Query the user for what TeX command to use.
(defalias 'TeX-command-query #[(name) "	\230\203 \306\307\310 QC\n#\202 \311\312 !\203 \202B \f\313>\2037 \306\314P\315\316\317 \"#\2037 \202B \320\321#\206B \322\206[ \323\324\325Q\326\f!\327\322\327\330& \331 !\"\242\211 \203v  \332\230\204v  \202x +\207" [name TeX-region TeX-file-extensions TeX-command-default major-mode BibTeX-file-extensions TeX-check-files "." TeX-output-extension TeX-save-document TeX-master-file (doctex-mode latex-mode) ".bbl" mapcar car LaTeX-bibliography-list TeX-process-get-variable TeX-command-next t completing-read "Command: (default " ") " TeX-mode-specific-command-list nil TeX-command-history TeX-assoc "" TeX-command-BibTeX TeX-command-Show default completion-ignore-case TeX-command-force answer TeX-command-list] 8 (#$ . 10276)])
#@55 The default command next time TeX-command is invoked.
(defvar TeX-command-next nil (#$ . 11131))
(make-variable-buffer-local 'TeX-command-next)
#@97 Query the user for a printer name.
QUEUE is non-nil when we are checking for the printer queue.
(defalias 'TeX-printer-query #[(&optional queue) "\306\211\211\203 \307\f\211\204% \310\311!\210\202% \312\211\204% \310\313!\210\203A \314\315\316\2059 \317\320QP\")\202B \321\322\"\242\206M \211\203X \321\230\203_ \211\202c \211\203% \323\"	8\206u \n)\324\325\"\203\204 \310\326\325\"\210\324\325\"\203\231 \327\314\211\330%\202\204 ,\207" [printer element command queue TeX-queue-command TeX-print-command nil 2 error "Need to customize `TeX-queue-command'" 1 "Need to customize `TeX-print-command'" t completing-read "Printer: " "(default " ") " "" TeX-assoc assoc string-match "%p" "Don't use %s in printer names" replace-match 0 TeX-printer-list completion-ignore-case TeX-printer-default entry expansion] 7 (#$ . 11281)])
#@53 Check STYLES compared to the current style options.
(defalias 'TeX-style-check #[(styles) "\302 	\203 \303	@@\304#\204 	A\211\204 )	\203\" 	@A@\207\305\207" [files styles TeX-style-list TeX-member string-match ""] 5 (#$ . 12164)])
#@50 Get the extension of the current TeX output file
(defalias 'TeX-output-extension #[nil "<\203 @\207\301\302 \300#\206 \207" [TeX-output-extension TeX-process-get-variable TeX-active-master] 4 (#$ . 12407)])
#@37 Start `TeX-view' at mouse position.
(defalias 'TeX-view-mouse #[(event) "\212\302\211:\203 A@\202 \303 `\304\305F)\211@)!q\210\211:\203* A@\2020 \303 `\304\305F)\306	8\206I 	A@:\203F 	A@@\202I 	A@)b\210\307 )\207" [event position window-buffer selected-window (0 . 0) 0 5 TeX-view] 6 (#$ . 12626) "e"])
#@131 Start a viewer without confirmation.
The viewer is started either on region or master file,
depending on the last command issued.
(defalias 'TeX-view #[nil "\301\302 !\303!\203 \304\305\301\306#\202 \307\310\")\207" [output-file TeX-active-master TeX-output-extension file-exists-p TeX-command "View" 0 message "Output file %S does not exist."] 4 (#$ . 12946) nil])
#@96 Check STYLES compared to the current view output file extension and
the current style options.
(defalias 'TeX-output-style-check #[(styles) "\304 \305 \n\203F \306\n@@	\"\203? \n@A@\211<\2035 \2031 \307@\306#\2031 A\211\204! \202; \307\306#?)\203F \nA\211\204\n \n\203Q \310\n@8\202R \311*\207" [files ext styles style TeX-output-extension TeX-style-list string-match TeX-member 2 "%v"] 5 (#$ . 13323)])
#@101 Hooks to run after starting an asynchronous process.
Used by Japanese TeX to set the coding system.
(defvar TeX-after-start-process-function nil (#$ . 13746))
#@62 *If non-nil, show output of TeX compilation in other window.
(custom-declare-variable 'TeX-show-compilation 'nil '(#$ . -13911) :group 'TeX-command :type 'boolean)
#@82 Create a process for NAME using COMMAND to process FILE.
Return the new process.
(defalias 'TeX-run-command #[(name command file) "\306	!\307 p\310	!\210\311\312\n\"\210\313\f!\210\fq\210\314 \210\315\316!\210\317\320'\315\312!\210\n\n\2037 \321!\210\322(\323	\324)\325\261\210(*+\203S \326\f!\210\202W \327\330!\210\331,\332-.\203\242 \333(\f/0)%12\203| 21!\210\3341!\210\3351\336\"\210\3371\340\"\210\3411!d\320\223\21013B31)\202\272 \3424\343\344 !\210\345\317!\210\346/\320\f\3200)&,\207" [TeX-command-default file command-buff dir buffer default TeX-process-buffer-name TeX-master-directory TeX-process-check set-default TeX-command-buffer get-buffer-create erase-buffer make-local-variable line-number-display-limit 0 nil cd "Running `" "' on `" "' with ``" "''\n" display-buffer message "Type `C-c C-l' to display results of compilation." TeX-parse-command #[(process name) "\301\302P!\207" [name message ": done."] 3] start-process TeX-command-mode-line set-process-filter TeX-command-filter set-process-sentinel TeX-command-sentinel process-mark ": run" set-buffer-modified-p buffer-modified-p sit-for call-process TeX-output-extension name command mode-name TeX-show-compilation TeX-parse-function TeX-sentinel-function TeX-process-asynchronous TeX-shell TeX-shell-command-option process TeX-after-start-process-function compilation-in-progress mode-line-process] 7 (#$ . 14081)])
#@76 Remember TeX command to use to NAME and set corresponding output extension
(defalias 'TeX-run-set-command #[(name command) "\n\203\n \306\202 \307\310\f\2052 \311@@\f\"\203* @A@\312\211\202 A\211\204 \312*\207" [name TeX-command-default TeX-PDF-mode TeX-output-extension TeX-command-output-list lst "pdf" "dvi" t string-match nil case-fold-search command] 4 (#$ . 15522)])
#@66 Create a process for NAME using COMMAND to format FILE with TeX.
(defalias 'TeX-run-format #[(name command file) "\306	\"\210\307\n!\310	\n#\212\fq\210\311 \210\312\313\203, \314\315!\210\316\317\"\210+\207" [name command file process buffer TeX-parse-function TeX-run-set-command TeX-process-buffer-name TeX-run-command TeX-parse-reset TeX-parse-TeX TeX-TeX-sentinel "[0]" TeX-format-mode-line set-process-filter TeX-format-filter TeX-sentinel-function TeX-process-asynchronous TeX-current-page] 5 (#$ . 15918)])
#@208 Reports presence of errors after `TeX-run-TeX'.
To test whether the current buffer has an compile error from last
run of `TeX-run-TeX', use
  (plist-get TeX-error-report-switches (intern (TeX-master-file)))
(defvar TeX-error-report-switches nil (#$ . 16453))
#@66 Create a process for NAME using COMMAND to format FILE with TeX.
(defalias 'TeX-run-TeX #[(name command file) "\306 \307	\310#\307	\311!\312#)\n\203 \313\f#\207\314\f#\2035 \202; \315#*\207" [current-master TeX-error-report-switches TeX-interactive-mode name command file TeX-master-file plist-put TeX-current-master intern nil TeX-run-interactive TeX-run-format TeX-synchronous-sentinel TeX-sentinel-default-function sentinel-function process TeX-sentinel-function TeX-process-asynchronous] 4 (#$ . 16718)])
(defalias 'TeX-run-LaTeX 'TeX-run-TeX)
#@69 Create a process for NAME using COMMAND to format FILE with BibTeX.
(defalias 'TeX-run-BibTeX #[(name command file) "\306	\n#\307\203 \202 \310\n#)\207" [name command file process TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-BibTeX-sentinel TeX-synchronous-sentinel] 4 (#$ . 17300)])
#@70 Ignore first and third argument, start compile with second argument.
(defalias 'TeX-run-compile #[(name command file) "\301!\207" [command compile] 2 (#$ . 17621)])
#@76 Ignore first and third argument, start shell-command with second argument.
(defalias 'TeX-run-shell #[(name command file) "\303 \304	!\210\n\305=\205 \306 )\207" [default-directory command system-type TeX-master-directory shell-command ms-dos redraw-display] 2 (#$ . 17793)])
#@60 Start process with second argument, discarding its output.
(defalias 'TeX-run-discard #[(name command file) "\304 \305	\306\307\306\n&)\207" [default-directory TeX-shell TeX-shell-command-option command TeX-master-directory call-process nil 0] 7 (#$ . 18077)])
#@154 Call process with second argument in the foreground, discarding its output.
With support for MS-DOS, especially when dviout is used with PC-9801 series.
(defalias 'TeX-run-discard-foreground #[(name command file) "\305\300!\203 \306=\203 \307\310!\210\311	\n\312=\205 \313\314\211\f&\210\n\312=\205( \315 \207" [dos-machine-type TeX-shell system-type TeX-shell-command-option command boundp pc98 send-string-to-terminal "[2J" call-process ms-dos "con" nil redraw-display] 7 (#$ . 18348)])
(defalias 'TeX-run-dviout 'TeX-run-discard-foreground)
#@73 Start process with second argument, show output when and if it arrives.
(defalias 'TeX-run-background #[(name command file) "\306 \307\310!q\210\203 \311!\210\312 \210\313	\314P\315\n\f%\203' !\210\316\317\"\210\320!*\207" [dir name TeX-shell TeX-shell-command-option command process TeX-master-directory get-buffer-create "*TeX background*" cd erase-buffer start-process " background" nil set-process-filter TeX-background-filter process-kill-without-query TeX-after-start-process-function] 6 (#$ . 18905)])
#@37 Start process with second argument.
(defalias 'TeX-run-silent #[(name command file) "\306 \307\310!q\210\203 \311!\210\312 \210\313	\314P\315\n\f%\203' !\210\316!*\207" [dir name TeX-shell TeX-shell-command-option command process TeX-master-directory get-buffer-create "*TeX silent*" cd erase-buffer start-process " silent" nil process-kill-without-query TeX-after-start-process-function] 6 (#$ . 19433)])
#@215 Run TeX interactively.
Run command in a buffer (in comint-shell-mode) so that it accepts user
interaction. If you return to the file buffer after the TeX run,
Error parsing on C-x ` should work with a bit of luck.
(defalias 'TeX-run-interactive #[(name command file) "\306	\"\210\307\310!\210\n\311!\312\313 p\f!\"#$%\314!\210\315\316!\"\210$\220\312\221\210$q\210\317\316!\210!\312&\"\203F \320\"!\210\321\322\323	\324\261\210\325$'\312(	D%\210\326 \210\327\330\331\"\210)%\332$!#*\203| *#!\210\333#!\210\334#\335\"\210\336#!d\312\223\210#+B+\337 \210\340,\211-.\207" [name command TeX-command-default file TeX-sentinel-default-function sentinel-function TeX-run-set-command require comint TeX-process-buffer-name nil TeX-master-directory TeX-process-check set-default TeX-command-buffer make-local-variable cd "Running `" "' on `" "' with ``" "''\n" comint-exec comint-mode add-hook comint-output-filter-functions TeX-interactive-goto-prompt get-buffer-process TeX-command-mode-line set-process-sentinel TeX-command-sentinel process-mark TeX-parse-reset TeX-parse-TeX command-buff dir process buffer default buffer-read-only TeX-shell TeX-shell-command-option mode-name TeX-after-start-process-function compilation-in-progress TeX-parse-function TeX-sentinel-function] 7 (#$ . 19858)])
#@107 Execute Lisp function or function call given as the string COMMAND.
Parameters NAME and FILE are ignored.
(defalias 'TeX-run-function #[(name command file) "\302!@\303	!\203 	 \202 \304	!)\207" [command fun read-from-string functionp eval] 2 (#$ . 21197)])
#@167 Run ispell on all open files belonging to the current document.
This function is *obsolete* and only here for compatibility
reasons.  Use `TeX-run-function' instead.
(defalias 'TeX-run-ispell-on-document #[(command ignored name) "\300\301!\207" [TeX-ispell-document ""] 2 (#$ . 21465) nil])
#@59 Process TeX command output buffer after the process dies.
(defalias 'TeX-synchronous-sentinel #[(name file result) "\306!\212	q\210db\210\307\n\203 \310!\203 \311\202 \312\313\314 \315\316O\261\210\317eb\210\320\"\210\321\322 !*\207" [file buffer mode-name result mode-line-process TeX-command-Show TeX-process-buffer "\n" zerop " finished" " exited" " at " current-time-string 0 -5 ": exit" nil set-buffer-modified-p buffer-modified-p TeX-command-next TeX-sentinel-function name] 7 (#$ . 21762)])
#@59 Process TeX command output buffer after the process dies.
(defalias 'TeX-command-sentinel #[(process msg) "\306 \307	!\310	!\311\n!\204 \312	\313\"\210\314	\313\"\210\202^ \315	!\316>\203^ \212\nq\210db\210\317\320\f\321$\210\322u\210\323\324 \325\326O\261\210\327u\210\330	!\210eb\210	\"\210\331	!\210\332\333 !\210)+\334	 \"\211 \207" [TeX-transient-master process buffer name mode-name msg TeX-active-master process-buffer process-name buffer-name set-process-buffer nil set-process-sentinel process-status (signal exit) insert-before-markers "\n" " " -1 " at " current-time-string 0 -5 1 TeX-command-mode-line delete-process set-buffer-modified-p buffer-modified-p delq TeX-command-Show TeX-command-next TeX-sentinel-function compilation-in-progress] 5 (#$ . 22282)])
#@98 Hook to cleanup TeX command buffer after temination of PROCESS.
NAME is the name of the process.
(defvar TeX-sentinel-function #[(process name) "\300\207" [nil] 1] (#$ . 23075))
(make-variable-buffer-local 'TeX-sentinel-function)
#@158 Default for TeX-sentinel-function. To be set in major mode.
Hook to cleanup TeX command buffer after temination of PROCESS.
NAME is the name of the process.
(defvar TeX-sentinel-default-function #[(process name) "\300\207" [nil] 1] (#$ . 23312))
(make-variable-buffer-local 'TeX-sentinel-default-function)
#@46 Cleanup TeX output buffer after running TeX.
(defalias 'TeX-TeX-sentinel #[(process name) "\304	\"?\205 \305	\306\307 Q!\210\n\211\207" [process name TeX-command-Show TeX-command-next TeX-TeX-sentinel-check message ": formatted " TeX-current-pages] 4 (#$ . 23624)])
(defalias 'TeX-current-pages #[nil "\204 \301\207\302\303\"\203 \304P\207\305P\207" [TeX-current-page "some pages." string-match "[^0-9]1[^0-9]" " page." " pages."] 3])
#@83 Cleanup TeX output buffer after running TeX.
Return nil ifs no errors were found.
(defalias 'TeX-TeX-sentinel-check #[(process name) "\212db\210\306\307\310\311#\203( \312\313!\314\312\315!\316Q\317\320\"\203% \321\313\"\202& \322))\2031 \323!\210\324\325\310\311#\203U \326\f\327\330 \331R!\210\332\333\334\335\"!\311#\311\207 \310\207" [output-file TeX-current-page TeX-output-extension process name TeX-command-default re-search-backward "^Output written on \\(.*\\) (\\([0-9]+\\) page" nil t TeX-match-buffer 1 "{" 2 "}" string-match "\\.\\([^.]*\\)$" match-string "dvi" TeX-format-mode-line re-search-forward "^\\(!\\|.*:[0-9]+:\\) " message " errors in `" buffer-name "'. Use C-c ` to display." plist-put intern plist-get TeX-current-master TeX-command-next TeX-error-report-switches TeX-command-Show] 6 (#$ . 24074)])
#@105 Return non-nil, if the output buffer contains warnings.
Warnings can be indicated by LaTeX or packages.
(defalias 'TeX-LaTeX-sentinel-has-warnings #[nil "\212eb\210\300\301\302\303#)\207" [re-search-forward "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z]+ \\)Warning:" nil t] 4 (#$ . 24925)])
#@72 Return non-nil, if LaTeX output indicates overfull or underfull boxes.
(defalias 'TeX-LaTeX-sentinel-has-bad-boxes #[nil "\212eb\210\300\301\302\303#)\207" [re-search-forward "^\\(Ov\\|Und\\)erfull \\\\" nil t] 4 (#$ . 25216)])
#@48 Cleanup TeX output buffer after running LaTeX.
(defalias 'TeX-LaTeX-sentinel #[(process name) "\306	\"\206\363 \212\307\310\311\312#\206 \307\313\311\312#)\203B r\nq\210\314 \205- \315\316\317!\320 \321\f\"#)\203B \322\323\324 P!\210r\nq\210)\211'\207\307\325\311\312#\204R \307\326\311\312#\203` \322\327\330\324 Q!\210(\211'\207\307\331\311\312#\203v \322	\332\324 Q!\210)\211'\207\307\310\311\312#\204\206 \307\333\311\312#\203\224 \322	\334\324 Q!\210)\211'\207\307\335\311\312#\203\346 *\205\243 \336 +,\205\254 \337 -+\204\270 -\205\323 \340+\205\277 \341+\205\312 -\205\312 \342-\205\320 \343\344\260.\322	\345\324 .R!\210+)\211'\207\322	\346\324 Q!\210(\211'\207" [process name TeX-command-buffer TeX-file-extensions BibTeX-file-extensions TeX-command-BibTeX TeX-TeX-sentinel-check re-search-forward "^LaTeX Warning: Citation" nil t "^Package natbib Warning: Citation" LaTeX-bibliography-list TeX-check-files TeX-master-file "bbl" TeX-style-list append message "You should run BibTeX to get citations right, " TeX-current-pages "^LaTeX Warning: Label(s)" "^Package natbib Warning: Citation(s)" "You should run LaTeX again " "to get references right, " "^LaTeX Warning: Reference" ": there were unresolved references, " "^Package natbib Warning:.*undefined citations" ": there were unresolved citations, " "^\\(\\*\\* \\)?J?I?p?\\(La\\|Sli\\)TeX\\(2e\\)? \\(Version\\|ver\\.\\|<[0-9/]*>\\)" TeX-LaTeX-sentinel-has-warnings TeX-LaTeX-sentinel-has-bad-boxes " (with " "warnings" " and " "bad boxes" ")" ": successfully formatted " ": problems after " TeX-command-next TeX-command-default TeX-command-Show TeX-debug-warnings warnings TeX-debug-bad-boxes bad-boxes add-info] 6 (#$ . 25450)])
#@49 Cleanup TeX output buffer after running BibTeX.
(defalias 'TeX-BibTeX-sentinel #[(process name) "db\210\302\303\304\305#\203 \306\307\310\311!\310\312!#\210\202 \306\313!\210\211\207" [TeX-command-default TeX-command-next re-search-backward "^(There \\(?:was\\|were\\) \\([0-9]+\\) \\(warnings?\\|error messages?\\))" nil t message "BibTeX finished with %s %s. Type `C-c C-l' to display output." match-string 1 2 "BibTeX finished successfully. Run LaTeX again to get citations right."] 5 (#$ . 27179)])
#@44 List of compilation processes now running.
(defvar compilation-in-progress nil (#$ . 27692))
(byte-code "\301\236\204\n \302B\301\207" [minor-mode-alist compilation-in-progress (compilation-in-progress " Compiling")] 2)
#@139 Return the value in the process buffer for NAME of SYMBOL.

Return DEFAULT if the process buffer does not exist or SYMBOL is not
defined.
(defalias 'TeX-process-get-variable #[(name symbol &optional default) "\304!\211\203 \305\n	\"\203 \212	q\210\nJ)\202 )\207" [name buffer symbol default TeX-process-buffer local-variable-p] 4 (#$ . 27922)])
#@97 Set the variable SYMBOL in the process buffer to VALUE.
Return nil iff no process buffer exist.
(defalias 'TeX-process-set-variable #[(name symbol value) "\304!\211\205 \212	q\210\nL\210)\305)\207" [name buffer symbol value TeX-process-buffer t] 3 (#$ . 28279)])
#@141 Check if a process for the TeX document NAME already exist.
If so, give the user the choice of aborting the process or the current
command.
(defalias 'TeX-process-check #[(name) "\302\303	!\211\2056 \304!\305=\2056 \306\307\310!\311	\312\260!\203' \313!\210\202 \304!\305=\203 \314\315!\210\202 )\207" [process name nil TeX-process process-status run yes-or-no-p "Process `" process-name "' for document `" "' running, kill it? " delete-process error "Cannot have two processes for the same document"] 6 (#$ . 28553)])
#@65 Return name of AUCTeX buffer associated with the document NAME.
(defalias 'TeX-process-buffer-name #[(name) "\301\302\303!!\304Q\207" [name "*" abbreviate-file-name expand-file-name " output*"] 4 (#$ . 29088)])
#@61 Return the AUCTeX buffer associated with the document NAME.
(defalias 'TeX-process-buffer #[(name) "\301\302!!\207" [name get-buffer TeX-process-buffer-name] 3 (#$ . 29306)])
#@58 Return AUCTeX process associated with the document NAME.
(defalias 'TeX-process #[(name) "\205	 \302\303	!!\207" [TeX-process-asynchronous name get-buffer-process TeX-process-buffer] 3 (#$ . 29488)])
#@67 Format the mode line for a buffer containing output from PROCESS.
(defalias 'TeX-command-mode-line #[(process) "\302\303\304!!P\305\306 !\207" [process mode-line-process ": " symbol-name process-status set-buffer-modified-p buffer-modified-p] 4 (#$ . 29695)])
#@34 Filter to process normal output.
(defalias 'TeX-command-filter #[(process string) "r\302!q\210\212\303!b\210\304	!\210\303!`\305\223*\207" [process string process-buffer process-mark insert-before-markers nil] 3 (#$ . 29963)])
#@66 The page number currently being formatted, enclosed in brackets.
(defvar TeX-current-page nil (#$ . 30199))
(make-variable-buffer-local 'TeX-current-page)
#@71 Format the mode line for a buffer containing TeX output from PROCESS.
(defalias 'TeX-format-mode-line #[(process) "\303\304\305\306	!!R\307\310 !\207" [TeX-current-page process mode-line-process " " ": " symbol-name process-status set-buffer-modified-p buffer-modified-p] 6 (#$ . 30360)])
#@31 Filter to process TeX output.
(defalias 'TeX-format-filter #[(process string) "r\306!q\210\307\211\211\310\311!!\212	b\210\312!\210\311!`\307\223\210	\205{ \313	x\205{ `	V\205{ `\314u\210\315e	\316Z]x\210`Sf\317=\203! \307f\320=\204! `S\n{\307\321\322\f#\211\203h \323\324\325\211\f$\202T \321\326\f\"\203! \f\307\327!\210\202! .\207" [process pt end pos str string process-buffer nil marker-position process-mark insert-before-markers "^]" -1 "-0-9\n." 128 91 93 string-match "\n" replace-match "" t "\\`\\[-?[0-9]+\\(\\.-?[0-9]+\\)\\{0,9\\}\\]\\'" TeX-format-mode-line TeX-current-page] 6 (#$ . 30657)])
#@57 Function to call to parse content of TeX output buffer.
(defvar TeX-parse-function nil (#$ . 31288))
(make-variable-buffer-local 'TeX-parse-function)
#@38 Filter to process background output.
(defalias 'TeX-background-filter #[(process string) "\303 \304\305\306!\210db\210\nc\210\307	!*\207" [pop-up-windows old-window string selected-window t pop-to-buffer "*TeX background*" select-window] 2 (#$ . 31444)])
#@49 Move point to prompt of an interactive TeX run.
(defalias 'TeX-interactive-goto-prompt #[(string) "\303 p\304	!\305\216\n\205 \306\307\310\311#,\207" [selected current process selected-window get-buffer-process ((set-buffer current)) walk-windows #[(window) "\305!	=\205# \306!\210`\307\n!W\203  \310\311\"\203  \307\n!b\210\306\f!\207" [window current process string selected window-buffer select-window process-mark string-match "^\\? $"] 3] nil t] 4 (#$ . 31707)])
#@68 This variable is set to t iff the last TeX command is on a region.
(defvar TeX-current-process-region-p nil (#$ . 32188))
#@51 Return the active process for the current buffer.
(defalias 'TeX-active-process #[nil "\300\301 !\207" [TeX-process TeX-active-master] 2 (#$ . 32316)])
#@58 Return the buffer of the active process for this buffer.
(defalias 'TeX-active-buffer #[nil "\205 \301rq\210\302 )!\207" [TeX-command-buffer TeX-process-buffer TeX-active-master] 2 (#$ . 32474)])
#@260 The master file currently being compiled.

If optional argument EXTENSION is non-nil, add that file extension to
the name.  Special value t means use `TeX-default-extension'.

If optional second argument NONDIRECTORY is non-nil, do not include
the directory.
(defalias 'TeX-active-master #[(&optional extension nondirectory) "\203	 \303	\n\"\207\304	\n\"\207" [TeX-current-process-region-p extension nondirectory TeX-region-file TeX-master-file] 3 (#$ . 32680)])
#@56 The buffer from where the last TeX command was issued.
(defvar TeX-command-buffer nil (#$ . 33150))
#@71 *String to insert in the region file between the header and the text.
(custom-declare-variable 'TeX-region-extra '"" '(#$ . -33256) :group 'TeX-command :type 'string)
#@285 List of hooks to run before the region file is saved.
The hooks are run in the region buffer, you may use the variable
`master-buffer' to access the buffer of the master file and
`orig-buffer' to access the buffer where \[TeX-command-region] or
\[TeX-command-buffer] is invoked from.
(defvar TeX-region-hook nil (#$ . 33430))
#@50 Convert file name into a form acceptable to TeX.
(defalias 'TeX-quote-filename #[(file) "\302\303\304	#\211\203 \305\306\307\211	\310%T\202 \303\311	#\211\2033 \305\312\307\302	\310%\313\\\202 )	\207" [pos file nil string-match "\\\\" replace-match "/" t 0 "[~#]" "\\\\string\\&" 8] 6 (#$ . 33762)])
#@328 Create a new file named FILE with the string REGION
The region is taken from ORIGINAL starting at line OFFSET.

The current buffer and master file is searched, in order to ensure
that the TeX header and trailer information is also included.

The OFFSET is used to provide the debugger with information about the
original file.
(defalias 'TeX-region-create #[(file region original offset) "\np\306!\"\307\"!#\310\211$%\311&\310\211'(\310)\312*\307+!),\310-\313	.\"\203< \314\202_ \212\214#q\210\212\214~\210eb\210\315\310\312#\204U \314\202^ \315\316\310\312#\210e`{,/\3110\313.\"\203p \314\202\227 \212\214#q\210\212\214~\210db\210\317\n\310\312#\204\211 \314\202\226 \317\316\310\312#\210\320 0`d{,1\321\3222\323 \"!2\321\"!\"\212,q\210\3123\324 -\325 \210\326\327!\203\310 r#q\210)\330\"\331/4\3322\333\261\210\3345\320 TZ!\335.\332\"\333\261\210\3340\320 TZ!\3351\261\210\336\337!\210\324 -\230\203	\340\310!\202\f\341\311!.\207" [TeX-header-end header-end TeX-trailer-start trailer-start orig-buffer TeX-default-extension TeX-master-file find-file-noselect nil 0 t string-match "" re-search-forward "[\n]" re-search-backward TeX-current-offset TeX-quote-filename file-relative-name TeX-master-directory buffer-string erase-buffer boundp buffer-file-coding-system "\\message{ !name(" ")}" "\n\\message{ !name(" ") !offset(" int-to-string ") }\n" run-hooks TeX-region-hook set-buffer-modified-p save-buffer master-name master-buffer font-lock-defaults-alist font-lock-defaults font-lock-maximum-size font-lock-mode-hook font-lock-auto-fontify font-lock-mode-enable-list TeX-transient-master file file-buffer original-content region header trailer-offset trailer original buffer-undo-list TeX-region-extra offset] 9 (#$ . 34083)])
#@124 Return TeX-region file name with EXTENSION.
If optional second argument NONDIRECTORY is nil, do not include
the directory.
(defalias 'TeX-region-file #[(&optional extension nondirectory) "\203 \304\202\n \305 	\306=\203 \n\307Q\202# 	\203\" \n\307	Q\202# \nP\207" [nondirectory extension TeX-region TeX-default-extension "" TeX-master-directory t "."] 4 (#$ . 35879)])
#@56 *Base name for temporary file for use with TeX-region.
(custom-declare-variable 'TeX-region '"_region_" '(#$ . -36258) :group 'TeX-command :type 'string)
#@35 How far we have parsed until now.
(defvar TeX-error-point nil (#$ . 36418))
(make-variable-buffer-local 'TeX-error-point)
#@45 Stack of files in which errors have occured
(defvar TeX-error-file nil (#$ . 36546))
(make-variable-buffer-local 'TeX-error-file)
#@68 Add this to any line numbers from TeX.  Stack like TeX-error-file.
(defvar TeX-error-offset nil (#$ . 36682))
(make-variable-buffer-local 'TeX-error-offset)
#@50 Reset all variables used for parsing TeX output.
(defalias 'TeX-parse-reset #[nil "e\303\211\211\207" [TeX-error-point TeX-error-offset TeX-error-file nil] 3 (#$ . 36845)])
#@34 We can't parse anything but TeX.
(defalias 'TeX-parse-command #[(reparse) "\300\301\302 \203 \303\302 !\202 \304\"\207" [error "I cannot parse %s output, sorry" TeX-active-process process-name "this"] 4 (#$ . 37027)])
#@238 Find the next error produced by running TeX.
Prefix by C-u to start from the beginning of the errors.

If the file occurs in an included file, the file is loaded (if not
already in an Emacs buffer) and the cursor is placed at the error.
(defalias 'TeX-parse-TeX #[(reparse) "p\305\306 !\210\203 \307 \210\fb\210\310\n!*\207" [major-mode default-major-mode old-buffer reparse TeX-error-point pop-to-buffer TeX-active-buffer TeX-parse-reset TeX-parse-error] 2 (#$ . 37254)])
#@200 List of functions to be called before showing an error or warning.

You might want to examine and modify the free variables `file',
`offset', `line', `string', `error', and `context' from this hook.
(defvar TeX-translate-location-hook nil (#$ . 37739))
#@66 Goto next error.  Pop to OLD buffer if no more errors are found.
(defalias 'TeX-parse-error #[(old) "\305\306\307\310#\204 \311\312!\210\313 \210\314!\210\307\207\315\224\203A \316\224\2036 	\204+ \307	B\307\nB\n@\2046 	\317\316!\240\210\320\321!\204  \322 \210\307\207\323\224\203Y \203R \324\317\323!!\210\307\207\305\325!\210\202  \326\224\203j \f\203  \324\317\326!!\210\307\207\327\224\203\200 \317\327!	B\307\nB\327\225b\210\202  \330\224\203\235 	G\315V\203\226 	\210	A\n\210\nA\330\225b\210\202  \331\224\203\254 \332\317\331!!C\202  \333\224\205\271 \317\333!C\202  \207" [old TeX-error-file TeX-error-offset TeX-debug-bad-boxes TeX-debug-warnings re-search-forward "^\\(!\\|\\(.*?\\):[0-9]+:\\) \\|(\\(/*\\(?:\\.+[^()\n{} /]*\\|[^()\n{} ./]+\\(?: [^()\n{} ./]+\\)*\\(?:\\.[-0-9a-zA-Z_.]*\\)?\\)\\(?:/+\\(?:\\.+[^()\n{} /]*\\|[^()\n{} ./]+\\(?: [^()\n{} ./]+\\)*\\(?:\\.[-0-9a-zA-Z_.]*\\)?\\)?\\)*\\))*\\(?: \\|?$\\)\\|\\()\\))*\\(?:[ >]\\|?$\\)\\| !\\(?:offset(\\([---0-9]+\\))\\|name(\\([^)]+\\))\\)\\|^\\(\\(?:Overfull\\|Underfull\\|Tight\\|Loose\\) \\\\.*?[0-9]+--[0-9]+\\)\\|^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z]+ \\)Warning:.*" nil t message "No more errors." beep pop-to-buffer 1 2 TeX-match-buffer looking-at "Preview " TeX-error 7 TeX-warning "?\n\\(?:.\\{79\\}?\n\\)*.*?$" 8 3 4 5 string-to-int 6] 4 (#$ . 37998)])
#@19 Display an error.
(defalias 'TeX-error #[nil "\306\307!\210\310\311!`\306\312\313\314#\203 \315\310\311!!\202 \311\316 \210\306\317!\210\310\311!	\311y\210\313\210`{@\2067 \320 @!`\"!\204J \300\321!\210prq\210\322\323 !)\313#$%&\324\325!\210\326!!#r#q\210\327\330!\210$)\331\n\\!\210\332\230\204\213 \333\313\314#\210'\203\231 \334\f&#\202\236 \335\336P!.\207" [error context-start line string context TeX-error-offset re-search-forward "\\(.*\\)" TeX-match-buffer 1 "l\\.\\([0-9]+\\)" nil t string-to-int beginning-of-line " \\(\\([^ 	]*$\\)\\|\\($\\)\\)" 0 "Error occured after last TeX file closed" expand-file-name TeX-master-file run-hooks TeX-translate-location-hook find-file-other-window make-local-variable TeX-command-buffer goto-line " " search-forward TeX-help-error message "! " offset TeX-error-file file TeX-error-point error-file-buffer command-buffer master runbuf TeX-display-help] 4 (#$ . 39361)])
#@31 Display a warning for STRING.
(defalias 'TeX-warning #[(string) "\306P\307\310\"\211\203 \311\202 \312\n\203 \313\202 \314\315\316\317#\205* \320\321\322!!\n\2037 \320\321\323!!\2028 %\n\203D \316\210\202G \324 \210`&\322y\210\316\210i\325\232\203_ \322y\210\316\210\202P &`{'`(\315\f&\317#\205t \321\322!)@\206| \326*+@,(b\210`-prq\210\327\330 !)\316./01\331\332!\210\333,!.r.q\210\334\335!\210/)\203\347 \336*\\!\210\324\326!\210`2\336*%\\!\210\316\210\203\346 \3372\317#\210\340\316\317#\210)3\203\341	\n\203\367 '\202\373 \342'P1#\202\343\344	P!.\207" [string error bad-box line-string word-string line "** " string-match "\\\\[vb]ox.*[0-9]*--[0-9]*" " \\([0-9]*\\)--\\([0-9]*\\)" "on input line \\([0-9]*\\)\\." "[][\\W() ---]\\(\\w+\\)[][\\W() ---]*$" "`\\(\\w+\\)'" re-search-backward nil t string-to-int TeX-match-buffer 1 2 beginning-of-line 79 0 expand-file-name TeX-master-file run-hooks TeX-translate-location-hook find-file-other-window make-local-variable TeX-command-buffer goto-line search-backward search-forward TeX-help-error "\n" message "! " line-end context-start context error-point TeX-error-offset offset TeX-error-file file TeX-error-point error-file-buffer command-buffer master runbuf start TeX-display-help] 5 (#$ . 40322)])
#@65 Print ERROR in context OUTPUT from RUNBUFFER in another window.
(defalias 'TeX-help-error #[(error output runbuffer) "prq\210r	q\210\306\307\310!!*\311\312\n8@!\"\204$ \nT\202 \313\314\315!!\210\316 \210\317!\320\"\321\212\n8A\322\230\203\215 \323!\211#\203S #q\210\324\325\211\"\210\202[ \326!\211#q\210\327\330!\210\325$\331e!\210\332!\330\325\333$)\203\215 \334\335!\210\334\336!\210\333u\210`%\334\337!\210\340%`{P)\202\221 \n8A)\261\210eb\210\313\f!+\207" [runbuffer TeX-command-buffer TeX-error-pointer log-file old-buffer TeX-error-description-list expand-file-name TeX-active-master "log" 0 string-match pop-to-buffer get-buffer-create "*TeX Help*" erase-buffer "ERROR: " "\n\n--- TeX said ---" "\n--- HELP ---\n" "No help available" find-buffer-visiting revert-buffer t find-file-noselect auto-save-mode nil goto-line search-forward 1 re-search-forward "^l." "^ [^\n]+$" "^$" "From the .log file...\n\n" error output log-buffer buffer-read-only start] 11 (#$ . 41645)])
#@281 A list of the form ("err-regexp" . "context") used by function
\{TeX-help-error} to display help-text on an error message or warning.
err-regexp should be a regular expression matching the error message
given from TeX/LaTeX, and context should be some lines describing that
error
(custom-declare-variable 'TeX-error-description-list ''(("\\(?:Package Preview Error\\|Preview\\):.*" . "The `auctex' option to `preview' should not be applied manually.\nIf you see this error message outside of a preview run, either\nyou did something too clever, or AUCTeX something too stupid.") ("Bad \\\\line or \\\\vector argument.*" . "The first argument of a \\line or \\vector command, which specifies the\nslope, is illegal.") ("Bad math environment delimiter.*" . "TeX has found either a math-mode-starting command such as \\[ or \\(\nwhen it is already in math mode, or else a math-mode-ending command\nsuch as \\) or \\] while in LR or paragraph mode.  The problem is caused\nby either unmatched math mode delimiters or unbalanced braces.") ("Bad use of \\\\\\\\.*" . "A \\\\ command appears between paragraphs, where it makes no sense. This\nerror message occurs when the \\\\ is used in a centering or flushing\nenvironment or else in the scope of a centering or flushing\ndeclaration.") ("\\\\begin{[^ ]*} ended by \\\\end{[^ ]*}." . "LaTeX has found an \\end command that doesn't match the corresponding\n\\begin command. You probably misspelled the environment name in the\n\\end command, have an extra \\begin, or else forgot an \\end.") ("Can be used only in preamble." . "LaTeX has encountered, after the \\begin{document}, one of the\nfollowing commands that should appear only in the preamble:\n\\documentclass, \\nofiles, \\includeonly, \\makeindex, or\n\\makeglossary.  The error is also caused by an extra \\begin{document}\ncommand.") ("Command name [^ ]* already used.*" . "You are using \\newcommand, \\newenvironment, \\newlength, \\newsavebox,\nor \\newtheorem to define a command or environment name that is\nalready defined, or \\newcounter to define a counter that already\nexists. (Defining an environment named gnu automatically defines the\ncommand \\gnu.) You'll have to choose a new name or, in the case of\n\\newcommand or \\newenvironment, switch to the \\renew ...  command.") ("Counter too large." . "1. Some object that is numbered with letters, probably an item in a\nenumerated list, has received a number greater than 26. Either you're\nmaking a very long list or you've been resetting counter values.\n\n2. Footnotes are being ``numbered'' with letters or footnote symbols \nand LaTeX has run out of letters or symbols. This is probably caused\nby too many \\thanks commands.") ("Environment [^ ]* undefined." . "LaTeX has encountered a \\begin command for a nonexistent environment.\nYou probably misspelled the environment name. ") ("Float(s) lost." . "You put a figure or table environment or a \\marginpar command inside a\nparbox---either one made with a minipage environment or \\parbox\ncommand, or one constructed by LaTeX in making a footnote, figure,\netc. This is an outputting error, and the offending environment or\ncommand may be quite a way back from the point where LaTeX discovered\nthe problem. One or more figures, tables, and/or marginal notes have\nbeen lost, but not necessarily the one that caused the error.") ("Illegal character in array arg." . "There is an illegal character in the argument of an array or tabular\nenvironment, or in the second argument of a \\multicolumn command.") ("Missing \\\\begin{document}." . "LaTeX produced printed output before encountering a \\begin{document}\ncommand. Either you forgot the \\begin{document} command or there is\nsomething wrong in the preamble. The problem may be a stray character\nor an error in a declaration---for example, omitting the braces around\nan argument or forgetting the \\ in a command name.") ("Missing p-arg in array arg.*" . "There is a p that is not followed by an expression in braces in the\nargument of an array or tabular environment, or in the second argument\nof a \\multicolumn command.") ("Missing @-exp in array arg." . "There is an @ character not followed by an @-expression in the\nargument of an array or tabular environment, or in the second argument\nof a \\multicolumn command.") ("No such counter." . "You have specified a nonexistent counter in a \\setcounter or\n\\addtocounter command. This is probably caused by a simple typing\nerror.  However, if the error occurred while a file with the extension\naux is being read, then you probably used a \\newcounter command\noutside the preamble.") ("Not in outer par mode." . "You had a figure or table environment or a \\marginpar command in math\nmode or inside a parbox.") ("\\\\pushtabs and \\\\poptabs don't match." . "LaTeX found a \\poptabs with no matching \\pushtabs, or has come to the\n\\end{tabbing} command with one or more unmatched \\pushtabs commands.") ("Something's wrong--perhaps a missing \\\\item." . "The most probable cause is an omitted \\item command in a list-making\nenvironment. It is also caused by forgetting the argument of a\nthebibliography environment.") ("Tab overflow." . "A \\= command has exceeded the maximum number of tab stops that LaTeX\npermits.") ("There's no line here to end." . "A \\newline or \\\\ command appears between paragraphs, where it makes no\nsense. If you're trying to ``leave a blank line'', use a \\vspace\ncommand.") ("This may be a LaTeX bug." . "LaTeX has become thoroughly confused. This is probably due to a\npreviously detected error, but it is possible that you have found an\nerror in LaTeX itself. If this is the first error message produced by\nthe input file and you can't find anything wrong, save the file and\ncontact the person listed in your Local Guide.") ("Too deeply nested." . "There are too many list-making environments nested within one another.\nHow many levels of nesting are permitted may depend upon what computer\nyou are using, but at least four levels are provided, which should be\nenough.") ("Too many unprocessed floats." . "While this error can result from having too many \\marginpar commands\non a page, a more likely cause is forcing LaTeX to save more figures\nand tables than it has room for.  When typesetting its continuous\nscroll, LaTeX saves figures and tables separately and inserts them as\nit cuts off pages. This error occurs when LaTeX finds too many figure\nand/or table environments before it is time to cut off a page, a\nproblem that is solved by moving some of the environments farther\ntowards the end of the input file. The error can also be caused by a\n``logjam''---a figure or table that cannot be printed causing others\nto pile up behind it, since LaTeX will not print figures or tables out\nof order. The jam can be started by a figure or table that either is\ntoo large to fit on a page or won't fit where its optional placement\nargument says it must go. This is likely to happen if the argument\ndoes not contain a p option.") ("Undefined tab position." . "A \\>, \\+, \\-, or \\< command is trying to go to a nonexistent tab\nposition---one not defined by a \\= command.") ("\\\\< in mid line." . "A \\< command appears in the middle of a line in a tabbing environment.\nThis command should come only at the beginning of a line.") ("Double subscript." . "There are two subscripts in a row in a mathematical\nformula---something like x_{2}_{3}, which makes no sense.") ("Double superscript." . "There are two superscripts in a row in a mathematical\nformula---something like x^{2}^{3}, which makes no sense.") ("Extra alignment tab has been changed to \\\\cr." . "There are too many separate items (column entries) in a single row of\nan array or tabular environment. In other words, there were too many &\n's before the end of the row. You probably forgot the \\\\ at the end of\nthe preceding row.") ("Extra \\}, or forgotten \\$." . "The braces or math mode delimiters don't match properly. You probably\nforgot a {, \\[, \\(, or $.") ("Font [^ ]* not loaded: Not enough room left." . "The document uses more fonts than TeX has room for. If different parts\nof the document use different fonts, then you can get around the\nproblem by processing it in parts.") ("I can't find file `.*'." . "TeX can't find a file that it needs. If the name of the missing file\nhas the extension tex, then it is looking for an input file that you\nspecified---either your main file or another file inserted with an\n\\input or \\include command. If the missing file has the extension sty\n, then you have specified a nonexistent document style or style\noption.") ("Illegal parameter number in definition of .*" . "This is probably caused by a \\newcommand, \\renewcommand,\n\\newenvironment, or \\renewenvironment command in which a # is used\nincorrectly.  A # character, except as part of the command name \\#,\ncan be used only to indicate an argument parameter, as in #2, which\ndenotes the second argument. This error is also caused by nesting one\nof the above four commands inside another, or by putting a parameter\nlike #2 in the last argument of a \\newenvironment or \\renewenvironment\ncommand.") ("Illegal unit of measure ([^ ]* inserted)." . "If you just got a\n\n      ! Missing number, treated as zero.\n\nerror, then this is part of the same problem.  If not, it means that\nLaTeX was expecting a length as an argument and found a number\ninstead.  The most common cause of this error is writing 0 instead of\nsomething like 0in for a length of zero, in which case typing return\nshould result in correct output. However, the error can also be caused\nby omitting a command argument.") ("Misplaced alignment tab character \\&." . "The special character &, which should be used only to separate items\nin an array or tabular environment, appeared in ordinary text. You\nprobably meant to type \\&.") ("Missing control sequence inserted." . "This is probably caused by a \\newcommand, \\renewcommand, \\newlength,\nor \\newsavebox command whose first argument is not a command name.") ("Missing number, treated as zero." . "This is usually caused by a LaTeX command expecting but not finding\neither a number or a length as an argument. You may have omitted an\nargument, or a square bracket in the text may have been mistaken for\nthe beginning of an optional argument. This error is also caused by\nputting \\protect in front of either a length command or a command such\nas \\value that produces a number.") ("Missing [{}] inserted." . "TeX has become confused. The position indicated by the error locator\nis probably beyond the point where the incorrect input is.") ("Missing \\$ inserted." . "TeX probably found a command that can be used only in math mode when\nit wasn't in math mode.  Remember that unless stated otherwise, all\nall the commands of Section 3.3 in LaTeX Book (Lamport) can be used\nonly in math mode. TeX is not in math mode when it begins processing\nthe argument of a box-making command, even if that command is inside a\nmath environment. This error also occurs if TeX encounters a blank\nline when it is in math mode.") ("Not a letter." . "Something appears in the argument of a \\hyphenation command that\ndoesn't belong there.") ("Paragraph ended before [^ ]* was complete." . "A blank line occurred in a command argument that shouldn't contain\none. You probably forgot the right brace at the end of an argument.") ("\\\\[^ ]*font [^ ]* is undefined .*" . "These errors occur when an uncommon font is used in math mode---for\nexample, if you use a \\sc command in a formula inside a footnote,\ncalling for a footnote-sized small caps font.  This problem is solved\nby using a \\load command.") ("Font .* not found." . "You requested a family/series/shape/size combination that is totally\nunknown.  There are two cases in which this error can occur:\n  1) You used the \\size macro to select a size that is not available.\n  2) If you did not do that, go to your local `wizard' and\n     complain fiercely that the font selection tables are corrupted!") ("TeX capacity exceeded, sorry .*" . "TeX has just run out of space and aborted its execution. Before you\npanic, remember that the least likely cause of this error is TeX not\nhaving the capacity to process your document.  It was probably an\nerror in your input file that caused TeX to run out of room. The\nfollowing discussion explains how to decide whether you've really\nexceeded TeX's capacity and, if so, what to do. If the problem is an\nerror in the input, you may have to use the divide and conquer method\ndescribed previously to locate it. LaTeX seldom runs out of space on a\nshort input file, so if running it on the last few pages before the\nerror indicator's position still produces the error, then there's\nalmost certainly something wrong in the input file.\n\nThe end of the error indicator tells what kind of space TeX ran out\nof. The more common ones are listed below, with an explanation of\ntheir probable causes.\n\nbuffer size\n===========\nCan be caused by too long a piece of text as the argument\nof a sectioning, \\caption, \\addcontentsline, or \\addtocontents\ncommand. This error will probably occur when the \\end{document} is\nbeing processed, but it could happen when a \\tableofcontents,\n\\listoffigures, or \\listoftables command is executed. To solve this\nproblem, use a shorter optional argument. Even if you're producing a\ntable of contents or a list of figures or tables, such a long entry\nwon't help the reader.\n\nexception dictionary\n====================\nYou have used \\hyphenation commands to give TeX\nmore hyphenation information than it has room for. Remove some of the\nless frequently used words from the \\hyphenation commands and insert\n\\- commands instead.\n\nhash size\n=========\nYour input file defines too many command names and/or uses\ntoo many cross-ref- erencing labels.\n\ninput stack size\n================\nThis is probably caused by an error in a command\ndefinition. For example, the following command makes a circular\ndefinition, defining \\gnu in terms of itself:\n\n	  \\newcommand{\\gnu}{a \\gnu} % This is wrong!\n\nWhen TeX encounters this \\gnu command, it will keep chasing its tail\ntrying to figure out what \\gnu should produce, and eventually run out\nof ``input stack''.\n\nmain memory size\n================\nThis is one kind of space that TeX can run out of when processing a\nshort file. There are three ways you can run TeX out of main memory\nspace: (1) defining a lot of very long, complicated commands, (2)\nmaking an index or glossary and having too many \\index or \\glossary\ncommands on a single page, and (3) creating so complicated a page of\noutput that TeX can't hold all the information needed to generate it.\nThe solution to the first two problems is obvious: define fewer\ncommands or use fewer \\index and \\glossary commands. The third problem\nis nastier. It can be caused by large tabbing, tabular, array, and\npicture environments. TeX's space may also be filled up with figures\nand tables waiting for a place to go.  To find out if you've really\nexceeded TeX's capacity in this way, put a \\clearpage command in your\ninput file right before the place where TeX ran out of room and try\nrunning it again. If it doesn't run out of room with the \\clearpage\ncommand there, then you did exceed TeX's capacity.  If it still runs\nout of room, then there's probably an error in your file.  If TeX is\nreally out of room, you must give it some help. Remember that TeX\nprocesses a complete paragraph before deciding whether to cut the\npage. Inserting a \\newpage command in the middle of the paragraph,\nwhere TeX should break the page, may save the day by letting TeX write\nthe current page before processing the rest of the paragraph. (A\n\\pagebreak command won't help.) If the problem is caused by\naccumulated figures and tables, you can try to prevent them from\naccumulating---either by moving them further towards the end of the\ndocument or by trying to get them to come out sooner.  If you are\nstill writing the document, simply add a \\clearpage command and forget\nabout the problem until you're ready to produce the final version.\nChanges to the input file are likely to make the problem go away.\n\npool size\n=========\nYou probably used too many cross-ref-erencing \\labels and/or defined\ntoo many new command names. More precisely, the labels and command\nnames that you define have too many characters, so this problem can be\nsolved by using shorter names. However, the error can also be caused\nby omitting the right brace that ends the argument of either a counter\ncommand such as \\setcounter, or a \\newenvironment or \\newtheorem\ncommand.\n\nsave size\n=========\nThis occurs when commands, environments, and the scopes of\ndeclarations are nested too deeply---for example, by having the\nargument of a \\multiput command contain a picture environment that in\nturn has a \\footnotesize declaration whose scope contains a \\multiput\ncommand containing a ....") ("Text line contains an invalid character." . "The input contains some strange character that it shouldn't. A mistake\nwhen creating the file probably caused your text editor to insert this\ncharacter. Exactly what could have happened depends upon what text\neditor you used. If examining the input file doesn't reveal the\noffending character, consult the Local Guide for suggestions.") ("Undefined control sequence." . "TeX encountered an unknown command name. You probably misspelled the\nname. If this message occurs when a LaTeX command is being processed,\nthe command is probably in the wrong place---for example, the error\ncan be produced by an \\item command that's not inside a list-making\nenvironment. The error can also be caused by a missing \\documentclass\ncommand.") ("Use of [^ ]* doesn't match its definition." . "It's probably one of the picture-drawing commands, and you have used\nthe wrong syntax for specifying an argument. If it's \\@array that\ndoesn't match its definition, then there is something wrong in an\n@-expression in the argument of an array or tabular\nenvironment---perhaps a fragile command that is not \\protect'ed.") ("You can't use `macro parameter character \\#' in [^ ]* mode." . "The special character # has appeared in ordinary text. You probably\nmeant to type \\#.") ("Overfull \\\\hbox .*" . "Because it couldn't find a good place for a line break, TeX put more\non this line than it should.") ("Overfull \\\\vbox .*" . "Because it couldn't find a good place for a page break, TeX put more\non the page than it should. ") ("Underfull \\\\hbox .*" . "Check your output for extra vertical space.  If you find some, it was\nprobably caused by a problem with a \\\\ or \\newline command---for\nexample, two \\\\ commands in succession. This warning can also be\ncaused by using the sloppypar environment or \\sloppy declaration, or\nby inserting a \\linebreak command.") ("Underfull \\\\vbox .*" . "TeX could not find a good place to break the page, so it produced a\npage without enough text on it. ") (".*" . "No help available")) '(#$ . 42653) :group 'TeX-output :type '(repeat (cons :tag "Entry" (regexp :tag "Match") (string :format "Description:\n%v"))))
(provide 'tex-buf)
