;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310DD\311\312\313\314\315&\210\304\316\306\307\317DD\320\312\313\314\321&\210\304\322\306\307\323DD\324\312\313\314\325&\207" [require tex latex comint custom-declare-variable TeX-process-asynchronous funcall function #[0 "\301=?\207" [system-type ms-dos] 2] "Use asynchronous processes." :group TeX-command :type boolean TeX-shell #[0 "\302>\203 \207\303\207" [system-type shell-file-name (ms-dos emx windows-nt) "/bin/sh"] 2] "Name of shell used to parse TeX commands." file TeX-shell-command-option #[0 "\302>\203 \207\303\207" [system-type shell-command-switch (ms-dos emx windows-nt) "-c"] 2] "Shell argument indicating that next argument is the command." string] 8) #@123 Save all files belonging to the current document. Return non-nil if document needs to be re-TeX'ed. (fn NAME-OR-FILE-FN) (defalias 'TeX-save-document #[257 "\301\302\303 \"\302!\304 B#\207" [TeX-file-extensions TeX-check-files TeX--concat-ext TeX-output-extension TeX-style-list] 5 (#$ . 838) (byte-code "\300C\207" [TeX-master-file] 1)]) #@352 Append EXTENSION to a filename specified by NAME-OR-FILE-FN. If NAME-OR-FILE-FN is a string, interpret it as the filename. Otherwise, assume it is a callable function and call it with EXTENSION as an argument and return the result without modification. EXTENSION is a string which should not start with '.'. (fn NAME-OR-FILE-FN &optional EXTENSION) (defalias 'TeX--concat-ext #[513 ";\203\211\203\300Q\207\207!\207" ["."] 5 (#$ . 1188)]) #@210 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'. (fn &optional OVERRIDE-CONFIRM) (defalias 'TeX-command-master #[256 "\300\301\211\302#\210\303\304\300!\300#\207" [TeX-master-file nil t TeX-command TeX-command-query] 5 (#$ . 1645) "P"]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-region-extra funcall function #[0 "\300\207" [#1=""] 1 #1#] "String to insert in the region file between the header and the text." :group TeX-command :type string] 8) (defvar TeX-command-region-begin nil) (defvar TeX-command-region-end nil) (byte-code "\300\301!\210\300\302!\207" [make-variable-buffer-local TeX-command-region-begin TeX-command-region-end] 2) #@78 Calculate line offset of POS, or of point if POS is nil. (fn &optional POS) (defalias 'TeX-current-offset #[256 "\214~\210\212\302\211\211\203\211b\210\303e`\"n\203\304\202\305\\,\207" [inhibit-field-text-motion inhibit-point-motion-hooks t count-lines 0 -1] 4 (#$ . 2469)]) #@337 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. (fn BEGIN END) (defalias 'TeX-pin-region #[514 "\203\302!\204\303 \303 \304\223\210 \304\223\210\305\306!\207\302!\203.\304\211\223\210 \304\211\223\210\304\211\305\307!\207" [TeX-command-region-begin TeX-command-region-end markerp make-marker nil message "TeX region pinned." "TeX region unpinned."] 6 (#$ . 2760) (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)]) #@29 Update the TeX-region file. (defalias 'TeX-region-update #[0 "\203\n\304!\203\305 \203\306\307 \310 \"\210\206\307 \206\"\310 \311\312!\205+\312!\nP\313\314 !\315\"\316\317 !\320!$)\207" [TeX-command-region-begin TeX-command-region-end TeX-region-extra TeX-default-extension markerp TeX-active-mark TeX-pin-region region-beginning region-end fboundp preview--counter-information TeX-region-create TeX-region-file buffer-substring-no-properties file-name-nondirectory buffer-file-name TeX-current-offset] 8 (#$ . 3627)]) #@875 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 after the region itself. The document's trailer is all text after `TeX-trailer-start'. (fn &optional OVERRIDE-CONFIRM) (defalias 'TeX-command-region #[256 "\300 \210\301\302\303!\303#\207" [TeX-region-update TeX-command TeX-command-query TeX-region-file] 5 (#$ . 4173) "P"]) #@375 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 will 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'. (fn &optional OVERRIDE-CONFIRM) (defalias 'TeX-command-buffer #[256 "ed\302!*\207" [TeX-command-region-end TeX-command-region-begin TeX-command-region] 3 (#$ . 5211) "P"]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-record-buffer funcall function #[0 "\300\207" [nil] 1] "Whether to record buffer names of generated TeX buffers.\nWhen non-nil, these buffers are put at the front of the list of\nrecently selected ones." :group TeX-command :type boolean] 8) #@962 Compatibility wrapper for `pop-to-buffer'. Select buffer BUFFER in some window, preferably a different one. BUFFER may be a buffer, a string (a buffer name), or nil. If BUFFER is a string which is not the name of an existing buffer, then this function creates a buffer with that name. If BUFFER is nil, then it chooses some other buffer. If `pop-up-windows' is non-nil, windows can be split to do this. If optional second arg OTHER-WINDOW is non-nil, insist on finding another window even if BUFFER is already visible in the selected window, and ignore `same-window-regexps' and `same-window-buffer-names'. This function returns the buffer it switched to. This uses the function `display-buffer' as a subroutine; see the documentation of `display-buffer' for additional customization information. Optional third arg NORECORD non-nil means do not put this buffer at the front of the list of recently selected ones. (fn BUFFER &optional OTHER-WINDOW NORECORD) (defalias 'TeX-pop-to-buffer #[769 "\301\205 ?#\207" [TeX-record-buffer pop-to-buffer] 7 (#$ . 6067)]) #@185 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. (fn LINE) (defalias 'TeX-recenter-output-buffer #[257 "\300 \211\203+p\301\302\211#\210\303!\210db\210\304\203\305!\202#\306 \307\245!\210\301\310\302#\207\311\312!\207" [TeX-active-buffer TeX-pop-to-buffer t bury-buffer recenter prefix-numeric-value window-height 2 nil message "No process for this document."] 7 (#$ . 7143) "P"]) #@37 Kill the currently running TeX job. (defalias 'TeX-kill-job #[0 "\300 \211\203\n\301!\207\302\303!\207" [TeX-active-process kill-process error "No TeX process to kill"] 3 (#$ . 7664) 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 #[0 "\203\302!\203p=\203\303\304 !!\207\305!\207" [TeX-command-buffer TeX-default-extension buffer-name find-file TeX-master-file switch-to-buffer] 3 (#$ . 7862) nil]) #@179 Index of the last visited error listed in `TeX-error-list'. This variable is intended to be set only in output buffer so it will be shared among all files of the same document. (defvar TeX-error-last-visited -1 (#$ . 8213)) (make-variable-buffer-local 'TeX-error-last-visited) #@48 Get the parse function for the current buffer. (defalias 'TeX-get-parse-function #[0 "rq\210\301\302 \303\")\207" [TeX-command-buffer TeX-process-get-variable TeX-active-master TeX-parse-function] 3 (#$ . 8497)]) #@360 Find the next error in the TeX output buffer. A prefix ARG specifies how many error messages to move; negative means move back to previous error messages, if possible. If REPARSE is non-nil, reparse the error message buffer. \[universal-argument] as a prefix means reparse the error message buffer and start at the first error. (fn &optional ARG REPARSE) (defalias 'TeX-next-error #[512 "\302 \203rq\210 )\303=\203\304\"\207:\203 \305\262\306\262\307 \"\207" [TeX-command-buffer major-mode TeX-active-buffer compilation-mode next-error t nil TeX-get-parse-function] 5 (#$ . 8718) "P"]) #@238 Find the previous error in the TeX output buffer. Prefix arg N says how many error messages to move backward (or forward, if negative). This works only with TeX commands and if the `TeX-parse-all-errors' variable is non-nil. (fn ARG) (defalias 'TeX-previous-error #[257 "\303 \203rq\210 )\304=\203\305!\207\306 \n\203&\211\307=\203&\307[\310\"\207\311\312!\207" [TeX-command-buffer major-mode TeX-parse-all-errors TeX-active-buffer compilation-mode previous-error TeX-get-parse-function TeX-parse-TeX nil error "Jumping to previous error not supported"] 5 (#$ . 9328) "p"]) #@34 The frame of the error overview. (defvar TeX-error-overview-frame nil (#$ . 9920)) #@49 Name of the buffer in which to show error list. (defconst TeX-error-overview-buffer-name "*TeX errors*" (#$ . 10009)) #@77 Alist of MD5 hashes of idx file. Car is the idx file, cdr is its md5 hash. (defvar LaTeX-idx-md5-alist nil (#$ . 10133)) #@98 Whether the idx files changed. Car is the idx file, cdr is whether idx changed after LaTeX run. (defvar LaTeX-idx-changed-alist nil (#$ . 10261)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-check-engine funcall function #[0 "\300\207" [t] 1] "Check the correct engine has been set before running TeX commands." :group TeX-command :type boolean] 8) #@154 List of engines required by the loaded TeX packages. Do not set this variable directly, use `TeX-check-engine-add-engines' to specify required engines. (defvar TeX-check-engine-list '(default luatex omega xetex) (#$ . 10664)) (make-variable-buffer-local 'TeX-check-engine-list) #@204 Add ENGINES to list of required engines. Set `TeX-check-engine-list' to the intersection between the list itself and the list of provided engines. See for example style/fontspec.el (fn &rest ENGINES) (defalias 'TeX-check-engine-add-engines #[128 "\301\205;\205;\232\203\202;GGY\204\"\262\262\203:@>\2033@B\262A\262\202\"\211\211\207" [TeX-check-engine-list nil] 5 (#$ . 10950)]) #@254 Check the correct engine has been set. Look into `TeX-check-engine-list' for the required engines. NAME is the command to be run. Actually do the check only if the variable `TeX-check-engine' is non-nil and LaTeX is the command to be run. (fn NAME) (defalias 'TeX-check-engine #[257 "\211\304\230\205\213\205\213 \205\213\n >?\205\213\n\305>\205\213 G\306\307\310\311U\203: @\262\312\313\314\315\"A\"!\202t\311V\205\210\312\313\316\317\320\321\" \322#\"!\203q\323\324\313\325\317\320\326 \" \322#\"\327\320\330\" \"\"\"@\211\262\202t\310\211\205\210\331!\210\312\332!\205\210\333\302\"\210\334 )\266\204\207" [TeX-check-engine TeX-check-engine-list TeX-engine completion-ignore-case "LaTeX" (default luatex omega xetex) ((default . "TeX") (luatex . "LuaTeX") (omega . "Omega") (xetex . "XeTeX")) t nil 1 y-or-n-p format "%s is required to build this document.\nDo you want to use this engine? " assoc "It appears %s are required to build this document.\nDo you want to select one of these engines? " mapconcat make-closure #[257 "\301\300\"A\207" [V0 assoc] 4 "\n\n(fn ELT)"] ", " rassoc completing-read "Choose between %s: " #[257 "\301\300\"A\207" [V0 assoc] 4 "\n\n(fn ELT)"] mapcar #[257 "\301\300\"A\207" [V0 assoc] 4 "\n\n(fn ELT)"] TeX-engine-set "Do you want to remember the choice? " add-file-local-variable save-buffer] 13 (#$ . 11369)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\207" [custom-declare-variable TeX-check-TeX funcall function #[0 "\300\207" [t] 1] "Whether AUCTeX should check if a working TeX distribution is present." :group TeX-command :type boolean TeX-check-TeX-command-not-found #[0 "\300\207" [127] 1] "Numerical code returned by shell for a command not found error." integer] 8) #@571 Run command NAME on the file returned by calling FILE-FN. FILE-FN is the symbol of a function returning a file name. The function has one optional argument, the extension to use on the file. Valid choices are `TeX-master-file' and `TeX-region-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. Run function `TeX-check-engine' to check the correct engine has been set. (fn NAME FILE-FN &optional OVERRIDE-CONFIRM) (defalias 'TeX-command #[770 "\306!\210\307\310p\"\210\311\267\202\312\202\313\314\230\203\315 \210\316\317 \"A@!\320\317 \"8\2039\321!\322V\202@\323\317 \"8\211\203O\324\325P\313\211$\262\314\230\204i\326\n!\203_\327\n!\210\330 !\203i\331 !\210\f\203\226\332\235\203\226 \333$\313\211\211%&&U\203\226\334\335\336'\337=\203\222\340\202\223\341\"!\210 \342\343(#\210#\207" [TeX-current-process-region-p TeX-command-list TeX-error-overview-frame TeX-error-overview-buffer-name TeX-check-TeX TeX-check-TeX-command-not-found TeX-check-engine set-default TeX-command-buffer #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (TeX-region-file 15 TeX-master-file 20)) t nil "View" TeX-region-update-point TeX-command-expand assoc 2 prefix-numeric-value 0 3 read-from-minibuffer " command: " frame-live-p delete-frame get-buffer kill-buffer ("TeX" "LaTeX" "AmSTeX" "ConTeXt" "ConTeXt Full") call-process error format "ERROR: AUCTeX cannot find a working TeX distribution.\nMake sure you have one and that TeX binaries are in PATH environment variable%s" darwin ".\nIf you are using OS X El Capitan or later\nremember to add /Library/TeX/texbin/ to your PATH" "" TeX-process-set-variable TeX-command-next TeX-shell TeX-shell-command-option TeX-command system-type TeX-command-Show] 14 (#$ . 13189)]) #@238 Expand COMMAND for `TeX-active-master' 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. (fn COMMAND &optional LIST) (defalias 'TeX-command-expand #[513 "\305\211\211\211\211\211\211\211\211 \306\307D \206\"\310 B\262 \311\312\313 \"!\262\314\f #\211\203\212\315\316\f\"\262\317\f\"\262A@\262AA\262\320 \321\322\"\216\323!\203d\324\"\202v\325!\203r\324J\"\202v\326\327\")\262\262;\203.\330\331\211\f$\202.\f-\207" [case-fold-search TeX-command-pos TeX-command-text TeX-expand-pos TeX-expand-command nil "%%" #[0 "T\301\207" [TeX-expand-pos "%"] 1] TeX-expand-list regexp-opt mapcar car string-match match-string 0 assoc match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] functionp apply boundp error "Nonexpansion %s" replace-match t] 17 (#$ . 15138)]) #@967 Return the current master or region file name with quote for shell. Pass arguments EXTENSION NONDIRECTORY ASK to `TeX-active-master'. If the returned file name contains space, enclose it within quotes `"' when " \input" is supplemented (indicated by dynamically bound variable `TeX-command-text' having string value.) Also enclose the file name within \detokenize{} when the following three conditions are met: 1. compiling with standard (pdf)LaTeX or upLaTeX 2. " \input" is supplemented 3. EXTRA is non-nil (default when expanding "%T") Adjust dynamically bound variable `TeX-expand-pos' to avoid possible infinite loop in `TeX-command-expand'. If PREPROCESS-FN is non-nil then it is called with the filename as an argument and the results is enclosed instead of the filename. Helper function of `TeX-command-expand'. Use only within entries in `TeX-expand-list-builtin' and `TeX-expand-list'. (fn &optional EXTENSION NONDIRECTORY ASK EXTRA PREPROCESS-FN) (defalias 'TeX-active-master-with-quotes #[1280 "\304#;\203\305\306\"\203\307\202\310\311\312\2031;\2031 \313>\2031\n\314>\2031\315\2022\316\203@!\202AQ\"! G\\\207" [TeX-command-text major-mode TeX-engine TeX-expand-pos TeX-active-master string-match " " "\"" "" shell-quote-argument format (latex-mode doctex-mode) (default uptex) "\\detokenize{ %s }" "%s"] 13 (#$ . 16100)]) #@355 Check if DERIVED is newer than any of the ORIGINALS. Try each original with each member of EXTENSIONS, in all directories in `TeX-check-path'. Returns true if any of the ORIGINALS with any of the EXTENSIONS are newer than DERIVED. Will prompt to save the buffer of any ORIGINALS which are modified but not saved yet. (fn DERIVED ORIGINALS EXTENSIONS) (defalias 'TeX-check-files #[771 "\302\211\303!\304 \303\305\306\307\310 C\"\"!\211\203V\211@\211\203N\211@\211\203F\211@\311R\312!\2048\313!\203>\211 B\262 \210A\266\202\202!\210A\266\202\202\210A\266\202\202\210\211\203\221\211@\314!A\262\211\203\214\211\235\203\214\315!\203\214 \203\204\316\317\314!\320Q!\203\214rq\210\321 \210)\266\202W\211\203\252\211@\322\n\"\203\243\323\262A\266\202\202\222\210\207" [TeX-check-path TeX-save-query nil TeX-delete-duplicate-strings buffer-list mapcar #[257 "\300\301!!\207" [expand-file-name file-name-as-directory] 4 "\n\n(fn DIR)"] append TeX-master-directory "." file-exists-p get-file-buffer buffer-file-name buffer-modified-p y-or-n-p "Save file " "? " save-buffer file-newer-than-file-p t] 17 (#$ . 17481)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\311&\207" [custom-declare-variable TeX-command-sequence-max-runs-same-command funcall function #[0 "\300\207" [4] 1] "Maximum number of runs of the same command." :type integer :group TeX-command TeX-command-sequence-max-runs #[0 "\300\207" [12] 1] "Maximum number of total runs."] 8) #@69 Counter for the runs of the same command in `TeX-command-sequence'. (defvar TeX-command-sequence-count-same-command 1 (#$ . 19032)) #@55 Counter for the total runs of `TeX-command-sequence'. (defvar TeX-command-sequence-count 1 (#$ . 19170)) #@45 Last command run in `TeX-command-sequence'. (defvar TeX-command-sequence-last-command nil (#$ . 19281)) #@38 Sentinel for `TeX-command-sequence'. (defvar TeX-command-sequence-sentinel nil (#$ . 19391)) #@43 File function for `TeX-command-sequence'. (defvar TeX-command-sequence-file-function nil (#$ . 19490)) #@203 Command argument for `TeX-command-sequence'. It is set in `TeX-command-sequence' and used in `TeX-command-sequence-sentinel' to call again `TeX-command-sequence' with the appropriate command argument. (defvar TeX-command-sequence-command nil (#$ . 19600)) #@1330 Run a sequence of TeX commands defined by COMMAND. The COMMAND argument may be * nil: no command will be run in this case * a string with a command from `TeX-command-list' * a non-nil list of strings, which are commands from `TeX-command-list'; the car of the list is used as command to be executed in the first run of `TeX-command-sequence', the cdr of the list will be passed to the function in the next run, etc. * a function name, returning a string which is command from `TeX-command-list'; it will be funcall'd (without arguments!) and used again in the next run of `TeX-command-sequence'. * with any other value the function `TeX-command-default' is used to determine the command to run, until a stopping condition is met. This function runs at most `TeX-command-sequence-max-runs-same-command' times the same command in a row, and `TeX-command-sequence-max-runs' times in total in any case. It ends when `TeX-command-Show' is the command to be run. A non-nil value for the optional argument RESET means this is the first run of the function and some variables need to be reset. FILE-FN is a function of zero arguments returning the current filename. Valid choices are `TeX-master-file' (default if omitted) and `TeX-region-file'. (fn COMMAND &optional RESET FILE-FN) (defalias 'TeX-command-sequence #[769 "\211\206\306\204\307\310!\207\311\211;\203\262\311\202K<\203/\211A\262\242\262\202K\312!\203> \262\202K\311\211\313#\210\314!\262\313\315\316#\210\203[\317\211\311\n Y\203g\307\320\f\n#\207 Y\203s\307\321 \"\207\232\206\243\f\232\203\206\nT\202\210\317 T\322p!\211\262\205\243\323!\211\205\243\324\325\"\207" [TeX-command-sequence-file-function TeX-command-sequence-command TeX-command-sequence-count-same-command TeX-command-sequence-count TeX-command-sequence-last-command TeX-command-sequence-max-runs-same-command TeX-master-file message "No command to run." nil functionp t TeX-command-default TeX-command 0 1 "Stopping after running %S %d times in a row." "Stopping after %d compilations." get-buffer-process process-sentinel set-process-sentinel TeX-command-sequence-sentinel TeX-command-sequence-max-runs TeX-command-Show] 10 (#$ . 19865)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-save-query funcall function #[0 "\300\207" [t] 1] "If non-nil, ask user for permission to save files before starting TeX." :group TeX-command :type boolean] 8) (defvar TeX-command-history nil) #@65 Guess the next command to be run on NAME. (fn NAME-OR-FILE-FN) (defalias 'TeX-command-default #[257 "\306\307!\310=\203\311\310\312 !\313!C#\202\314!\203 \207\n\315>\203B\311\307\316\"\317\320\321 \"\322 \f\"#\203B \203?\207\207\323\324\203O\325 \206Q#\211\262\326\327E\235\203n\330\331\307\332\"! \"A\203n\333\207\206t\207" [TeX-file-extensions TeX-command-default major-mode BibTeX-file-extensions TeX-Biber-file-extensions LaTeX-using-Biber nil TeX--concat-ext TeX-region-file TeX-check-files TeX-output-extension file-relative-name TeX-save-document (doctex-mode latex-mode) "bbl" mapcar car LaTeX-bibliography-list append TeX-process-get-variable TeX-command-next TeX-PDF-from-DVI "Dvips" "Dvipdfmx" assoc expand-file-name "idx" "Index" TeX-command-Biber TeX-command-BibTeX TeX-PDF-mode TeX-command-Show LaTeX-idx-changed-alist] 9 (#$ . 22434)]) #@67 Query the user for what TeX command to use. (fn NAME-OR-FILE-FN) (defalias 'TeX-command-query #[257 "\304!\305 \206\306\307\310Q\311\n!\312\305\312\313&\314 \305#\242\262\211\203/\211\315\230\204/\211\2020)\207" [completion-ignore-case TeX-command-force major-mode TeX-command-list TeX-command-default t completing-read "Command (default " "): " TeX-mode-specific-command-list nil TeX-command-history assoc-string ""] 10 (#$ . 23329)]) #@57 The default command next time `TeX-command' is invoked. (defvar TeX-command-next nil (#$ . 23786)) (make-variable-buffer-local 'TeX-command-next) #@119 Query the user for a printer name. QUEUE is non-nil when we are checking for the printer queue. (fn &optional QUEUE) (defalias 'TeX-printer-query #[256 "\305\211\211\203\306\262\211\262\204&\307\310!\210\202&\311\262 \211\262\204&\307\312!\210\n\203B\313\314\315\316\f\203:\315\317\f\"\202;\320\"\n\")\202C\320\262\321\n\313#\242\206O\211\262\211\203[\211\320\230\203b\f\211\262\202e\211\211\203&\322\n\"8\206s\262\323\324\"\203\201\307\325\324\"\210\323\324\"\203\224\326\313\211\327%\262\202\201\207" [TeX-queue-command TeX-print-command TeX-printer-list completion-ignore-case TeX-printer-default nil 2 error "Need to customize `TeX-queue-command'" 1 "Need to customize `TeX-print-command'" t completing-read format "Printer%s: " " (default %s)" "" assoc-string assoc string-match "%p" "Don't use %s in printer names" replace-match 0] 11 (#$ . 23939)]) #@66 Check STYLES compared to the current style options. (fn STYLES) (defalias 'TeX-style-check #[257 "\300 \203\301@@\302#\204A\262\202\210\211\203!\211@A@\207\303\207" [TeX-style-list TeX-member string-match ""] 6 (#$ . 24842)]) #@51 Get the extension of the current TeX output file. (defalias 'TeX-output-extension #[0 "<\203@\207\301\302 \300#\206\207" [TeX-output-extension TeX-process-get-variable TeX-active-master] 4 (#$ . 25087)]) #@49 Start `TeX-view' at mouse position. (fn EVENT) (defalias 'TeX-view-mouse #[257 "r\300\301!\211@\262!q\210\302\301!!b\210\303 )\207" [window-buffer event-start posn-point TeX-view] 4 (#$ . 25305) "e"]) #@266 Syncs the location of point in the region file with the current file. Thereafter, point in the region file is on the same text as in the current buffer. Do nothing in case the last command hasn't operated on the region or `TeX-source-correlate-mode' is disabled. (defalias 'TeX-region-update-point #[0 "\205A \205A\303\304\305!!\306 `\307 \n\206\310 ]Z\205?rq\210eb\210\311\312\313\305#\205>\314\315\316!!eb\210Zy\210u\262)\266\203\207" [TeX-current-process-region-p TeX-source-correlate-mode TeX-command-region-begin get-file-buffer TeX-region-file t TeX-current-offset line-beginning-position region-beginning re-search-forward "!offset(\\(-?[0-9]+\\)" nil string-to-number match-string 1] 7 (#$ . 25517)]) #@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 #[0 "\300\301 !\302!\203\303\304\300\305#\207\306\307\"\207" [TeX-active-master TeX-output-extension file-exists-p TeX-command "View" 0 message "Output file %S does not exist."] 5 (#$ . 26248) nil]) #@381 Hook being run after TeX/LaTeX/ConTeXt finished successfully. The functions in this hook are run with the DVI/PDF output file given as argument. Using this hook can be useful for updating the viewer automatically after re-compilation of the document. If you use an emacs-internal viewer such as `doc-view-mode' or `pdf-view-mode', add `TeX-revert-document-buffer' to this hook. (defvar TeX-after-compilation-finished-functions nil (#$ . 26608)) (make-obsolete-variable 'TeX-after-TeX-LaTeX-command-finished-hook 'TeX-after-compilation-finished-functions "11.89") #@407 Revert the buffer visiting FILE. This function is intended to be used in `TeX-after-compilation-finished-functions' for users that view their compiled document with an emacs viewer such as `doc-view-mode' or `pdf-view-mode'. (Note that this function just calls `revert-buffer' in the respective buffer and thus requires that the corresponding mode defines a sensible `revert-buffer-function'.) (fn FILE) (defalias 'TeX-revert-document-buffer #[257 "\300!\211\205r\211q\210\301\302\303\211#)\207" [find-buffer-visiting revert-buffer nil t] 6 (#$ . 27180)]) #@96 Function to adjust coding system of an asynchronous process. Called with one argument PROCESS. (defvar TeX-after-start-process-function 'TeX-adjust-process-coding-system (#$ . 27747)) #@224 Adjust coding system of PROCESS to suitable value. Usually coding system is the same as the TeX file with eol format adjusted to OS default value. Take care of Japanese TeX, which requires special treatment. (fn PROCESS) (defalias 'TeX-adjust-process-coding-system #[257 "\304\301!\203\305\306!\203rq\210 )\203\306!\207\307rq\210\n)!\211\310=\203*\311\262\312 \313=\2036\314\2027\315\"\262\316\211#\207" [TeX-command-buffer japanese-TeX-mode buffer-file-coding-system system-type boundp fboundp japanese-TeX-set-process-coding-system coding-system-base utf-8-with-signature utf-8 coding-system-change-eol-conversion windows-nt dos unix set-process-coding-system] 6 (#$ . 27938)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-show-compilation funcall function #[0 "\300\207" [nil] 1] "If non-nil, show output of TeX compilation in other window." :group TeX-command :type boolean] 8) #@106 Create a process for NAME using COMMAND to process FILE. Return the new process. (fn NAME COMMAND FILE) (defalias 'TeX-run-command #[771 "\306!\307 p\310!\210\311\303\"\210\312!\210q\210\313 \210\314 \210\315\301!\210\316\317\315\303!\210\211\2033\320!\210\321\322\323\n\324\261\210\325 \210\f\203N\326!\210\202U\327\330\331\332!\"\210\333\334'(\203\222\335)*\n%+\203v+!\210\336!\210\337\340\"\210\341\342\"\210\343!d\317\223\210\211,B,\207\344-\345 \210\346)\317\317* &\207" [TeX-command-default line-number-display-limit TeX-output-extension TeX-command-buffer TeX-show-compilation TeX-parse-function TeX-process-buffer-name TeX-master-directory TeX-process-check set-default get-buffer-create buffer-disable-undo erase-buffer make-local-variable 0 nil cd "Running `" "' on `" "' with ``" "''\n" TeX-output-mode display-buffer message "Type `%s' to display results of compilation." substitute-command-keys "\\\\[TeX-recenter-output-buffer]" TeX-parse-command #[514 "\300\301P!\207" [message ": done."] 5 "\n\n(fn PROCESS NAME)"] start-process TeX-command-mode-line set-process-filter TeX-command-filter set-process-sentinel TeX-command-sentinel process-mark ": run" force-mode-line-update call-process TeX-sentinel-function TeX-process-asynchronous TeX-shell TeX-shell-command-option TeX-after-start-process-function compilation-in-progress mode-line-process] 14 (#$ . 28892)]) #@96 Remember TeX command to use to NAME and set corresponding output extension. (fn NAME COMMAND) (defalias 'TeX-run-set-command #[514 "\305 \204 \203\306\202\307\310 \211\2054\311@@\"\203-\211@A@\312\262\202\211A\262\202)\207" [TeX-command-default TeX-PDF-mode TeX-output-extension TeX-command-output-list case-fold-search TeX-PDF-from-DVI "pdf" "dvi" t string-match nil] 7 (#$ . 30343)]) #@213 Reports presence of errors after `TeX-run-TeX'. Actually, `TeX-run-format' sets it. To test whether the current buffer has a compile error from last run of `TeX-run-format', use (TeX-error-report-has-errors-p) (defvar TeX-error-report-switches nil (#$ . 30759)) #@72 Return non-nil if current buffer has compile errors from last TeX run. (defalias 'TeX-error-report-has-errors-p #[0 "\301\302\303 !\"\207" [TeX-error-report-switches plist-get intern TeX-master-file] 4 (#$ . 31029)]) #@90 Create a process for NAME using COMMAND to format FILE with TeX. (fn NAME COMMAND FILE) (defalias 'TeX-run-format #[771 "\305\"\210\306 \307!\310#\311\312#\311\313!\314#rq\210\315 \210\316\317 \2037\320\321!\210\322\323\"\210)\207" [TeX-error-report-switches TeX-parse-function TeX-sentinel-function TeX-process-asynchronous TeX-current-page TeX-run-set-command TeX-master-file TeX-process-buffer-name TeX-run-command plist-put TeX-current-master intern nil TeX-parse-reset TeX-parse-TeX TeX-TeX-sentinel "[0]" TeX-format-mode-line set-process-filter TeX-format-filter] 10 (#$ . 31253)]) #@90 Create a process for NAME using COMMAND to format FILE with TeX. (fn NAME COMMAND FILE) (defalias 'TeX-run-TeX #[771 "\306\211\307>\203B\310\311\312\313!!\211\262!\314 \"\211\262\203$\315 \"\202\203B\316\317\320\"r\211q\210\321\322\"\216\323!\210\324p!B B*\210\266\n\203N\325#\207 \326# \203[\207\327#\207" [major-mode LaTeX-idx-md5-alist TeX-interactive-mode TeX-sentinel-default-function TeX-sentinel-function TeX-process-asynchronous nil (doctex-mode latex-mode) file-exists-p expand-file-name TeX-active-master "idx" assoc delq generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents-literally md5 TeX-run-interactive TeX-run-format TeX-synchronous-sentinel] 9 (#$ . 31867)]) (defalias 'TeX-run-LaTeX 'TeX-run-TeX) #@93 Create a process for NAME using COMMAND to format FILE with BibTeX. (fn NAME COMMAND FILE) (defalias 'TeX-run-BibTeX #[771 "\302#\303 \203\f\207\304#\207" [TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-BibTeX-sentinel TeX-synchronous-sentinel] 8 (#$ . 32699)]) #@92 Create a process for NAME using COMMAND to format FILE with Biber. (fn NAME COMMAND FILE) (defalias 'TeX-run-Biber #[771 "\302#\303 \203\f\207\304#\207" [TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-Biber-sentinel TeX-synchronous-sentinel] 8 (#$ . 32996)]) #@93 Create a process for NAME using COMMAND to convert FILE with dvips. (fn NAME COMMAND FILE) (defalias 'TeX-run-dvips #[771 "\302#\303 \203\f\207\304#\207" [TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-dvips-sentinel TeX-synchronous-sentinel] 8 (#$ . 33290)]) #@96 Create a process for NAME using COMMAND to convert FILE with dvipdfmx. (fn NAME COMMAND FILE) (defalias 'TeX-run-dvipdfmx #[771 "\302#\303 \203\f\207\304#\207" [TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-dvipdfmx-sentinel TeX-synchronous-sentinel] 8 (#$ . 33585)]) #@94 Create a process for NAME using COMMAND to convert FILE with ps2pdf. (fn NAME COMMAND FILE) (defalias 'TeX-run-ps2pdf #[771 "\302#\303 \203\f\207\304#\207" [TeX-sentinel-function TeX-process-asynchronous TeX-run-command TeX-ps2pdf-sentinel TeX-synchronous-sentinel] 8 (#$ . 33889)]) #@92 Create a process for NAME using COMMAND to compile the index file. (fn NAME COMMAND FILE) (defalias 'TeX-run-index #[771 "\304#\305\306\307r q\210\310\311\312!!)\n\"\211\262\203#\313\n\"\202 \203)\207\314#\207" [TeX-sentinel-function TeX-command-buffer LaTeX-idx-changed-alist TeX-process-asynchronous TeX-run-command nil TeX-index-sentinel assoc expand-file-name TeX-active-master "idx" delq TeX-synchronous-sentinel] 9 (#$ . 34187)]) #@94 Ignore first and third argument, start compile with second argument. (fn NAME COMMAND FILE) (defalias 'TeX-run-compile #[771 "\302 \303!)r q\210\304\305!\210\306\305\307\310#)\207" [default-directory TeX-command-buffer TeX-master-directory compile make-local-variable compilation-error-regexp-alist add-to-list ("^\"\\([^,\"\n ]+\\)\", line \\([0-9]+\\)\\(?:[(. pos]+\\([0-9]+\\))?\\)?[:.,; (-]\\( warning:\\|[-0-9 ]*(W)\\)?" 1 2 3 (4)) t] 7 (#$ . 34645)]) #@100 Ignore first and third argument, start shell-command with second argument. (fn NAME COMMAND FILE) (defalias 'TeX-run-shell #[771 "\302 \303!\210 \304=\205\305 )\207" [default-directory system-type TeX-master-directory shell-command ms-dos redraw-display] 5 (#$ . 35113)]) #@101 Start COMMAND as process, discarding its output. NAME and FILE are ignored. (fn NAME COMMAND FILE) (defalias 'TeX-run-discard #[771 "\303 \304 \305\306\305\n&)\207" [default-directory TeX-shell TeX-shell-command-option TeX-master-directory call-process nil 0] 10 (#$ . 35397)]) #@178 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. (fn NAME COMMAND FILE) (defalias 'TeX-run-discard-foreground #[771 "\304\300!\203\305=\203\306\307!\210\310 \n\311=\205\312\313\211 &\210\n\311=\205)\314 \207" [dos-machine-type TeX-shell system-type TeX-shell-command-option boundp pc98 send-string-to-terminal "" call-process ms-dos "con" nil redraw-display] 10 (#$ . 35687)]) (defalias 'TeX-run-dviout 'TeX-run-discard-foreground) #@97 Start process with second argument, show output when and if it arrives. (fn NAME COMMAND FILE) (defalias 'TeX-run-background #[771 "\303 \304\305!q\210\211\203\306!\210\307 \210\310\311P\312 %\n\203$\n!\210\313\314\"\210\315\312\"\207" [TeX-shell TeX-shell-command-option TeX-after-start-process-function TeX-master-directory get-buffer-create "*TeX background*" cd erase-buffer start-process " background" nil set-process-filter TeX-background-filter set-process-query-on-exit-flag] 10 (#$ . 36245)]) #@61 Start process with second argument. (fn NAME COMMAND FILE) (defalias 'TeX-run-silent #[771 "\303 \304\305!q\210\211\203\306!\210\307 \210\310\311Pp %\n\203$\n!\210\312\313\"\207" [TeX-shell TeX-shell-command-option TeX-after-start-process-function TeX-master-directory get-buffer-create "*TeX silent*" cd erase-buffer start-process " silent" set-process-query-on-exit-flag nil] 10 (#$ . 36765)]) #@247 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 \[next-error] should work with a bit of luck. (fn NAME COMMAND FILE) (defalias 'TeX-run-interactive #[771 "\306\"\210\307\310!\210\311!\312\313 p \314!\210\315\316\"\210\nr\317!q\210p\320 \210\312\211\321\211\321()\322 \210\323\324!\210+\211*\325!\210)\266q\210\326\316!\210\312\203\\\327!\210\330 \331 \332\f\333\261\210\334\n+\312, D%\210\335 \210\336\337\340\"\210-\341!\262.\203\224.!\210\342!\210\343\344\"\210\345!d\312\223\210/B/\346 \210\3470\211\2111\207" [TeX-command-default TeX-sentinel-default-function default-directory buffer-read-only buffer-file-name buffer-undo-list TeX-run-set-command require comint TeX-process-buffer-name nil TeX-master-directory TeX-process-check set-default TeX-command-buffer get-buffer-create kill-all-local-variables t erase-buffer run-hooks temp-buffer-setup-hook internal-temp-output-buffer-show 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 inhibit-modification-hooks inhibit-read-only standard-output TeX-shell TeX-shell-command-option mode-name TeX-after-start-process-function compilation-in-progress TeX-parse-function TeX-sentinel-function] 17 (#$ . 37179)]) #@131 Execute Lisp function or function call given as the string COMMAND. Parameters NAME and FILE are ignored. (fn NAME COMMAND FILE) (defalias 'TeX-run-function #[771 "\300!@\301!\203 \211 \207\302\303\"\207" [read-from-string functionp eval t] 7 (#$ . 38764)]) #@195 Start COMMAND as process or execute it as a Lisp function. If run as a process, the output is discarded. COMMAND is expected to be a string. NAME and FILE are ignored. (fn NAME COMMAND FILE) (defalias 'TeX-run-discard-or-function #[771 "\300\301!@!\203\302#\207\303#\207" [functionp read-from-string TeX-run-function TeX-run-discard] 7 (#$ . 39034)]) #@194 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. (fn COMMAND IGNORED NAME) (defalias 'TeX-run-ispell-on-document #[771 "\300\301!\207" [TeX-ispell-document ""] 5 (#$ . 39404) nil]) #@82 Process TeX command output buffer after the process dies. (fn NAME FILE RESULT) (defalias 'TeX-synchronous-sentinel #[771 "\305\306!!r\211q\210db\210\307\203\310U\203\311\202\312\313\314 \310\315O\261\210\316\neb\210\f\317\"\210\320 )\207" [mode-name mode-line-process TeX-command-Show TeX-command-next TeX-sentinel-function TeX-process-buffer file-name-nondirectory "\n" 0 " finished" " exited" " at " current-time-string -5 ": exit" nil force-mode-line-update] 11 (#$ . 39709)]) #@77 Process TeX command output buffer after the process dies. (fn PROCESS MSG) (defalias 'TeX-command-sentinel #[514 "\306 \307!\310!\311!\204\312\313\"\210\314\313\"\210\202Y\315!\316>\203Yrq\210db\210\317\320 \321$\210\322u\210\323\324 \325\326O\261\210\327u\210\330!\210\neb\210\f\"\210\331!\210)\332\333!\210)\266\334 \"\211\207" [TeX-transient-master mode-name TeX-command-Show TeX-command-next TeX-sentinel-function compilation-in-progress TeX-master-file 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 force-mode-line-update t delq] 9 (#$ . 40211)]) #@99 Hook to cleanup TeX command buffer after termination of PROCESS. NAME is the name of the process. (defvar TeX-sentinel-function #[514 "\300\207" [nil] 3 "\n\n(fn PROCESS NAME)"] (#$ . 40965)) (make-variable-buffer-local 'TeX-sentinel-function) #@162 Default for `TeX-sentinel-function'. To be set in major mode. Hook to cleanup TeX command buffer after termination of PROCESS. NAME is the name of the process. (defvar TeX-sentinel-default-function #[514 "\300\207" [nil] 3 "\n\n(fn PROCESS NAME)"] (#$ . 41216)) (make-variable-buffer-local 'TeX-sentinel-default-function) #@293 Cleanup TeX output buffer after running TeX. Parse the output buffer to collect errors and warnings if the variable `TeX-parse-all-errors' is non-nil. Open the error overview if `TeX-error-overview-open-after-TeX-run' is non-nil and there are errors or warnings to show. (fn PROCESS NAME) (defalias 'TeX-TeX-sentinel #[514 "\306\"\203\203\300 \210 \205\307\310 \311 \"\205C\312 \207\313\314\315 Q!\210\316r\nq\210 \2054\317 \211\262)\203>\211\211\202A \211\262\207" [TeX-parse-all-errors TeX-error-overview-open-after-TeX-run TeX-command-buffer TeX-PDF-mode TeX-command-next TeX-command-Show TeX-TeX-sentinel-check TeX-error-overview-make-entries TeX-master-directory TeX-active-buffer TeX-error-overview message ": formatted " TeX-current-pages nil TeX-PDF-from-DVI] 6 (#$ . 41546)]) #@57 Return string indicating the number of pages formatted. (defalias 'TeX-current-pages #[0 "\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 (#$ . 42358)]) #@102 Cleanup TeX output buffer after running TeX. Return nil ifs no errors were found. (fn PROCESS NAME) (defalias 'TeX-TeX-sentinel-check #[514 "\212db\210\306\307\"\203W\310\301!\203Wrq\210 \311\230)\203W\312\313\314\315#\203\207\316\317!\306\320\"\2034\321\317\"\262\306\322\"\203B\321\317\"\202C\323\210\324\325\314\315#\203\207\326\316\317!\327Q\202\207\312\330\314\315#\203\207\316\317!\326\316\331!\327Q\306\320\"\203v\321\317\"\262\306\322\"\203\204\321\317\"\202\205\323\210)\203\220\332!\210\324\333\314\315#\203\264\334\335\336 \337\340!$\210\f\341&\342\343&\344\"!\315#&\315\207\314rq\210'\205\303\345 \211\262)\203\313\202\317(\210\314\207" [TeX-command-buffer ConTeXt-Mark-version TeX-output-extension TeX-current-page TeX-command-default TeX-command-next string-match "ConTeXt" boundp "IV" re-search-backward " > result saved in file: \\(.*?\\), " nil t TeX-match-buffer 1 "\\`\"\\(.*\\)\"\\'" match-string "\\.\\([^.]*\\)$" "dvi" re-search-forward ", \\([0-9]+\\) shipped pages, " "{" "}" "^Output written on \\(.*?\\) (\\([0-9]+\\) page" 2 TeX-format-mode-line "^\\(!\\|.*:[0-9]+:\\) " message "%s errors in `%s'. Use %s to display." buffer-name substitute-command-keys "\\\\[TeX-next-error]" plist-put intern plist-get TeX-current-master TeX-PDF-from-DVI TeX-error-report-switches TeX-PDF-mode TeX-command-Show] 8 (#$ . 42604)]) #@33 Regexp matching LaTeX warnings. (defvar LaTeX-warnings-regexp "\\(?:LaTeX\\|Class\\|Package\\|\\*\\) [-A-Za-z0-9]* ?[Ww]arning:" (#$ . 44014)) #@105 Return non-nil, if the output buffer contains warnings. Warnings can be indicated by LaTeX or packages. (defalias 'TeX-LaTeX-sentinel-has-warnings #[0 "\212eb\210\301\302P\303\304#)\207" [LaTeX-warnings-regexp re-search-forward "^" nil t] 4 (#$ . 44164)]) #@72 Return non-nil, if LaTeX output indicates overfull or underfull boxes. (defalias 'TeX-LaTeX-sentinel-has-bad-boxes #[0 "\212eb\210\300\301\302\303#)\207" [re-search-forward "^\\(Ov\\|Und\\)erfull \\\\" nil t] 4 (#$ . 44427)]) #@295 Cleanup TeX output buffer after running LaTeX. Parse the output buffer to collect errors and warnings if the variable `TeX-parse-all-errors' is non-nil. Open the error overview if `TeX-error-overview-open-after-TeX-run' is non-nil and there are errors or warnings to show. (fn PROCESS NAME) (defalias 'TeX-LaTeX-sentinel #[514 "\203\300 \210 \203\306\307 \310 \"\203\311 \210\312\"\204\352\212\313\314\315\316#)\203Tr\nq\210\317 \205=\320\321\322!\323 \324 \f ##)\203T\325\326\327\330 #\210r\nq\210@)A\202\352\212\313\331\315\316#)\203\212r\nq\210\317 \205s\320\321\322!\323 \324 \f ##)\203\212\325\326\332\330 #\210r\nq\210B)A\202\352\313\333\315\316#\203\240\325\326\334\330 #\210CA\202\352\313\335\315\316#\203\266\325\326\336\330 #\210CA\202\352\313\337\315\316#\203\314\325\326\340\330 #\210CA\202\352\313\341\315\316#\203\342\325\326\342\330 #\210CA\202\352\313\343\315\316#\203\325\344\345\330 $\210\315r\nq\210D\205\346 \211\262)\203\nA\202\352EA\210\202\352\313\347\315\316#\203B\325\344\350\330 $\210\315r\nq\210D\2051\346 \211\262)\203:A\202\352EA\210\202\352\313\351\315\316#\203V\325\352\353\"\210CA\202\352\313\354\315\316#\203j\325\352\355\"\210CA\202\352\313\356\315\316#\203~\325\352\357\"\210CA\202\352\313\360\315\316#\203\336F\205\215\361 G\205\224\362 \204\234\211\205\263\363\205\242\364\205\253\205\253\365\205\260\366\367\260\325\352\370\330 R\"\266\315r\nq\210D\205\315\346 \211\262)\203\326A\202\352EA\210\202\352\325\344\371\330 $\210CA\315\372r\nq\210\373\374\375!!)\211\262!\203Q\320r\nq\210\373\374\376!!)r\nq\210\377\374 !)C\201J#\203Q\201K\201L\316\"r\211q\210\201M\201N\"\216\201O!\210\201PH\"A\201Qp!\232*?\262\203Q\211\316BIBI\210\201R ?\205n\201S\201Tr\nq\210\373\374\201U !!)\"\207" [TeX-parse-all-errors TeX-error-overview-open-after-TeX-run TeX-command-buffer TeX-file-extensions BibTeX-file-extensions TeX-Biber-file-extensions TeX-error-overview-make-entries TeX-master-directory TeX-active-buffer TeX-error-overview TeX-TeX-sentinel-check re-search-forward "^Package biblatex Warning: Please (re)run Biber on the file" nil t LaTeX-bibliography-list TeX-check-files TeX-master-file "bbl" TeX-style-list append message "%s%s" "You should run Biber to get citations right, " TeX-current-pages "^\\(?:LaTeX\\|Package natbib\\) Warning: Citation" "You should run BibTeX to get citations right, " "Package biblatex Warning: Please rerun LaTeX" "You should run LaTeX again, " "^(biblatex)\\W+Page breaks have changed" "You should run LaTeX again - page breaks have changed, " "^\\(?:LaTeX Warning: Label(s)\\|Package natbib Warning: Citation(s)\\)" "You should run LaTeX again to get references right, " "^\\(?:(rerunfilecheck)\\|Package hyperref Warning:\\)\\W+Rerun to get outlines right" "You should run LaTeX again to get outlines right, " "^LaTeX Warning: Reference" "%s%s%s" ": there were unresolved references, " TeX-PDF-from-DVI "^\\(?:LaTeX Warning: Citation\\|Package natbib Warning:.*undefined citations\\)" ": there were unresolved citations, " "Package longtable Warning: Table widths have changed\\. Rerun LaTeX\\." "%s" "You should run LaTeX again to get table formatting right" "^hf-TikZ Warning: Mark '.*' changed\\. Rerun to get mark in right position\\." "You should run LaTeX again to get TikZ marks in right position" "^\\* xsim warning: \"rerun\"" "You should run LaTeX again to synchronize exercise properties" "^\\(\\*\\* \\)?J?I?p?\\(La\\|Sli\\)TeX\\(2e\\)? \\(Version\\|ver\\.\\|<[0-9/-]*\\(?:u[^>]*\\)?>\\)" TeX-LaTeX-sentinel-has-warnings TeX-LaTeX-sentinel-has-bad-boxes " (with " "warnings" " and " "bad boxes" ")" ": successfully formatted " ": problems after " file-exists-p expand-file-name TeX-active-master "idx" "ind" file-name-nondirectory TeX-command-Biber TeX-command-next TeX-command-BibTeX TeX-command-default TeX-PDF-mode TeX-command-Show TeX-debug-warnings TeX-debug-bad-boxes LaTeX-idx-md5-alist LaTeX-idx-changed-alist ("idx") generate-new-buffer " *temp*" make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents-literally assoc md5 TeX-error-report-has-errors-p run-hook-with-args TeX-after-compilation-finished-functions TeX-output-extension] 11 (#$ . 44660)]) #@68 Cleanup TeX output buffer after running BibTeX. (fn PROCESS NAME) (defalias 'TeX-BibTeX-sentinel #[514 "db\210\302\303\304\305#\203\306\307\310\311!\310\312!\313\314!$\210\202\306\315!\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 `%s' to display output." match-string 1 2 substitute-command-keys "\\\\[TeX-recenter-output-buffer]" "BibTeX finished successfully. Run LaTeX again to get citations right."] 8 (#$ . 48987)]) #@67 Cleanup TeX output buffer after running Biber. (fn PROCESS NAME) (defalias 'TeX-Biber-sentinel #[514 "db\210\303\304\305\306#\203\307\310\311\312!\311\313!\227\314\315!$\210\211\207\303\316\305\306#\2030\307\317\314\315!\"\210\n\211\207\307\320!\210\211\207" [TeX-command-default TeX-command-next TeX-command-Biber re-search-backward "^INFO - \\(WARNINGS\\|ERRORS\\): \\([0-9]+\\)" nil t message "Biber finished with %s %s. Type `%s' to display output." match-string 2 1 substitute-command-keys "\\\\[TeX-recenter-output-buffer]" "^FATAL" "Biber had a fatal error and did not finish! Type `%s' to display output." "Biber finished successfully. Run LaTeX again to get citations right."] 8 (#$ . 49585)]) #@67 Cleanup TeX output buffer after running dvips. (fn PROCESS NAME) (defalias 'TeX-dvips-sentinel #[514 "db\210\304\305\306\307#\203\310\311\312\313!\"\207rq\210\314 \315\232\205 )\203&\316\317\310\320!\207" [TeX-command-buffer TeX-PDF-mode TeX-output-extension TeX-command-next search-backward "TeX Output exited abnormally" nil t message "Dvips failed. Type `%s' to display output." substitute-command-keys "\\\\[TeX-recenter-output-buffer]" TeX-PDF-from-DVI "Dvips" "ps" "Ps2pdf" "Dvips finished successfully. "] 6 (#$ . 50317)]) #@70 Cleanup TeX output buffer after running dvipdfmx. (fn PROCESS NAME) (defalias 'TeX-dvipdfmx-sentinel #[514 "db\210\305\306\307\310#\203\311\312\313\314!\"\207rq\210\315 \316\232\205 )\203&\317 \311\320!\207" [TeX-command-buffer TeX-PDF-mode TeX-output-extension TeX-command-Show TeX-command-next search-backward "TeX Output exited abnormally" nil t message "Dvipdfmx failed. Type `%s' to display output." substitute-command-keys "\\\\[TeX-recenter-output-buffer]" TeX-PDF-from-DVI "Dvipdfmx" "pdf" "Dvipdfmx finished successfully. "] 6 (#$ . 50877)]) #@68 Cleanup TeX output buffer after running ps2pdf. (fn PROCESS NAME) (defalias 'TeX-ps2pdf-sentinel #[514 "db\210\305\306\307\310#\203\311\312\313\314!\"\207rq\210\315 \316\232\205 )\203&\n\317\311\320!\207" [TeX-command-buffer TeX-PDF-mode TeX-command-Show TeX-command-next TeX-output-extension search-backward "TeX Output exited abnormally" nil t message "ps2pdf failed. Type `%s' to display output." substitute-command-keys "\\\\[TeX-recenter-output-buffer]" TeX-PDF-from-DVI "Dvips" "pdf" "ps2pdf finished successfully. "] 6 (#$ . 51458)]) #@69 Cleanup TeX output buffer after compiling index. (fn PROCESS NAME) (defalias 'TeX-index-sentinel #[514 "db\210\302\303\304\305#\203\306\307\310\311!\"\207\306\312!\207" [TeX-command-default TeX-command-next search-backward "TeX Output exited abnormally" nil t message "Index failed. Type `%s' to display output." substitute-command-keys "\\\\[TeX-recenter-output-buffer]" "Index finished successfully. Run LaTeX again to get index right."] 6 (#$ . 52029)]) #@222 Call the appropriate sentinel for the current process. If there are no errors, call back `TeX-command-sequence' using `TeX-command-sequence-command' as command argument, unless this variable is nil. (fn PROCESS STRING) (defalias 'TeX-command-sequence-sentinel #[514 "r\304!q\210\"\210\305\306\"\205'r q\210\307 \206\n??\205&\310\n\311 #))\207" [TeX-command-sequence-sentinel TeX-command-buffer TeX-command-sequence-command TeX-command-sequence-file-function process-buffer string-match "\\(finished\\|exited\\)" TeX-error-report-has-errors-p TeX-command-sequence nil] 6 (#$ . 52513)]) (byte-code "\302W\203\303 \236\204\304 B\302\207" [emacs-major-version minor-mode-alist 27 compilation-in-progress (compilation-in-progress " Compiling")] 2) #@175 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. (fn NAME SYMBOL &optional DEFAULT) (defalias 'TeX-process-get-variable #[770 "\300!\211\203\301\"\203r\211q\210J)\207\207" [TeX-process-buffer local-variable-p] 7 (#$ . 53280)]) #@121 Set the variable SYMBOL in the process buffer to VALUE. Return nil iff no process buffer exist. (fn NAME SYMBOL VALUE) (defalias 'TeX-process-set-variable #[771 "\300!\211\205r\211q\210L\210)\301\207" [TeX-process-buffer t] 6 (#$ . 53613)]) #@152 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. (fn NAME) (defalias 'TeX-process-check #[257 "\300\301!\211\262\2056\302!\303=\2056\304\305\306!\307\310\260!\203'\311!\210\202\302!\303=\203\312\313!\210\202\207" [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"] 8 (#$ . 53867)]) #@76 Return name of AUCTeX buffer associated with the document NAME. (fn NAME) (defalias 'TeX-process-buffer-name #[257 "\300\301\302!!\303Q\207" ["*" abbreviate-file-name expand-file-name " output*"] 5 (#$ . 54399)]) #@72 Return the AUCTeX buffer associated with the document NAME. (fn NAME) (defalias 'TeX-process-buffer #[257 "\300\301!!\207" [get-buffer TeX-process-buffer-name] 4 (#$ . 54620)]) #@69 Return AUCTeX process associated with the document NAME. (fn NAME) (defalias 'TeX-process #[257 "\205 \301\302!!\207" [TeX-process-asynchronous get-buffer-process TeX-process-buffer] 4 (#$ . 54805)]) #@81 Format the mode line for a buffer containing output from PROCESS. (fn PROCESS) (defalias 'TeX-command-mode-line #[257 "\301\302\303!!P\304 \207" [mode-line-process ": " symbol-name process-status force-mode-line-update] 5 (#$ . 55015)]) #@55 Filter to process normal output. (fn PROCESS STRING) (defalias 'TeX-command-filter #[514 "r\300!q\210\212\301!b\210\302!\210\301!`\303\223*\207" [process-buffer process-mark insert-before-markers nil] 5 (#$ . 55261)]) #@66 The page number currently being formatted, enclosed in brackets. (defvar TeX-current-page nil (#$ . 55490)) (make-variable-buffer-local 'TeX-current-page) #@85 Format the mode line for a buffer containing TeX output from PROCESS. (fn PROCESS) (defalias 'TeX-format-mode-line #[257 "\302\303\304\305!!R\306 \207" [TeX-current-page mode-line-process " " ": " symbol-name process-status force-mode-line-update] 7 (#$ . 55651)]) #@52 Filter to process TeX output. (fn PROCESS STRING) (defalias 'TeX-format-filter #[514 "r\301!q\210\302\211\211\303\304!!\212\211b\210\305!\210\304!`\302\223\210`V\203W\306\210`\307 Z\310>\203`Tf\311>\204`Sf\312=\203P`Tf\203P`Tfz\313=\203\314\315!\210\202\303\304!!b\210\211\205\300\316x\205\300`V\205\300`\262\317u\210\320e\321Z]x\210`Sf\322=\203_\302f\323=\204_`S{\262\302\262\324\325#\211\262\203\254\326\327\330\211$\262\202\225\324\331\"\203_\302\262\332!\210\202_)\266\204)\207" [TeX-current-page process-buffer nil marker-position process-mark insert-before-markers 0 line-beginning-position (79 80) (10 40) 46 119 delete-char 1 "^]" -1 "-0-9\n." 128 91 93 string-match "\n" replace-match "" t "\\`\\[-?[0-9]+\\(\\.-?[0-9]+\\)\\{0,9\\}\\]\\'" TeX-format-mode-line] 11 (#$ . 55926)]) #@57 Function to call to parse content of TeX output buffer. (defvar TeX-parse-function nil (#$ . 56770)) (make-variable-buffer-local 'TeX-parse-function) #@59 Filter to process background output. (fn PROCESS STRING) (defalias 'TeX-background-filter #[514 "\301 \302\303\304\305\302#\210db\210c\210\306!)\207" [pop-up-windows selected-window t TeX-pop-to-buffer "*TeX background*" nil select-window] 7 (#$ . 56926)]) #@62 Move point to prompt of an interactive TeX run. (fn STRING) (defalias 'TeX-interactive-goto-prompt #[257 "\300 p\301!\302\303\"\216\211\205\304\302\305%\306\307#)\207" [selected-window get-buffer-process make-closure #[0 "\300q\207" [V0] 1] walk-windows #[257 "\304!\302=\205#\305!\210`\306\303!W\203 \307\310\300\"\203 \306\303!b\210\305\301!\207" [V0 V1 V2 V3 window-buffer select-window process-mark string-match "^\\? $"] 4 "\n\n(fn WINDOW)"] nil t] 11 (#$ . 57193)]) #@68 This variable is set to t iff the last TeX command is on a region. (defvar TeX-current-process-region-p nil (#$ . 57689)) #@51 Return the active process for the current buffer. (defalias 'TeX-active-process #[0 "\300\301 !\207" [TeX-process TeX-active-master] 2 (#$ . 57817)]) #@58 Return the buffer of the active process for this buffer. (defalias 'TeX-active-buffer #[0 "\205 rq\210\301\302 !)\207" [TeX-command-buffer TeX-process-buffer TeX-active-master] 2 (#$ . 57973)]) #@353 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. The compatibility argument IGNORE is ignored. (fn &optional EXTENSION NONDIRECTORY IGNORE) (defalias 'TeX-active-master #[768 "\203 \301\"\207\302\"\207" [TeX-current-process-region-p TeX-region-file TeX-master-file] 6 (#$ . 58177)]) #@56 The buffer from where the last TeX command was issued. (defvar TeX-command-buffer nil (#$ . 58684)) #@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 (#$ . 58791)) #@61 Convert file name into a form acceptable to TeX. (fn FILE) (defalias 'TeX-quote-filename #[257 "\302\303\304#\211\262\203\305\306\307\211\310%\262\211T\262\202\303\311#\211\262\2038\305\312\307\302\310%\262\211\313\\\262\202\210\314>\203L \315>\203L\316\317\320\307$\207\207" [major-mode TeX-engine nil string-match "\\\\" replace-match "/" t 0 "[~#]" "\\\\string\\&" 8 (latex-mode doctex-mode) (default uptex) replace-regexp-in-string "[[:multibyte:]]+" "\\\\unexpanded{\\&}"] 8 (#$ . 59123)]) #@58 The original buffer in which the TeX-region was created. (defvar TeX-region-orig-buffer nil (#$ . 59648)) (make-variable-buffer-local 'TeX-region-orig-buffer) #@363 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. (fn FILE REGION ORIGINAL OFFSET) (defalias 'TeX-region-create #[1028 "\306\307!\203\307\"\211\203\211@\262\211A\262\210 p\310\n!\311!\312\313\312\211\211\211'()\311 \313\"-\312\314 \"\203C\315\202f\212\214q\210\212\214~\210eb\210\316\312\313#\204[\315\202e\316\317\312\313#\210\320e`\",\321\312\321\314\n\"\203v\315\202\236\212\214q\210\212\214~\210db\210\322 \312\313#\204\217\315\202\235\322\317\312\313#\210\323 \262\320`d\",\324\325\326 \"!\262\324 !\262 G\327V\203\311\321\330O\331\230\203\311\321\314\332\"O\202\312\315\262\315\230\204\336G\312O\262\332P\262rq\210\313\211*+\333 \262\313,\334 \210rq\210-)-\335\n\336.\337\340\261 \210\f\323 TZ\262\341!\342\337\f\340\261\210\341\323 TZ!\342\261\210 /\343\344!\210\333 \230\203D\345\312!\202G\346\321!+\207" [TeX-header-end TeX-trailer-start TeX-default-extension font-lock-mode-hook find-file-hook enable-local-variables fboundp preview--skip-preamble-region TeX-master-file find-file-noselect nil t string-match "" re-search-forward "[ \n]" buffer-substring-no-properties 0 re-search-backward TeX-current-offset TeX-quote-filename file-relative-name TeX-master-directory 1 2 "%&" "\n" buffer-string erase-buffer "\\message{ !name(" ")}" "\n\\message{ !name(" ") !offset(" int-to-string ") }\n" run-hooks TeX-region-hook set-buffer-modified-p save-buffer magic-mode-alist auto-mode-alist TeX-transient-master buffer-read-only buffer-undo-list inhibit-read-only buffer-file-coding-system TeX-region-extra TeX-region-orig-buffer] 26 (#$ . 59814)]) #@221 Return TeX-region file name with EXTENSION. If optional second argument NONDIRECTORY is non-nil, do not include the directory. The compatibility argument IGNORE is ignored. (fn &optional EXTENSION NONDIRECTORY IGNORE) (defalias 'TeX-region-file #[768 "\302 \303\"\206\203\304\202\211\305=\203\306 Q\202,\203+\306Q\202,P\207" [TeX-region TeX-default-extension TeX-master-directory TeX--master-output-dir "" t "."] 8 (#$ . 61741)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-region funcall function #[0 "\300\207" [#1="_region_"] 1 #1#] "Base name of temporary file for `TeX-command-region' and `TeX-command-buffer'." :group TeX-command :type string] 8) #@114 The section level used for `LaTeX-command-section'. Will be initialized to `LaTeX-largest-level' buffer-locally. (defvar LaTeX-command-section-level nil (#$ . 62471)) (make-variable-buffer-local 'LaTeX-command-section-level) #@102 Return the value of `LaTeX-command-section-level'. Initialize it to `LaTeX-largest-level' if needed. (defalias 'LaTeX-command-section-level #[0 "\204 \207" [LaTeX-command-section-level LaTeX-largest-level] 1 (#$ . 62703)]) #@224 Change `LaTeX-command-section-level' by ARG. `LaTeX-command-section-level' is the sectioning level used to determine the current section by `LaTeX-command-section'. The levels are defined by `LaTeX-section-list'. (fn ARG) (defalias 'LaTeX-command-section-change-level #[257 "\302\301 C\"@ \\\211\303V\203\303\304\305!\207 \306W\203#\306\304\307!\207\304\310\302 C\"@#\207" [LaTeX-section-list LaTeX-command-section-level rassoc 6 message "Cannot shrink LaTeX-command-section-level below subparagraph." 0 "Cannot enlarge LaTeX-command-section-level above part." "Changed level from %s to %s."] 9 (#$ . 62938) "p"]) #@124 Return the boundaries of the current section as (start . end). The section is determined by `LaTeX-command-section-level'. (defalias 'LaTeX-command-section-boundaries #[0 "\301\302\303\304\305\301\306 T\307\211W\203\211\211B\262\210\211T\262\202 \266\211\262\"!\310Q\212\311\301\312#\210`)\212\313\314P\301\312#\210\307y\210`*B\207" [case-fold-search nil "\\\\" regexp-opt mapcar #[257 "\301C\"@\207" [LaTeX-section-list rassoc] 4 "\n\n(fn LEVEL)"] LaTeX-command-section-level 0 "{" re-search-backward t re-search-forward "\\|\\\\end{document}"] 10 (#$ . 63570)]) #@520 Run a command on the current section. What makes the current section is defined by `LaTeX-command-section-level' which can be enlarged or shrunken with `LaTeX-command-section-change-level'. Query the user for a command to run on the temporary file specified by the variable `TeX-region'. The region file will be recreated from current section. If a prefix argument OVERRIDE-CONFIRM is given, confirmation will depend on it being positive instead of the entry in `TeX-command-list'. (fn &optional OVERRIDE-CONFIRM) (defalias 'LaTeX-command-section #[256 "\303=\203\304 \211@\211A\305!*\207\306\307!\207" [major-mode TeX-command-region-begin TeX-command-region-end latex-mode LaTeX-command-section-boundaries TeX-command-region error "LaTeX-command-section can only be run on LaTeX documents"] 4 (#$ . 64155) "P"]) #@69 Compile the current region until an error occurs or it is finished. (defalias 'TeX-command-run-all-region #[0 "\300 \210\301\302\211\303#\207" [TeX-region-update TeX-command-sequence t TeX-region-file] 4 (#$ . 64985) nil]) #@70 Compile the current section until an error occurs or it is finished. (defalias 'LaTeX-command-run-all-section #[0 "\303=\203\304 \211@\211A\305 \210\306\307\211\310#*\207\311\312!\207" [major-mode TeX-command-region-begin TeX-command-region-end latex-mode LaTeX-command-section-boundaries TeX-region-update TeX-command-sequence t TeX-region-file error "LaTeX-command-run-all-section can only be run on LaTeX documents"] 5 (#$ . 65214) nil]) #@409 Compile the current document until an error occurs or it is finished. With a prefix ARG (`\[universal-argument] \[TeX-command-run-all]'), compile the current region instead, e.g, call `TeX-command-run-all-region'. With multiple prefix arguments (`\[universal-argument] \[universal-argument] \[TeX-command-run-all]'), compile the current section instead, e.g. call `LaTeX-command-run-all-section'. (fn ARG) (defalias 'TeX-command-run-all #[257 "\211\204 \300\301\211\"\207\211@\302U\203\303 \207\304 \207" [TeX-command-sequence t 4 TeX-command-run-all-region LaTeX-command-run-all-section] 4 (#$ . 65667) "P"]) #@35 How far we have parsed until now. (defvar TeX-error-point nil (#$ . 66288)) (make-variable-buffer-local 'TeX-error-point) #@47 Stack of files in which errors have occurred. (defvar TeX-error-file nil (#$ . 66416)) (make-variable-buffer-local 'TeX-error-file) #@70 Add this to any line numbers from TeX. Stack like `TeX-error-file'. (defvar TeX-error-offset nil (#$ . 66554)) (make-variable-buffer-local 'TeX-error-offset) #@139 Reset all variables used for parsing TeX output. If optional argument REPARSE is non-nil, reparse the output log. (fn &optional REPARSE) (defalias 'TeX-parse-reset #[256 "e\305\211\305\306\211\205\307 \207" [TeX-error-point TeX-error-offset TeX-error-file TeX-error-list TeX-error-last-visited nil -1 TeX-parse-all-errors] 3 (#$ . 66720)]) #@52 We can't parse anything but TeX. (fn ARG REPARSE) (defalias 'TeX-parse-command #[514 "\300\301\302 \203\303\302 !\202\304\"\207" [error "I cannot parse %s output, sorry" TeX-active-process process-name "this"] 6 (#$ . 67074)]) #@195 Decide if a warning of `TeX-error-list' should be skipped. TYPE is one of the types listed in `TeX-error-list', IGNORE is the flag to choose if the warning should be skipped. (fn TYPE IGNORE) (defalias 'TeX-error-list-skip-warning-p #[514 "\204\n\303=\206 \204\304=\206\n\205\211\207" [TeX-debug-warnings TeX-debug-bad-boxes TeX-suppress-ignored-warnings warning bad-box] 4 (#$ . 67313)]) #@363 Find the next error produced by running TeX. ARG specifies how many error messages to move, when possible; negative means move back to previous error messages. If REPARSE is non-nil, reparse the output log. 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. (fn ARG REPARSE) (defalias 'TeX-parse-TeX #[514 "p\304\211\211r\305 q\210\203\306!\210\203\203\206\307\262 G\262\310U\204U\310V\2031\nT\2023\nS\211 8\262\311@\3128\"\204 \310V\203NS\202PT\262\202 \n\313W\203]\313\211\203g\n\310W\203|\nV\203o\314\315!\210\316 \210\317!\202\211\320\321\"\202\211 b\210\322!)\207" [TeX-parse-all-errors TeX-error-list TeX-error-last-visited TeX-error-point nil TeX-active-buffer TeX-parse-reset 1 0 TeX-error-list-skip-warning-p 10 -1 message "No more errors." beep TeX-pop-to-buffer apply TeX-find-display-help TeX-parse-error] 11 (#$ . 67723)]) (defvar TeX-translate-location-file nil) (defvar TeX-translate-location-offset nil) (defvar TeX-translate-location-line nil) (defvar TeX-translate-location-string nil) (defvar TeX-translate-location-error nil) (defvar TeX-translate-location-context nil) #@363 List of functions to be called before showing an error or warning. You might want to examine and modify the dynamically bound variables `TeX-translate-location-file', `TeX-translate-location-offset', `TeX-translate-location-line', `TeX-translate-location-string', `TeX-translate-location-error', and `TeX-translate-location-context' from this hook. (defvar TeX-translate-location-hook nil (#$ . 68948)) #@776 List of warnings and errors. Each element of the list is a list of information for a specific error or warning. This is the structure of each element: * 0: type (error, warning, bad-box) * 1: file * 2: line * 3: message of the error or warning * 4: offset * 5: context, to be displayed in the help window * 6: string to search in the buffer, in order to find location of the error or warning * 7: for warnings referring to multiple lines (e.g. bad boxes), the last line mentioned in the warning message * 8: t if it is a bad-box, nil otherwise * 9: value of `TeX-error-point' * 10: whether the warning should be ignored This variable is intended to be set only in output buffer so it will be shared among all files of the same document. (defvar TeX-error-list nil (#$ . 69371)) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [make-variable-buffer-local TeX-error-list custom-declare-variable TeX-parse-all-errors funcall function #[0 "\300\207" [t] 1] "Whether to automatically collect all warning and errors after running TeX.\n\nIf t, it makes it possible to use `TeX-previous-error' with TeX\ncommands." :group TeX-command :type boolean] 8) #@61 Parse TeX output buffer to collect all warnings and errors. (defalias 'TeX-parse-all-errors #[0 "\302\212eb\210\303\302\304\"\204)\305\211\207" [TeX-error-list TeX-error-last-visited nil TeX-parse-error t -1] 3 (#$ . 70587)]) #@289 Goto next error. Pop to OLD buffer if no more errors are found. If the optional argument STORE is non-nil, the function will store the found warning or error in `TeX-error-list' instead of displaying the issue. Return non-nil if an error or warning is found. (fn OLD &optional STORE) (defalias 'TeX-parse-error #[513 "\305\306Q\307\310\307\311#\204\204\312\313!\210\314 \210\315!\210\207\316\224\203L\317\224\203> \2043\307 B\307\nB\n@\204> \320\317!\240\210\311\262\321\322!\204\323!\210\207\324\224\203o\204Y \203h\311\262\325\320\324!\324\224\311$\210\207\310\326!\210\202\327\224\203\213\204|\f\203\311\262\325\320\327!\327\224\307$\210\207\330\224\203\346\320\330!\330\225\331!\332=\204\244\333\334\"\203\256\335\336\337\340\"\341#\262\333\342\"\203\277\343\341\311\211$\202\300\211\262\333\344\"\203\322\343\341\311\211$\202\323\211\262\262 B\307\nB\211b\266\202\345\224\203\377 G\346V\203\370 A\nA\345\225b\210\202\347\224\203\350\320\347!!C\202\351\224\203\320\351!C\202\207" [LaTeX-warnings-regexp TeX-error-file TeX-error-offset TeX-debug-bad-boxes TeX-debug-warnings "^\\(!\\|\\(.*?\\):[0-9]+:\\) \\|(\n?\\([^\n()]+\\)\\|\\()\\)\\| !\\(?:offset(\\([---0-9]+\\))\\|name(\\([^)]+\\))\\)\\|^\\(\\(?:Overfull\\|Underfull\\|Tight\\|Loose\\) \\(?:\\\\hbox.* at lines? [0-9]+\\(?:--[0-9]+\\)?$\\|\\\\vbox ([ a-z0-9]+) has occurred while \\\\output is active \\[[^]]+\\]\\)\\)\\|^\\(" ".*\\)" nil re-search-forward t message "No more errors." beep TeX-pop-to-buffer 1 2 TeX-match-buffer looking-at "Preview " TeX-error 7 TeX-warning " ?\n\\(?:.\\{79\\} ?\n\\)*.* ?$" 8 3 string-to-char 34 string-match "[ \n]" mapconcat identity split-string "[\"\n]+" "" "\\`[ \n ]+" replace-match "\\( *\\(\\[[^]]+\\]\\)? *\\)*\\'" 4 0 5 string-to-number 6] 12 (#$ . 70824)]) #@210 Find the error and display the help. For a description of arguments, see `TeX-error-list'. IGNORE value is not used here. (fn TYPE FILE LINE ERROR OFFSET CONTEXT STRING LINE-END BAD-BOX ERROR-POINT IGNORE) (defalias 'TeX-find-display-help #[2827 "\306 rq\210\307\310 !)\f\f\f\f\f\f\311\211!\312\313!\210!\203\224\314\307!\315 !\"!\262rq\210\316\300!\210) \203\250eb\210 \\Sy\210\317=\203m \320\230\204\250\321 \311\322#\210\202\250\323\324!\210`\262eb\210 \\Sy\210\311\210 \203\250\325 \322#\210\321 \311\322#\210\202\250\326\327\317=\203\241\330\202\242\331P!\210\332 \210\"\333=\203\302\334 \311\322#\210\fb\210\334\311\322#\202\344\"\203\337\335\f\336=\203\326\337\nP\202\327\n $\202\344\326\340\fP!.\207" [TeX-command-buffer TeX-translate-location-string TeX-translate-location-context TeX-translate-location-offset TeX-translate-location-error TeX-translate-location-line TeX-active-buffer expand-file-name TeX-master-file nil run-hooks TeX-translate-location-hook find-file file-name-directory make-local-variable error " " search-forward t beginning-of-line 0 search-backward message "Could not determine file for " "error" "warning" beep expert TeX-pop-to-buffer TeX-help-error warning "\n" "! " TeX-translate-location-file TeX-display-help] 27 (#$ . 72677)]) #@162 Display an error. If optional argument STORE is non-nil, store the error information in `TeX-error-list' instead of displaying the error. (fn &optional STORE) (defalias 'TeX-error #[256 "\303\304!\210\305\306!`\307\303\310\307\311#\203\311\262\312\305\306!!\2020\212\313\314\315 \311#)\203/\312\305\306!!\2020\306\316 \210\303\317!\210\305\306!\203J\306y\210\307\210`{\202O\315 S{@\206U\320 @\307`\321 \n\307\211\n\307\257 \262 \203y\322\323\311#\207\324\325\"\207" [TeX-error-offset TeX-error-file TeX-error-point re-search-forward "\\(.*\\)" TeX-match-buffer 1 nil "l\\.\\([0-9]+\\)" t string-to-number re-search-backward ":\\([0-9]+\\): " line-beginning-position beginning-of-line " \\(\\([^ ]*$\\)\\|\\($\\)\\)" 0 error add-to-list TeX-error-list apply TeX-find-display-help] 21 (#$ . 74021)]) #@354 Display a warning for WARNING. WARNING-START is the position where WARNING starts. If BAD-BOX is non-nil, the warning refers to a bad-box, otherwise it is a generic warning. If optional argument STORE is non-nil, store the warning information in `TeX-error-list' instead of displaying the warning. (fn WARNING WARNING-START BAD-BOX &optional STORE) (defalias 'TeX-warning #[1027 "\203\305\202 \306\203\307\202\310\212\311\312#)\205\"\313\314\315!!\2033\316\224\2033\313\314\316!!\2024\211\203F\317\320 \"\203F\321\210\202M\204M\322 \210`\317\n\"\203l\322 \210l\204c\315y\210\202Y\211\321\210`{\202\230\203\200\317\323\n\"\203\200\324 P\202\230\315y\210\321\210i\325=\203\225\315y\210\321\210\202\206\211`{`\212\311\312#)\205\247\314\315! @\206\255\326\n@\321\211 \204\320\317\f\"\203\320\315\224\205\313\313\327\315 \"!\211\262 \262 b\210` \203\336\330\202\337\331  \n \257\n\262\f\205\f;\203\317\f\"\202\332\f!\205\333\f\"\262\334C\"\262\f\203\"\335\336\312#\207\333\337\"\207" [LaTeX-warnings-regexp TeX-error-offset TeX-error-file TeX-error-point TeX-ignore-warnings "at lines? \\([0-9]*\\)\\(?:--\\([0-9]*\\)\\)?" "on input line \\([0-9]*\\)\\." "[][\\W() ---]\\(\\w+\\)[][\\W() ---]*$" "\\(?:`\\|'\\)\\([-a-zA-Z0-9:]+\\)'" re-search-backward t string-to-number TeX-match-buffer 1 2 string-match "\\\\hbox" nil beginning-of-line "\\\\vbox" "\n" 79 0 match-string bad-box warning fboundp apply append add-to-list TeX-error-list TeX-find-display-help] 26 (#$ . 74858)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-error-description-list funcall function #[0 "\300\207" [nil] 1] "User defined help messages for errors in TeX run.\nSee `TeX-error-description-list-local' for its format. All\nentries have higher priority than those in\n`TeX-error-description-list-local'.\nIt must not have a fallback entry that matches any error." :group TeX-output :type (repeat (cons :tag "Entry" (regexp :tag "Match") (string :format "Description:\n%v")))] 8) #@655 Buffer local help messages for errors in TeX run. 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. Major modes of AUCTeX can set its own catalogue as buffer local value of this variable, as LaTeX mode does. Style files of AUCTeX can also add their own entries to buffer local value of this variable to provide their own help messages. It must end with a fallback entry that matches any error, e.g. (".*" . "No help available") (defvar TeX-error-description-list-local '((".*" . "No help available")) (#$ . 76957)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313#\210\310\314\315\316#\210\310\317\320\321#\210\310\322\323\324#\207" [custom-declare-group TeX-error-description-faces nil "Faces used in error descriptions." :prefix "TeX-error-description-" :group TeX-output custom-declare-face TeX-error-description-error ((((class color) (min-colors 88) (background light)) :foreground "Red1" :weight bold) (((class color) (min-colors 88) (background dark)) :foreground "Pink" :weight bold) (((class color) (min-colors 16) (background light)) :foreground "Red1" :weight bold) (((class color) (min-colors 16) (background dark)) :foreground "Pink" :weight bold) (((class color) (min-colors 8)) :foreground "red" :weight bold) (t (:inverse-video t :weight bold))) "Face for \"Error\" string in error descriptions." TeX-error-description-warning ((((class color) (min-colors 16)) :foreground "DarkOrange" :weight bold) (((class color)) :foreground "yellow" :weight bold)) "Face for \"Warning\" string in error descriptions." TeX-error-description-tex-said ((((class color) (min-colors 88) (background light)) :foreground "Blue1") (((class color) (min-colors 88) (background dark)) :foreground "LightSkyBlue") (((class color) (min-colors 16) (background light)) :foreground "Blue") (((class color) (min-colors 16) (background dark)) :foreground "LightSkyBlue") (((class color) (min-colors 8)) :foreground "blue" :weight bold) (t (:inverse-video t :weight bold))) "Face for \"TeX said\" string in error descriptions." TeX-error-description-help ((t (:inherit TeX-error-description-tex-said))) "Face for \"Help\" string in error descriptions."] 8) #@176 Print ERROR in context OUTPUT from RUNBUFFER in another window. TYPE is a symbol specifing if ERROR is a real error, a warning or a bad box. (fn ERROR OUTPUT RUNBUFFER TYPE) (defalias 'TeX-help-error #[1028 "prq\210rq\210\304\305\306!!*\307 \310\311\310\300 \"\"\"\312\3138@ \"\204-\211T\262\202\314\315\316!\317\320#\210\320\321 \210\322\267\202X\323\324\325\326#\202Y\323\327\325\330#\202Y\323\331\325\330#\202Y\317\332 \323\333\325\334#\n\323\335\325\336#8A\212T GU\203\315\337\n!\211\203\214\211q\210\340\320\211\"\210\202\225\341 !\262\211q\210\342\317!\210\320eb\210\343\317\320\344$\262\203\315\345\346\317\320#\203\315\345\347\317\320#\203\315`T\344u\210\345\350!\210\351`{P\262\202\316\211)\262\261\210)eb\210\352 \210\314\317\320#\207" [TeX-command-buffer TeX-error-description-list inhibit-read-only buffer-read-only expand-file-name TeX-active-master "log" append buffer-local-value TeX-error-description-list-local 0 string-match TeX-pop-to-buffer get-buffer-create "*TeX Help*" nil t erase-buffer #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (error 64 warning 72 bad-box 80)) propertize "ERROR" font-lock-face TeX-error-description-error "WARNING" TeX-error-description-warning "BAD BOX" ": " "\n\n--- TeX said ---" TeX-error-description-tex-said "\n--- HELP ---\n" TeX-error-description-help find-buffer-visiting revert-buffer find-file-noselect auto-save-mode search-forward 1 re-search-forward "^l\\." "^ [^\n]+$" "^$" "From the .log file...\n\n" TeX-special-mode] 21 (#$ . 79350)]) #@51 The active buffer for the current error overview. (defvar TeX-error-overview-active-buffer nil (#$ . 80941)) #@56 Frame from which the error overview has been launched. (defvar TeX-error-overview-orig-frame nil (#$ . 81056)) #@57 Window from which the error overview has been launched. (defvar TeX-error-overview-orig-window nil (#$ . 81173)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable TeX-error-overview-setup funcall function #[0 "\300\207" [nil] 1] "The frame setup of the error overview.\n\nThe possible value is: `separate-frame' (error oveview in a\nseparate frame); with a nil value the current frame is used.\n\nIf the display does not support multi frame, the current frame\nwill be used regardless of the value of this variable." :group TeX-output :type (choice (const :tag "Error overview in separate frame" separate-frame) (const :tag "Use current frame" nil))] 8) #@71 Return the frame setup of the error overview for the current display. (defalias 'TeX-error-overview-setup #[0 "\301 \205\207" [TeX-error-overview-setup display-multi-frame-p] 1 (#$ . 81870)]) #@148 Go to the error point in the source. If optional argument BUTTON is non-nil, go to source associated to the selected error. (fn &optional BUTTON) (defalias 'TeX-error-overview-goto-source #[256 "\211\203 \306\307\"\202\310\311\206`\312\"\262\310\211\203\242\313 \2035\314!\203.\315!\210\202F\316\317!\210\202F\320 !\203B\321 !\210\202F\316\322!\210r\nq\210 8\262)r q\210\310\323\324\"\266)\313 \203h\315!!\207\325\"!\211\262\203v\321!\207\321\325#\326=\203\203\n\202\211#\205\211\327!!\210\330\331 \332\"\203\232\333 \210\202\235\334 \210\335\"!\207\336\337!\210\340 \207" [TeX-error-overview-orig-frame TeX-error-overview-orig-window TeX-error-overview-active-buffer TeX-error-list TeX-error-last-visited TeX-command-buffer button-get id nil get-text-property tabulated-list-id TeX-error-overview-setup frame-live-p select-frame error "You have deleted a vital frame---please restart TeX error overview" window-live-p select-window "You have deleted a vital window---please restart TeX error overview" apply TeX-find-display-help get-buffer-window expert "*TeX Help*" window-splittable-p selected-window t split-window-horizontally split-window-vertically switch-to-buffer message "No more errors." beep TeX-error-overview-frame TeX-error-overview-buffer-name TeX-display-help] 8 (#$ . 82072) nil]) #@316 Generate the list of errors to be printed using `tabulated-list-entries'. Write file names relative to MASTER-DIR when they are not absolute. ACTIVE-BUFFER is used as buffer from which to extract the list of errors. If nil, defaults to `TeX-error-overview-active-buffer'. (fn &optional MASTER-DIR ACTIVE-BUFFER) (defalias 'TeX-error-overview-make-entries #[512 "r\211\206q\210\302C\303C\303C\303C\303C\303C\304\305\306\n      & \"\210\307\242!\266\206)\207" [TeX-error-overview-active-buffer TeX-error-list 0 nil mapc make-closure #[257 "\302@\240\210\303A@\240\210\304\3078\240\210\305\3108\240\210\311\302\242\3128\"\204\243\306\301\242\313\303\242;\203?\314\303\242!\2037\303\242\202@\315\303\242\300\"\202@\316\304\242\247\203M\317\304\242!\202N\316\302\242\320=\203]\321\322\323\324#\202|\302\242\325=\203l\321\326\323\327#\202|\302\242\330=\203{\321\331\323\327#\202|\316\305\242;\203\220\332\333\305\242\"\210\334\335\305\242\"\202\221\316\336\337\340\341\342\301\242\343\344\257 $D\306\242B\240\210\301\211\242T\240\207" [V0 V1 V2 V3 V4 V5 V6 2 3 TeX-error-list-skip-warning-p 10 vector file-name-absolute-p file-relative-name "" number-to-string error propertize "Error" font-lock-face TeX-error-description-error warning "Warning" TeX-error-description-warning bad-box "Bad box" string-match "^.*" match-string 0 face link follow-link t id action TeX-error-overview-goto-source] 16 "\n\n(fn ENTRY)"] reverse] 18 (#$ . 83418)]) #@184 Move to the next line and find the associated error. A prefix ARG specifies how many error messages to move; negative means move back to previous error messages. (fn &optional ARG) (defalias 'TeX-error-overview-next-error #[256 "\211y\300U\203\n\301 \207\302\303!\210\304 \207" [0 TeX-error-overview-goto-source message "No more errors." beep] 3 (#$ . 84897) "p"]) #@165 Move to the previous line and find the associated error. Prefix arg N says how many error messages to move backward (or forward, if negative). (fn &optional ARG) (defalias 'TeX-error-overview-previous-error #[256 "\300[!\207" [TeX-error-overview-next-error] 3 (#$ . 85272) "p"]) #@54 Display the help and move point to the error source. (defalias 'TeX-error-overview-jump-to-source #[0 "\301 \210\302\303 \304\305\"\216\306!\210p)\262!\207" [TeX-error-overview-orig-window TeX-error-overview-goto-source pop-to-buffer current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] select-window] 5 (#$ . 85560) nil]) #@42 Display the current error in log buffer. (defalias 'TeX-error-overview-goto-log #[0 "\301\302 )\207" [TeX-display-help expert TeX-error-overview-goto-source] 1 (#$ . 85934) nil]) #@59 Run `TeX-toggle-debug-bad-boxes' and update entries list. (defalias 'TeX-error-overview-toggle-debug-bad-boxes #[0 "\302 \210\303rq\210\304 )!\305 \210\306 \207" [TeX-command-buffer tabulated-list-entries TeX-toggle-debug-bad-boxes TeX-error-overview-make-entries TeX-master-directory tabulated-list-init-header tabulated-list-print] 2 (#$ . 86120) nil]) #@58 Run `TeX-toggle-debug-warnings' and update entries list. (defalias 'TeX-error-overview-toggle-debug-warnings #[0 "\302 \210\303rq\210\304 )!\305 \210\306 \207" [TeX-command-buffer tabulated-list-entries TeX-toggle-debug-warnings TeX-error-overview-make-entries TeX-master-directory tabulated-list-init-header tabulated-list-print] 2 (#$ . 86483) nil]) #@64 Toggle visibility of ignored warnings and update entries list. (defalias 'TeX-error-overview-toggle-suppress-ignored-warnings #[0 "\302 \210\303rq\210\304 )!\305 \210\306 \207" [TeX-command-buffer tabulated-list-entries TeX-toggle-suppress-ignored-warnings TeX-error-overview-make-entries TeX-master-directory tabulated-list-init-header tabulated-list-print] 2 (#$ . 86843) nil]) #@55 Delete the window or the frame of the error overview. (defalias 'TeX-error-overview-quit #[0 "\302 \203\f\303!\210\202\304 \210\305\211\207" [TeX-error-overview-frame TeX-error-overview-orig-frame TeX-error-overview-setup delete-frame delete-window nil] 2 (#$ . 87231) nil]) #@53 Local keymap for `TeX-error-overview-mode' buffers. (defvar TeX-error-overview-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\207" [make-sparse-keymap define-key "b" TeX-error-overview-toggle-debug-bad-boxes "j" TeX-error-overview-jump-to-source "l" TeX-error-overview-goto-log "n" TeX-error-overview-next-error "p" TeX-error-overview-previous-error "q" TeX-error-overview-quit "w" TeX-error-overview-toggle-debug-warnings "x" TeX-error-overview-toggle-suppress-ignored-warnings " " TeX-error-overview-goto-source] 5) (#$ . 87517)) #@39 Menu used in TeX error overview mode. (defvar TeX-error-overview-menu nil (#$ . 88197)) (easy-menu-do-define 'TeX-error-overview-menu TeX-error-overview-mode-map "Menu used in TeX error overview mode." '("TeX errors" ["Next error" TeX-error-overview-next-error :help "Jump to the next error"] ["Previous error" TeX-error-overview-previous-error :help "Jump to the previous error"] ["Go to source" TeX-error-overview-goto-source :help "Show the error in the source"] ["Jump to source" TeX-error-overview-jump-to-source :help "Move point to the error in the source"] ["Go to log" TeX-error-overview-goto-log :help "Show the error in the log buffer"] "-" ["Debug Bad Boxes" TeX-error-overview-toggle-debug-bad-boxes :style toggle :selected TeX-debug-bad-boxes :help "Show overfull and underfull boxes"] ["Debug Warnings" TeX-error-overview-toggle-debug-warnings :style toggle :selected TeX-debug-warnings :help "Show warnings"] ["Ignore Unimportant Warnings" TeX-error-overview-toggle-suppress-ignored-warnings :style toggle :selected TeX-suppress-ignored-warnings :help "Hide specified warnings"] "-" ["Quit" TeX-error-overview-quit :help "Quit"])) #@50 List of errors to be used in the error overview. (defvar TeX-error-overview-list-entries nil (#$ . 89350)) (defvar TeX-error-overview-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [TeX-error-overview-mode-hook variable-documentation put "Hook run after entering TeX errors mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp TeX-error-overview-mode-map definition-name TeX-error-overview-mode] 4) (defvar TeX-error-overview-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [TeX-error-overview-mode-abbrev-table TeX-error-overview-mode-map variable-documentation put purecopy "Keymap for `TeX-error-overview-mode'." boundp TeX-error-overview-mode-syntax-table definition-name TeX-error-overview-mode (lambda (def-tmp-var) (defvar TeX-error-overview-mode-syntax-table def-tmp-var)) make-syntax-table "Syntax table for `TeX-error-overview-mode'." (lambda (def-tmp-var) (defvar TeX-error-overview-mode-abbrev-table def-tmp-var)) define-abbrev-table nil "Abbrev table for `TeX-error-overview-mode'." derived-mode-parent tabulated-list-mode] 5) #@260 Major mode for listing TeX errors. In addition to any hooks its parent mode `tabulated-list-mode' might have run, this mode runs the hook `TeX-error-overview-mode-hook', as the final or penultimate step during initialization. \{TeX-error-overview-mode-map} (defalias 'TeX-error-overview-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324 \325\"\204R =\204R\326 \325C#\210\327 !\210\330\f!\210 \331 \332!\"#\333 \210\334 \210)\335\336!\207" [delay-mode-hooks major-mode mode-name TeX-error-overview-mode-map TeX-error-overview-mode-syntax-table TeX-error-overview-mode-abbrev-table make-local-variable t tabulated-list-mode TeX-error-overview-mode "TeX errors" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table [("File" 25 nil) ("Line" 4 nil :right-align t) ("Type" 7 nil) ("Message" 0 nil)] 1 tabulated-list-init-header tabulated-list-print run-mode-hooks TeX-error-overview-mode-hook local-abbrev-table tabulated-list-format tabulated-list-padding TeX-error-overview-list-entries tabulated-list-entries] 5 (#$ . 90803) nil]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\310\317&\207" [custom-declare-variable TeX-error-overview-frame-parameters funcall function #[0 "\300\207" [((name . "TeX errors") (title . "TeX errors") (height . 10) (width . 80) (top - 0) (left - 0) (unsplittable . t) (minibuffer) (vertical-scroll-bars . t) (tool-bar-lines . 0))] 1] "Parameters of the error overview frame." :group TeX-output :type alist :options ((name string) (title string) (height integer) (width integer) (top integer) (left integer) (unsplittable boolean) (minibuffer boolean) (vertical-scroll-bars boolean) (tool-bar-lines integer)) TeX-error-overview-open-after-TeX-run #[0 "\300\207" [nil] 1] "Whether to open automatically the error overview after running TeX." boolean] 10) #@62 Show an overview of the errors occurred in the last TeX run. (defalias 'TeX-error-overview #[0 "\306 \211\203|\307\310 !\211\203f\311 \312\n!\313\f!\204'r\314\f!q\210\315 \210)r\fq\210eb\210rq\210 )y\210\316 \203a\317\"!\203I\320\"!\202d\321\322#!\211\"!\210\323\311 \f\"\210\324\311 \325\"\202d\326\f!)\207\327\330\331\332 \333\"\205y\334\335\336\337!\336\340!#P!\207\327\341!\207" [TeX-error-overview-active-buffer TeX-error-overview-list-entries TeX-error-overview-orig-window TeX-error-overview-orig-frame TeX-error-overview-buffer-name TeX-error-last-visited TeX-active-buffer TeX-error-overview-make-entries TeX-master-directory selected-window window-frame get-buffer get-buffer-create TeX-error-overview-mode TeX-error-overview-setup frame-live-p select-frame-set-input-focus select-frame make-frame set-window-buffer set-window-dedicated-p t TeX-pop-to-buffer error "No error or warning to show" TeX-process-get-variable TeX-active-master TeX-error-list format ". Type `%s' and `%s' to display warnings and bad boxes" substitute-command-keys "\\\\[TeX-toggle-debug-warnings]" "\\\\[TeX-toggle-debug-bad-boxes]" "No process for this document" TeX-error-overview-frame TeX-error-overview-frame-parameters] 7 (#$ . 92947) nil]) (defvar TeX-special-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [TeX-special-mode-hook variable-documentation put "Hook run after entering TeX mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp TeX-special-mode-map definition-name TeX-special-mode] 4) (defvar TeX-special-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [TeX-special-mode-abbrev-table TeX-special-mode-map variable-documentation put purecopy "Keymap for `TeX-special-mode'." boundp TeX-special-mode-syntax-table definition-name TeX-special-mode (lambda (def-tmp-var) (defvar TeX-special-mode-syntax-table def-tmp-var)) make-syntax-table "Syntax table for `TeX-special-mode'." (lambda (def-tmp-var) (defvar TeX-special-mode-abbrev-table def-tmp-var)) define-abbrev-table nil "Abbrev table for `TeX-special-mode'." derived-mode-parent special-mode] 5) #@512 Major mode derived from `special-mode' by `define-derived-mode'. It inherits all of the parent's attributes, but has its own keymap, abbrev table and syntax table: `TeX-special-mode-map', `TeX-special-mode-abbrev-table' and `TeX-special-mode-syntax-table' which more-or-less shadow special-mode's corresponding tables. In addition to any hooks its parent mode might have run, this mode runs the hook `TeX-special-mode-hook', as the final or penultimate step during initialization. \{TeX-special-mode-map} (defalias 'TeX-special-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324 \325\"\204R =\204R\326 \325C#\210\327 !\210\330\f!\210 )\331\332!\207" [delay-mode-hooks major-mode mode-name TeX-special-mode-map TeX-special-mode-syntax-table TeX-special-mode-abbrev-table make-local-variable t special-mode TeX-special-mode "TeX" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table run-mode-hooks TeX-special-mode-hook local-abbrev-table] 5 (#$ . 95461) nil]) #@31 Keymap for `TeX-output-mode'. (defvar TeX-output-mode-map (byte-code "\301 \302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\210\207" [TeX-special-mode-map make-sparse-keymap set-keymap-parent define-key "n" TeX-next-error "p" TeX-previous-error "b" TeX-toggle-debug-bad-boxes "w" TeX-toggle-debug-warnings "i" #[0 "rq\210\301 \203 \302\202\303!)\207" [TeX-command-buffer TeX-interactive-mode -1 1] 2 nil nil] "s" #[0 "rq\210\301 \203 \302\202\303!)\207" [TeX-command-buffer TeX-source-correlate-mode -1 1] 2 nil nil]] 5) (#$ . 96725)) (defvar TeX-output-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [TeX-output-mode-hook variable-documentation put "Hook run after entering TeX Output mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp TeX-output-mode-map definition-name TeX-output-mode] 4) (defvar TeX-output-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\300!\204#\303\300\307\310#\210\311\312\300\313\"\210!\210\300\302N\2041\303\300\302\304\314!#\210\303\310\315\316#\207" [TeX-output-mode-abbrev-table TeX-output-mode-map variable-documentation put purecopy "Keymap for `TeX-output-mode'." boundp definition-name TeX-output-mode (lambda (def-tmp-var) (defvar TeX-output-mode-abbrev-table def-tmp-var)) define-abbrev-table nil "Abbrev table for `TeX-output-mode'." derived-mode-parent TeX-special-mode] 5) #@241 Major mode for viewing TeX output. \{TeX-output-mode-map} In addition to any hooks its parent mode `TeX-special-mode' might have run, this mode runs the hook `TeX-output-mode-hook', as the final or penultimate step during initialization. (defalias 'TeX-output-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f\321\"\204;\f =\204;\322\f\321 C#\210\323 !\210\f\306\324!\210\325\326)\327\330!\207" [delay-mode-hooks major-mode mode-name TeX-output-mode-map TeX-output-mode-abbrev-table local-abbrev-table make-local-variable t TeX-special-mode TeX-output-mode "TeX Output" mode-class put keymap-parent set-keymap-parent current-local-map abbrev-table-get :parents abbrev-table-put use-local-map revert-buffer-function TeX-output-revert-buffer nil run-mode-hooks TeX-output-mode-hook buffer-read-only] 5 (#$ . 98318) nil]) #@94 Rerun the TeX command which of which this buffer was the output. (fn IGNORE-AUTO NOCONFIRM) (defalias 'TeX-output-revert-buffer #[514 "eb\210\302\303!\203$\304\305!\304\306!rq\210\307\310 \"\203 \311\202!\312\")\207\313\314!\207" [TeX-command-buffer TeX-region looking-at "Running `\\(.*\\)' on `\\(.*\\)' with ``\\(.*\\)''$" match-string 1 2 TeX-command string-match TeX-region-file TeX-master-file error "Unable to find what command to run"] 9 (#$ . 99225)]) (provide 'tex-buf)