?
Current Path : /usr/share/emacs/24.3/lisp/textmodes/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/textmodes/tex-mode.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:51 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/textmodes/tex-mode.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\210\303\313\305\314\307\310\311\312&\210\303\315\305\316\307\310\311\312&\210\317\320\305\321\322\323\311\313&\210\317\324\325\326\322\327\311\304&\210\317\330\305\331\322\332\311\304&\210\317\333\305\334\322\335\311\304&\210\317\336\337\340\322\341\311\304&\210\317\342\343\344\322\345\311\313&\210\317\346\347\350\322\345\311\313&\210\317\351\352\353\322\345\311\313&\210\317\354\355\356\322\345\311\313\357\360& \210\317\361\362\363\322\364\311\313\357\360& \207" [require shell compile custom-declare-group tex-file nil "TeX files and directories." :prefix "tex-" :group tex tex-run "Running external commands from TeX mode." tex-view "Viewing and printing TeX files." custom-declare-variable tex-shell-file-name "If non-nil, the shell file name to run in the subshell used to run TeX." :type (choice (const :tag "None" nil) string) tex-directory (purecopy ".") "Directory in which temporary files are written.\nYou can make this `/tmp' if your TEXINPUTS has no relative directories in it\nand you don't try to apply \\[tex-region] or \\[tex-buffer] when there are\n`\\input' commands with relative directories." directory tex-first-line-header-regexp "Regexp for matching a first line which `tex-region' should include.\nIf this is non-nil, it should be a regular expression string;\nif it matches the first line of the file,\n`tex-region' always includes the first line in the TeX run." (choice (const :tag "None" nil) regexp) tex-main-file "The main TeX source file which includes this buffer's file.\nThe command `tex-file' runs TeX on the file specified by `tex-main-file'\nif the variable is non-nil." (choice (const :tag "None" nil) file) tex-offer-save t "If non-nil, ask about saving modified buffers before \\[tex-file] is run." boolean tex-run-command (purecopy "tex") "Command used to run TeX subjob.\nTeX Mode sets `tex-command' to this string.\nSee the documentation of that variable." string latex-run-command (purecopy "latex") "Command used to run LaTeX subjob.\nLaTeX Mode sets `tex-command' to this string.\nSee the documentation of that variable." slitex-run-command (purecopy "slitex") "Command used to run SliTeX subjob.\nSliTeX Mode sets `tex-command' to this string.\nSee the documentation of that variable." tex-start-options (purecopy "") "TeX options to use when starting TeX.\nThese immediately precede the commands in `tex-start-commands'\nand the input file name, with no separating space and are not shell-quoted.\nIf nil, TeX runs with no options. See the documentation of `tex-command'." :version "22.1" tex-start-commands (purecopy "\\nonstopmode\\input") "TeX commands to use when starting TeX.\nThey are shell-quoted and precede the input file name, with a separating space.\nIf nil, no commands are used. See the documentation of `tex-command'." (radio (const :tag "Interactive (nil)" nil) (const :tag "Nonstop (\"\\nonstopmode\\input\")" "\\nonstopmode\\input") (string :tag "String at your choice"))] 10) #@29 Standard LaTeX block names. (defvar latex-standard-block-names '("abstract" "array" "center" "description" "displaymath" "document" "enumerate" "eqnarray" "eqnarray*" "equation" "figure" "figure*" "flushleft" "flushright" "itemize" "letter" "list" "minipage" "picture" "quotation" "quote" "slide" "sloppypar" "tabbing" "table" "table*" "tabular" "tabular*" "thebibliography" "theindex*" "titlepage" "trivlist" "verbatim" "verbatim*" "verse" "math") (#$ . 3594)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\313\306\317&\210\300\320\321\322\304\323\306\317&\210\300\324\325\326\304\327\306\317&\210\300\330\331\332\304\313\306\317&\210\300\333\334\335\304\336\306\337&\210\300\340\341\342\304\313\343\344\306\337& \210\300\345\346\347\304\313\343\350\306\337& \210\300\351\352\353\304\354\306\337\355\356& \210\357\351\360\361#\210\300\362\363\364\306\337\304\365\355\356& \207" [custom-declare-variable latex-block-names nil "User defined LaTeX block names.\nCombined with `latex-standard-block-names' for minibuffer completion." :type (repeat string) :group tex-run tex-bibtex-command (purecopy "bibtex") "Command used by `tex-bibtex-file' to gather bibliographic data.\nIf this string contains an asterisk (`*'), that is replaced by the file name;\notherwise, the file name, preceded by blank, is added at the end." string tex-dvi-print-command (purecopy "lpr -d") "Command used by \\[tex-print] to print a .dvi file.\nIf this string contains an asterisk (`*'), that is replaced by the file name;\notherwise, the file name, preceded by blank, is added at the end." tex-view tex-alt-dvi-print-command (purecopy "lpr -d") "Command used by \\[tex-print] with a prefix arg to print a .dvi file.\nIf this string contains an asterisk (`*'), that is replaced by the file name;\notherwise, the file name, preceded by blank, is added at the end.\n\nIf two printers are not enough of a choice, you can set the variable\n`tex-alt-dvi-print-command' to an expression that asks what you want;\nfor example,\n\n (setq tex-alt-dvi-print-command\n '(format \"lpr -P%s\" (read-string \"Use printer: \")))\n\nwould tell \\[tex-print] with a prefix argument to ask you which printer to\nuse." (choice (string :tag "Command") (sexp :tag "Expression")) tex-dvi-view-command `(cond ((eq window-system 'x) ,(purecopy "xdvi")) ((eq window-system 'w32) ,(purecopy "yap")) (t ,(purecopy "dvi2tty * | cat -s"))) "Command used by \\[tex-view] to display a `.dvi' file.\nIf it is a string, that specifies the command directly.\nIf this string contains an asterisk (`*'), that is replaced by the file name;\notherwise, the file name, preceded by a space, is added at the end.\n\nIf the value is a form, it is evaluated to get the command to use." (choice (const nil) string sexp) tex-show-queue-command (purecopy "lpq") "Command used by \\[tex-show-print-queue] to show the print queue.\nShould show the queue(s) that \\[tex-print] puts jobs on." tex-default-mode 'latex-mode "Mode to enter for a new file that might be either TeX or LaTeX.\nThis variable is used when it can't be determined whether the file\nis plain TeX or LaTeX or what because the file contains no commands.\nNormally set to either `plain-tex-mode' or `latex-mode'." function tex tex-open-quote (purecopy "``") "String inserted by typing \\[tex-insert-quote] to open a quotation." :options ("``" "\"<" "\"`" "<<" "«") tex-close-quote (purecopy "''") "String inserted by typing \\[tex-insert-quote] to close a quotation." ("''" "\">" "\"'" ">>" "»") tex-fontify-script t "If non-nil, fontify subscript and superscript strings." boolean :version "23.1" put safe-local-variable booleanp tex-font-script-display '(-0.2 0.2) "How much to lower and raise subscript and superscript content.\nThis is a list of two floats. The first is negative and\nspecifies how much subscript is lowered, the second is positive\nand specifies how much superscript is raised. Heights are\nmeasured relative to that of the normal text." (list (float :tag "Subscript") (float :tag "Superscript"))] 10) #@164 Latest temporary file generated by \[tex-region] and \[tex-buffer]. Deleted when the \[tex-region] or \[tex-buffer] is next run, or when the tex shell terminates. (defvar tex-last-temp-file nil (#$ . 7705)) #@412 Command to run TeX. If this string contains an asterisk (`*'), that is replaced by the file name; otherwise the value of `tex-start-options', the (shell-quoted) value of `tex-start-commands', and the file name are added at the end with blanks as separators. In TeX, LaTeX, and SliTeX Mode this variable becomes buffer local. In these modes, use \[set-variable] if you want to change it for the current buffer. (defvar tex-command "tex" (#$ . 7919)) #@73 String appended after the end of a region sent to TeX by \[tex-region]. (defvar tex-trailer nil (#$ . 8375)) #@74 Regular expression used by \[tex-region] to find start of file's header. (defvar tex-start-of-header nil (#$ . 8490)) #@72 Regular expression used by \[tex-region] to find end of file's header. (defvar tex-end-of-header nil (#$ . 8614)) #@131 Command to give to shell running TeX to change directory. The value of `tex-directory' is appended to this, separated by a space. (defvar tex-shell-cd-command "cd" (#$ . 8735)) #@138 Temporary file name used for text being sent as input to TeX. Should be a simple file name with no extension or directory specification. (defvar tex-zap-file nil (#$ . 8919)) #@30 Buffer which was last TeXed. (defvar tex-last-buffer-texed nil (#$ . 9100)) #@91 File name that \[tex-print] prints. Set by \[tex-region], \[tex-buffer], and \[tex-file]. (defvar tex-print-file nil (#$ . 9182)) #@38 Syntax table used while in TeX mode. (defvar tex-mode-syntax-table (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\306#\210\302\310\311#\210\302\312\311#\210\302\313\314#\210\302\315\314#\210\302\316\317#\210\302\320\321#\210\302\322\323#\210\302\324\325#\210\302\326\321#\210\302\327\321#\210\302\330\321#\210\302\331\321#\210)\207" [st make-syntax-table modify-syntax-entry 37 "<" 10 ">" 12 0 "w" 39 64 "_" 42 9 " " 126 "." 36 "$$" 92 "/" 34 38 95 94] 4) (#$ . 9318)) #@141 String to add repeated in front of nested sectional units for Imenu. An alternative value is " . ", if you use a font with a narrow period. (custom-declare-variable 'latex-imenu-indent-string ". " '(#$ . 9824) :type 'string :group 'tex) (defvar latex-section-alist '(("part" . 0) ("chapter" . 1) ("section" . 2) ("subsection" . 3) ("subsubsection" . 4) ("paragraph" . 5) ("subparagraph" . 6))) (defvar latex-metasection-list '("documentstyle" "documentclass" "begin{document}" "end{document}" "appendix" "frontmatter" "mainmatter" "backmatter")) #@50 Generate an alist for imenu from a LaTeX buffer. (defalias 'latex-imenu-create-index #[nil "\306\307\310\311\"\312\"\313Q\306\307 \312\"P\314\211\211!\212eb\210\315\316\314\312#\203* \317\2029 \315\320\314\312#\2037 \321\2029 \322eb\210\315!\314\312#\203d \317\224`\323\324\321\224\321\225\"\"A\"#$\325u\210\326\327\330\217\210+\202<