home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / tex-mode.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  25.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 4a 75 6c 20 20 36 |du on Tu|e Jul 6|
|00000040| 20 30 30 3a 30 39 3a 34 | 33 20 31 39 39 33 0a 3b | 00:09:4|3 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 74 65 78 | 2d 6d 6f 64 65 2e 65 6c |lisp/tex|-mode.el|
|00000080| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000090| 6f 6e 20 31 39 2e 31 35 | 2e 31 36 2e 0a 3b 3b 3b |on 19.15|.16..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 22 29 29 29 0a 20 20 |rsion "1|9"))). |
|00000190| 20 20 28 65 72 72 6f 72 | 20 22 54 68 69 73 20 66 | (error| "This f|
|000001a0| 69 6c 65 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |ile was |compiled|
|000001b0| 20 66 6f 72 20 45 6d 61 | 63 73 20 31 39 22 29 29 | for Ema|cs 19"))|
|000001c0| 0a 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |..(byte-|code "..|
|000001d0| 21 88 c0 c2 21 87 22 20 | 5b 72 65 71 75 69 72 65 |!...!." |[require|
|000001e0| 20 63 6f 6d 69 6e 74 20 | 63 6f 6d 70 69 6c 65 5d | comint |compile]|
|000001f0| 20 32 29 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d | 2).(def|var tex-|
|00000200| 73 68 65 6c 6c 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |shell-fi|le-name |
|00000210| 6e 69 6c 20 22 5c 0a 2a | 49 66 20 6e 6f 6e 2d 6e |nil "\.*|If non-n|
|00000220| 69 6c 2c 20 69 73 20 66 | 69 6c 65 20 6e 61 6d 65 |il, is f|ile name|
|00000230| 20 74 6f 20 75 73 65 20 | 66 6f 72 20 74 68 65 20 | to use |for the |
|00000240| 73 75 62 73 68 65 6c 6c | 20 69 6e 20 77 68 69 63 |subshell| in whic|
|00000250| 68 20 54 65 58 20 69 73 | 20 72 75 6e 2e 22 29 0a |h TeX is| run.").|
|00000260| 28 64 65 66 76 61 72 20 | 74 65 78 2d 64 69 72 65 |(defvar |tex-dire|
|00000270| 63 74 6f 72 79 20 22 2e | 22 20 22 5c 0a 2a 44 69 |ctory ".|" "\.*Di|
|00000280| 72 65 63 74 6f 72 79 20 | 69 6e 20 77 68 69 63 68 |rectory |in which|
|00000290| 20 74 65 6d 70 6f 72 61 | 72 79 20 66 69 6c 65 73 | tempora|ry files|
|000002a0| 20 61 72 65 20 6c 65 66 | 74 2e 0a 59 6f 75 20 63 | are lef|t..You c|
|000002b0| 61 6e 20 6d 61 6b 65 20 | 74 68 69 73 20 2f 74 6d |an make |this /tm|
|000002c0| 70 20 69 66 20 79 6f 75 | 72 20 54 45 58 49 4e 50 |p if you|r TEXINP|
|000002d0| 55 54 53 20 68 61 73 20 | 6e 6f 20 72 65 6c 61 74 |UTS has |no relat|
|000002e0| 69 76 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ive dire|ctories |
|000002f0| 69 6e 20 69 74 0a 61 6e | 64 20 79 6f 75 20 64 6f |in it.an|d you do|
|00000300| 6e 27 74 20 74 72 79 20 | 74 6f 20 61 70 70 6c 79 |n't try |to apply|
|00000310| 20 5c 5c 5b 74 65 78 2d | 72 65 67 69 6f 6e 5d 20 | \\[tex-|region] |
|00000320| 6f 72 20 5c 5c 5b 74 65 | 78 2d 62 75 66 66 65 72 |or \\[te|x-buffer|
|00000330| 5d 20 77 68 65 6e 20 74 | 68 65 72 65 20 61 72 65 |] when t|here are|
|00000340| 0a 5c 5c 69 6e 70 75 74 | 20 63 6f 6d 6d 61 6e 64 |.\\input| command|
|00000350| 73 20 77 69 74 68 20 72 | 65 6c 61 74 69 76 65 20 |s with r|elative |
|00000360| 64 69 72 65 63 74 6f 72 | 69 65 73 2e 22 29 0a 28 |director|ies.").(|
|00000370| 64 65 66 76 61 72 20 74 | 65 78 2d 6f 66 66 65 72 |defvar t|ex-offer|
|00000380| 2d 73 61 76 65 20 74 20 | 22 5c 0a 2a 49 66 20 6e |-save t |"\.*If n|
|00000390| 6f 6e 2d 6e 69 6c 2c 20 | 61 73 6b 20 61 62 6f 75 |on-nil, |ask abou|
|000003a0| 74 20 73 61 76 69 6e 67 | 20 6d 6f 64 69 66 69 65 |t saving| modifie|
|000003b0| 64 20 62 75 66 66 65 72 | 73 20 62 65 66 6f 72 65 |d buffer|s before|
|000003c0| 20 5c 5c 5b 74 65 78 2d | 66 69 6c 65 5d 20 69 73 | \\[tex-|file] is|
|000003d0| 20 72 75 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 | run.").|(defvar |
|000003e0| 74 65 78 2d 72 75 6e 2d | 63 6f 6d 6d 61 6e 64 20 |tex-run-|command |
|000003f0| 22 74 65 78 22 20 22 5c | 0a 2a 43 6f 6d 6d 61 6e |"tex" "\|.*Comman|
|00000400| 64 20 75 73 65 64 20 74 | 6f 20 72 75 6e 20 54 65 |d used t|o run Te|
|00000410| 58 20 73 75 62 6a 6f 62 | 2e 0a 49 66 20 74 68 69 |X subjob|..If thi|
|00000420| 73 20 73 74 72 69 6e 67 | 20 63 6f 6e 74 61 69 6e |s string| contain|
|00000430| 73 20 61 6e 20 61 73 74 | 65 72 69 73 6b 20 28 2a |s an ast|erisk (*|
|00000440| 29 2c 20 69 74 20 77 69 | 6c 6c 20 62 65 20 72 65 |), it wi|ll be re|
|00000450| 70 6c 61 63 65 64 20 62 | 79 20 74 68 65 0a 66 69 |placed b|y the.fi|
|00000460| 6c 65 6e 61 6d 65 3b 20 | 69 66 20 6e 6f 74 2c 20 |lename; |if not, |
|00000470| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00000480| 66 69 6c 65 2c 20 70 72 | 65 63 65 64 65 64 20 62 |file, pr|eceded b|
|00000490| 79 20 62 6c 61 6e 6b 2c | 20 77 69 6c 6c 20 62 65 |y blank,| will be|
|000004a0| 20 61 64 64 65 64 20 74 | 6f 0a 74 68 69 73 20 73 | added t|o.this s|
|000004b0| 74 72 69 6e 67 2e 22 29 | 0a 28 64 65 66 76 61 72 |tring.")|.(defvar|
|000004c0| 20 6c 61 74 65 78 2d 72 | 75 6e 2d 63 6f 6d 6d 61 | latex-r|un-comma|
|000004d0| 6e 64 20 22 6c 61 74 65 | 78 22 20 22 5c 0a 2a 43 |nd "late|x" "\.*C|
|000004e0| 6f 6d 6d 61 6e 64 20 75 | 73 65 64 20 74 6f 20 72 |ommand u|sed to r|
|000004f0| 75 6e 20 4c 61 54 65 58 | 20 73 75 62 6a 6f 62 2e |un LaTeX| subjob.|
|00000500| 0a 49 66 20 74 68 69 73 | 20 73 74 72 69 6e 67 20 |.If this| string |
|00000510| 63 6f 6e 74 61 69 6e 73 | 20 61 6e 20 61 73 74 65 |contains| an aste|
|00000520| 72 69 73 6b 20 28 2a 29 | 2c 20 69 74 20 77 69 6c |risk (*)|, it wil|
|00000530| 6c 20 62 65 20 72 65 70 | 6c 61 63 65 64 20 62 79 |l be rep|laced by|
|00000540| 20 74 68 65 0a 66 69 6c | 65 6e 61 6d 65 3b 20 69 | the.fil|ename; i|
|00000550| 66 20 6e 6f 74 2c 20 74 | 68 65 20 6e 61 6d 65 20 |f not, t|he name |
|00000560| 6f 66 20 74 68 65 20 66 | 69 6c 65 2c 20 70 72 65 |of the f|ile, pre|
|00000570| 63 65 64 65 64 20 62 79 | 20 62 6c 61 6e 6b 2c 20 |ceded by| blank, |
|00000580| 77 69 6c 6c 20 62 65 20 | 61 64 64 65 64 20 74 6f |will be |added to|
|00000590| 0a 74 68 69 73 20 73 74 | 72 69 6e 67 2e 22 29 0a |.this st|ring.").|
|000005a0| 28 64 65 66 76 61 72 20 | 73 74 61 6e 64 61 72 64 |(defvar |standard|
|000005b0| 2d 6c 61 74 65 78 2d 62 | 6c 6f 63 6b 2d 6e 61 6d |-latex-b|lock-nam|
|000005c0| 65 73 20 28 71 75 6f 74 | 65 20 28 22 61 62 73 74 |es (quot|e ("abst|
|000005d0| 72 61 63 74 22 20 22 61 | 72 72 61 79 22 20 22 63 |ract" "a|rray" "c|
|000005e0| 65 6e 74 65 72 22 20 22 | 64 65 73 63 72 69 70 74 |enter" "|descript|
|000005f0| 69 6f 6e 22 20 22 64 69 | 73 70 6c 61 79 6d 61 74 |ion" "di|splaymat|
|00000600| 68 22 20 22 64 6f 63 75 | 6d 65 6e 74 22 20 22 65 |h" "docu|ment" "e|
|00000610| 6e 75 6d 65 72 61 74 65 | 22 20 22 65 71 6e 61 72 |numerate|" "eqnar|
|00000620| 72 61 79 22 20 22 65 71 | 6e 61 72 72 61 79 2a 22 |ray" "eq|narray*"|
|00000630| 20 22 65 71 75 61 74 69 | 6f 6e 22 20 22 66 69 67 | "equati|on" "fig|
|00000640| 75 72 65 22 20 22 66 69 | 67 75 72 65 2a 22 20 22 |ure" "fi|gure*" "|
|00000650| 66 6c 75 73 68 6c 65 66 | 74 22 20 22 66 6c 75 73 |flushlef|t" "flus|
|00000660| 68 72 69 67 68 74 22 20 | 22 69 74 65 6d 69 7a 65 |hright" |"itemize|
|00000670| 22 20 22 6c 65 74 74 65 | 72 22 20 22 6c 69 73 74 |" "lette|r" "list|
|00000680| 22 20 22 6d 69 6e 69 70 | 61 67 65 22 20 22 70 69 |" "minip|age" "pi|
|00000690| 63 74 75 72 65 22 20 22 | 71 75 6f 74 61 74 69 6f |cture" "|quotatio|
|000006a0| 6e 22 20 22 71 75 6f 74 | 65 22 20 22 73 6c 69 64 |n" "quot|e" "slid|
|000006b0| 65 22 20 22 73 6c 6f 70 | 70 79 70 61 72 22 20 22 |e" "slop|pypar" "|
|000006c0| 74 61 62 62 69 6e 67 22 | 20 22 74 61 62 6c 65 22 |tabbing"| "table"|
|000006d0| 20 22 74 61 62 6c 65 2a | 22 20 22 74 61 62 75 6c | "table*|" "tabul|
|000006e0| 61 72 22 20 22 74 61 62 | 75 6c 61 72 2a 22 20 22 |ar" "tab|ular*" "|
|000006f0| 74 68 65 62 69 62 6c 69 | 6f 67 72 61 70 68 79 22 |thebibli|ography"|
|00000700| 20 22 74 68 65 69 6e 64 | 65 78 2a 22 20 22 74 69 | "theind|ex*" "ti|
|00000710| 74 6c 65 70 61 67 65 22 | 20 22 74 72 69 76 6c 69 |tlepage"| "trivli|
|00000720| 73 74 22 20 22 76 65 72 | 62 61 74 69 6d 22 20 22 |st" "ver|batim" "|
|00000730| 76 65 72 62 61 74 69 6d | 2a 22 20 22 76 65 72 73 |verbatim|*" "vers|
|00000740| 65 22 29 29 20 22 5c 0a | 53 74 61 6e 64 61 72 64 |e")) "\.|Standard|
|00000750| 20 4c 61 54 65 58 20 62 | 6c 6f 63 6b 20 6e 61 6d | LaTeX b|lock nam|
|00000760| 65 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6c 61 |es.").(d|efvar la|
|00000770| 74 65 78 2d 62 6c 6f 63 | 6b 2d 6e 61 6d 65 73 20 |tex-bloc|k-names |
|00000780| 6e 69 6c 20 22 5c 0a 2a | 55 73 65 72 20 64 65 66 |nil "\.*|User def|
|00000790| 69 6e 65 64 20 4c 61 54 | 65 58 20 62 6c 6f 63 6b |ined LaT|eX block|
|000007a0| 20 6e 61 6d 65 73 2e 0a | 43 6f 6d 62 69 6e 65 64 | names..|Combined|
|000007b0| 20 77 69 74 68 20 60 73 | 74 61 6e 64 61 72 64 2d | with `s|tandard-|
|000007c0| 6c 61 74 65 78 2d 62 6c | 6f 63 6b 2d 6e 61 6d 65 |latex-bl|ock-name|
|000007d0| 73 27 20 66 6f 72 20 6d | 69 6e 69 62 75 66 66 65 |s' for m|inibuffe|
|000007e0| 72 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 2e 22 29 0a |r comple|tion.").|
|000007f0| 28 64 65 66 76 61 72 20 | 73 6c 69 74 65 78 2d 72 |(defvar |slitex-r|
|00000800| 75 6e 2d 63 6f 6d 6d 61 | 6e 64 20 22 73 6c 69 74 |un-comma|nd "slit|
|00000810| 65 78 22 20 22 5c 0a 2a | 43 6f 6d 6d 61 6e 64 20 |ex" "\.*|Command |
|00000820| 75 73 65 64 20 74 6f 20 | 72 75 6e 20 53 6c 69 54 |used to |run SliT|
|00000830| 65 58 20 73 75 62 6a 6f | 62 2e 0a 49 66 20 74 68 |eX subjo|b..If th|
|00000840| 69 73 20 73 74 72 69 6e | 67 20 63 6f 6e 74 61 69 |is strin|g contai|
|00000850| 6e 73 20 61 6e 20 61 73 | 74 65 72 69 73 6b 20 28 |ns an as|terisk (|
|00000860| 2a 29 2c 20 69 74 20 77 | 69 6c 6c 20 62 65 20 72 |*), it w|ill be r|
|00000870| 65 70 6c 61 63 65 64 20 | 62 79 20 74 68 65 0a 66 |eplaced |by the.f|
|00000880| 69 6c 65 6e 61 6d 65 3b | 20 69 66 20 6e 6f 74 2c |ilename;| if not,|
|00000890| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|000008a0| 20 66 69 6c 65 2c 20 70 | 72 65 63 65 64 65 64 20 | file, p|receded |
|000008b0| 62 79 20 62 6c 61 6e 6b | 2c 20 77 69 6c 6c 20 62 |by blank|, will b|
|000008c0| 65 20 61 64 64 65 64 20 | 74 6f 0a 74 68 69 73 20 |e added |to.this |
|000008d0| 73 74 72 69 6e 67 2e 22 | 29 0a 28 64 65 66 76 61 |string."|).(defva|
|000008e0| 72 20 74 65 78 2d 62 69 | 62 74 65 78 2d 63 6f 6d |r tex-bi|btex-com|
|000008f0| 6d 61 6e 64 20 22 62 69 | 62 74 65 78 22 20 22 5c |mand "bi|btex" "\|
|00000900| 0a 2a 43 6f 6d 6d 61 6e | 64 20 75 73 65 64 20 62 |.*Comman|d used b|
|00000910| 79 20 60 74 65 78 2d 62 | 69 62 74 65 78 2d 66 69 |y `tex-b|ibtex-fi|
|00000920| 6c 65 27 20 74 6f 20 67 | 61 74 68 65 72 20 62 69 |le' to g|ather bi|
|00000930| 62 6c 69 6f 67 72 61 70 | 68 69 63 20 64 61 74 61 |bliograp|hic data|
|00000940| 2e 0a 49 66 20 74 68 69 | 73 20 73 74 72 69 6e 67 |..If thi|s string|
|00000950| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 61 73 74 | contain|s an ast|
|00000960| 65 72 69 73 6b 20 28 2a | 29 2c 20 69 74 20 77 69 |erisk (*|), it wi|
|00000970| 6c 6c 20 62 65 20 72 65 | 70 6c 61 63 65 64 20 62 |ll be re|placed b|
|00000980| 79 20 74 68 65 0a 66 69 | 6c 65 6e 61 6d 65 3b 20 |y the.fi|lename; |
|00000990| 69 66 20 6e 6f 74 2c 20 | 74 68 65 20 6e 61 6d 65 |if not, |the name|
|000009a0| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 2c 20 70 72 | of the |file, pr|
|000009b0| 65 63 65 64 65 64 20 62 | 79 20 62 6c 61 6e 6b 2c |eceded b|y blank,|
|000009c0| 20 77 69 6c 6c 20 62 65 | 20 61 64 64 65 64 20 74 | will be| added t|
|000009d0| 6f 0a 74 68 69 73 20 73 | 74 72 69 6e 67 2e 22 29 |o.this s|tring.")|
|000009e0| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 64 76 69 |.(defvar| tex-dvi|
|000009f0| 2d 70 72 69 6e 74 2d 63 | 6f 6d 6d 61 6e 64 20 22 |-print-c|ommand "|
|00000a00| 6c 70 72 20 2d 64 22 20 | 22 5c 0a 2a 43 6f 6d 6d |lpr -d" |"\.*Comm|
|00000a10| 61 6e 64 20 75 73 65 64 | 20 62 79 20 5c 5c 5b 74 |and used| by \\[t|
|00000a20| 65 78 2d 70 72 69 6e 74 | 5d 20 74 6f 20 70 72 69 |ex-print|] to pri|
|00000a30| 6e 74 20 61 20 2e 64 76 | 69 20 66 69 6c 65 2e 0a |nt a .dv|i file..|
|00000a40| 49 66 20 74 68 69 73 20 | 73 74 72 69 6e 67 20 63 |If this |string c|
|00000a50| 6f 6e 74 61 69 6e 73 20 | 61 6e 20 61 73 74 65 72 |ontains |an aster|
|00000a60| 69 73 6b 20 28 2a 29 2c | 20 69 74 20 77 69 6c 6c |isk (*),| it will|
|00000a70| 20 62 65 20 72 65 70 6c | 61 63 65 64 20 62 79 20 | be repl|aced by |
|00000a80| 74 68 65 0a 66 69 6c 65 | 6e 61 6d 65 3b 20 69 66 |the.file|name; if|
|00000a90| 20 6e 6f 74 2c 20 74 68 | 65 20 6e 61 6d 65 20 6f | not, th|e name o|
|00000aa0| 66 20 74 68 65 20 66 69 | 6c 65 2c 20 70 72 65 63 |f the fi|le, prec|
|00000ab0| 65 64 65 64 20 62 79 20 | 62 6c 61 6e 6b 2c 20 77 |eded by |blank, w|
|00000ac0| 69 6c 6c 20 62 65 20 61 | 64 64 65 64 20 74 6f 0a |ill be a|dded to.|
|00000ad0| 74 68 69 73 20 73 74 72 | 69 6e 67 2e 22 29 0a 28 |this str|ing.").(|
|00000ae0| 64 65 66 76 61 72 20 74 | 65 78 2d 61 6c 74 2d 64 |defvar t|ex-alt-d|
|00000af0| 76 69 2d 70 72 69 6e 74 | 2d 63 6f 6d 6d 61 6e 64 |vi-print|-command|
|00000b00| 20 22 6c 70 72 20 2d 64 | 22 20 22 5c 0a 2a 43 6f | "lpr -d|" "\.*Co|
|00000b10| 6d 6d 61 6e 64 20 75 73 | 65 64 20 62 79 20 5c 5c |mmand us|ed by \\|
|00000b20| 5b 74 65 78 2d 70 72 69 | 6e 74 5d 20 77 69 74 68 |[tex-pri|nt] with|
|00000b30| 20 61 20 70 72 65 66 69 | 78 20 61 72 67 20 74 6f | a prefi|x arg to|
|00000b40| 20 70 72 69 6e 74 20 61 | 20 2e 64 76 69 20 66 69 | print a| .dvi fi|
|00000b50| 6c 65 2e 0a 49 66 20 74 | 68 69 73 20 73 74 72 69 |le..If t|his stri|
|00000b60| 6e 67 20 63 6f 6e 74 61 | 69 6e 73 20 61 6e 20 61 |ng conta|ins an a|
|00000b70| 73 74 65 72 69 73 6b 20 | 28 2a 29 2c 20 69 74 20 |sterisk |(*), it |
|00000b80| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|00000b90| 20 62 79 20 74 68 65 0a | 66 69 6c 65 6e 61 6d 65 | by the.|filename|
|00000ba0| 3b 20 69 66 20 6e 6f 74 | 2c 20 74 68 65 20 6e 61 |; if not|, the na|
|00000bb0| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 2c 20 |me of th|e file, |
|00000bc0| 70 72 65 63 65 64 65 64 | 20 62 79 20 62 6c 61 6e |preceded| by blan|
|00000bd0| 6b 2c 20 77 69 6c 6c 20 | 62 65 20 61 64 64 65 64 |k, will |be added|
|00000be0| 20 74 6f 0a 74 68 69 73 | 20 73 74 72 69 6e 67 2e | to.this| string.|
|00000bf0| 0a 0a 49 66 20 74 77 6f | 20 70 72 69 6e 74 65 72 |..If two| printer|
|00000c00| 73 20 61 72 65 20 6e 6f | 74 20 65 6e 6f 75 67 68 |s are no|t enough|
|00000c10| 20 6f 66 20 61 20 63 68 | 6f 69 63 65 2c 20 79 6f | of a ch|oice, yo|
|00000c20| 75 20 63 61 6e 20 64 65 | 66 69 6e 65 20 74 68 65 |u can de|fine the|
|00000c30| 20 76 61 6c 75 65 0a 6f | 66 20 74 65 78 2d 61 6c | value.o|f tex-al|
|00000c40| 74 2d 64 76 69 2d 70 72 | 69 6e 74 2d 63 6f 6d 6d |t-dvi-pr|int-comm|
|00000c50| 61 6e 64 20 74 6f 20 62 | 65 20 61 6e 20 65 78 70 |and to b|e an exp|
|00000c60| 72 65 73 73 69 6f 6e 20 | 74 68 61 74 20 61 73 6b |ression |that ask|
|00000c70| 73 20 77 68 61 74 20 79 | 6f 75 20 77 61 6e 74 3b |s what y|ou want;|
|00000c80| 0a 66 6f 72 20 65 78 61 | 6d 70 6c 65 2c 0a 0a 20 |.for exa|mple,.. |
|00000c90| 20 20 20 28 73 65 74 71 | 20 74 65 78 2d 61 6c 74 | (setq| tex-alt|
|00000ca0| 2d 64 76 69 2d 70 72 69 | 6e 74 2d 63 6f 6d 6d 61 |-dvi-pri|nt-comma|
|00000cb0| 6e 64 0a 20 20 20 20 20 | 20 20 20 20 27 28 66 6f |nd. | '(fo|
|00000cc0| 72 6d 61 74 20 5c 22 6c | 70 72 20 2d 50 25 73 5c |rmat \"l|pr -P%s\|
|00000cd0| 22 20 28 72 65 61 64 2d | 73 74 72 69 6e 67 20 5c |" (read-|string \|
|00000ce0| 22 55 73 65 20 70 72 69 | 6e 74 65 72 3a 20 5c 22 |"Use pri|nter: \"|
|00000cf0| 29 29 29 0a 0a 77 6f 75 | 6c 64 20 74 65 6c 6c 20 |)))..wou|ld tell |
|00000d00| 5c 5c 5b 74 65 78 2d 70 | 72 69 6e 74 5d 20 77 69 |\\[tex-p|rint] wi|
|00000d10| 74 68 20 61 20 70 72 65 | 66 69 78 20 61 72 67 75 |th a pre|fix argu|
|00000d20| 6d 65 6e 74 20 74 6f 20 | 61 73 6b 20 79 6f 75 20 |ment to |ask you |
|00000d30| 77 68 69 63 68 20 70 72 | 69 6e 74 65 72 20 74 6f |which pr|inter to|
|00000d40| 0a 75 73 65 2e 22 29 0a | 28 64 65 66 76 61 72 20 |.use.").|(defvar |
|00000d50| 74 65 78 2d 64 76 69 2d | 76 69 65 77 2d 63 6f 6d |tex-dvi-|view-com|
|00000d60| 6d 61 6e 64 20 6e 69 6c | 20 22 5c 0a 2a 43 6f 6d |mand nil| "\.*Com|
|00000d70| 6d 61 6e 64 20 75 73 65 | 64 20 62 79 20 5c 5c 5b |mand use|d by \\[|
|00000d80| 74 65 78 2d 76 69 65 77 | 5d 20 74 6f 20 64 69 73 |tex-view|] to dis|
|00000d90| 70 6c 61 79 20 61 20 2e | 64 76 69 20 66 69 6c 65 |play a .|dvi file|
|00000da0| 2e 0a 49 66 20 74 68 69 | 73 20 73 74 72 69 6e 67 |..If thi|s string|
|00000db0| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 61 73 74 | contain|s an ast|
|00000dc0| 65 72 69 73 6b 20 28 2a | 29 2c 20 69 74 20 77 69 |erisk (*|), it wi|
|00000dd0| 6c 6c 20 62 65 20 72 65 | 70 6c 61 63 65 64 20 62 |ll be re|placed b|
|00000de0| 79 20 74 68 65 0a 66 69 | 6c 65 6e 61 6d 65 3b 20 |y the.fi|lename; |
|00000df0| 69 66 20 6e 6f 74 2c 20 | 74 68 65 20 6e 61 6d 65 |if not, |the name|
|00000e00| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 2c 20 70 72 | of the |file, pr|
|00000e10| 65 63 65 64 65 64 20 62 | 79 20 62 6c 61 6e 6b 2c |eceded b|y blank,|
|00000e20| 20 77 69 6c 6c 20 62 65 | 20 61 64 64 65 64 20 74 | will be| added t|
|00000e30| 6f 0a 74 68 69 73 20 73 | 74 72 69 6e 67 2e 0a 0a |o.this s|tring...|
|00000e40| 54 68 69 73 20 63 61 6e | 20 62 65 20 73 65 74 20 |This can| be set |
|00000e50| 63 6f 6e 64 69 74 69 6f | 6e 61 6c 6c 79 20 73 6f |conditio|nally so|
|00000e60| 20 74 68 61 74 20 74 68 | 65 20 70 72 65 76 69 65 | that th|e previe|
|00000e70| 77 65 72 20 75 73 65 64 | 20 69 73 20 73 75 69 74 |wer used| is suit|
|00000e80| 61 62 6c 65 20 66 6f 72 | 20 74 68 65 0a 77 69 6e |able for| the.win|
|00000e90| 64 6f 77 20 73 79 73 74 | 65 6d 20 62 65 69 6e 67 |dow syst|em being|
|00000ea0| 20 75 73 65 64 2e 20 20 | 46 6f 72 20 65 78 61 6d | used. |For exam|
|00000eb0| 70 6c 65 2c 0a 0a 20 20 | 20 20 28 73 65 74 71 20 |ple,.. | (setq |
|00000ec0| 74 65 78 2d 64 76 69 2d | 76 69 65 77 2d 63 6f 6d |tex-dvi-|view-com|
|00000ed0| 6d 61 6e 64 0a 20 20 20 | 20 20 20 20 20 20 20 28 |mand. | (|
|00000ee0| 69 66 20 28 65 71 20 77 | 69 6e 64 6f 77 2d 73 79 |if (eq w|indow-sy|
|00000ef0| 73 74 65 6d 20 27 78 29 | 20 5c 22 78 64 76 69 5c |stem 'x)| \"xdvi\|
|00000f00| 22 20 5c 22 64 76 69 32 | 74 74 79 20 2a 20 7c 20 |" \"dvi2|tty * | |
|00000f10| 63 61 74 20 2d 73 5c 22 | 29 29 0a 0a 77 6f 75 6c |cat -s\"|))..woul|
|00000f20| 64 20 74 65 6c 6c 20 5c | 5c 5b 74 65 78 2d 76 69 |d tell \|\[tex-vi|
|00000f30| 65 77 5d 20 75 73 65 20 | 78 64 76 69 20 75 6e 64 |ew] use |xdvi und|
|00000f40| 65 72 20 58 20 77 69 6e | 64 6f 77 73 20 61 6e 64 |er X win|dows and|
|00000f50| 20 74 6f 20 75 73 65 20 | 64 76 69 32 74 74 79 0a | to use |dvi2tty.|
|00000f60| 6f 74 68 65 72 77 69 73 | 65 2e 22 29 0a 28 64 65 |otherwis|e.").(de|
|00000f70| 66 76 61 72 20 74 65 78 | 2d 73 68 6f 77 2d 71 75 |fvar tex|-show-qu|
|00000f80| 65 75 65 2d 63 6f 6d 6d | 61 6e 64 20 22 6c 70 71 |eue-comm|and "lpq|
|00000f90| 22 20 22 5c 0a 2a 43 6f | 6d 6d 61 6e 64 20 75 73 |" "\.*Co|mmand us|
|00000fa0| 65 64 20 62 79 20 5c 5c | 5b 74 65 78 2d 73 68 6f |ed by \\|[tex-sho|
|00000fb0| 77 2d 70 72 69 6e 74 2d | 71 75 65 75 65 5d 20 74 |w-print-|queue] t|
|00000fc0| 6f 20 73 68 6f 77 20 74 | 68 65 20 70 72 69 6e 74 |o show t|he print|
|00000fd0| 20 71 75 65 75 65 2e 0a | 53 68 6f 75 6c 64 20 73 | queue..|Should s|
|00000fe0| 68 6f 77 20 74 68 65 20 | 71 75 65 75 65 28 73 29 |how the |queue(s)|
|00000ff0| 20 74 68 61 74 20 5c 5c | 5b 74 65 78 2d 70 72 69 | that \\|[tex-pri|
|00001000| 6e 74 5d 20 70 75 74 73 | 20 6a 6f 62 73 20 6f 6e |nt] puts| jobs on|
|00001010| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d |.").(def|var tex-|
|00001020| 64 65 66 61 75 6c 74 2d | 6d 6f 64 65 20 28 71 75 |default-|mode (qu|
|00001030| 6f 74 65 20 70 6c 61 69 | 6e 2d 74 65 78 2d 6d 6f |ote plai|n-tex-mo|
|00001040| 64 65 29 20 22 5c 0a 2a | 4d 6f 64 65 20 74 6f 20 |de) "\.*|Mode to |
|00001050| 65 6e 74 65 72 20 66 6f | 72 20 61 20 6e 65 77 20 |enter fo|r a new |
|00001060| 66 69 6c 65 20 74 68 61 | 74 20 6d 69 67 68 74 20 |file tha|t might |
|00001070| 62 65 20 65 69 74 68 65 | 72 20 54 65 58 20 6f 72 |be eithe|r TeX or|
|00001080| 20 4c 61 54 65 58 2e 0a | 54 68 69 73 20 76 61 72 | LaTeX..|This var|
|00001090| 69 61 62 6c 65 20 69 73 | 20 75 73 65 64 20 77 68 |iable is| used wh|
|000010a0| 65 6e 20 69 74 20 63 61 | 6e 27 74 20 62 65 20 64 |en it ca|n't be d|
|000010b0| 65 74 65 72 6d 69 6e 65 | 64 20 77 68 65 74 68 65 |etermine|d whethe|
|000010c0| 72 20 74 68 65 20 66 69 | 6c 65 0a 69 73 20 70 6c |r the fi|le.is pl|
|000010d0| 61 69 6e 20 54 65 58 20 | 6f 72 20 4c 61 54 65 58 |ain TeX |or LaTeX|
|000010e0| 20 6f 72 20 77 68 61 74 | 20 62 65 63 61 75 73 65 | or what| because|
|000010f0| 20 74 68 65 20 66 69 6c | 65 20 63 6f 6e 74 61 69 | the fil|e contai|
|00001100| 6e 73 20 6e 6f 20 63 6f | 6d 6d 61 6e 64 73 2e 0a |ns no co|mmands..|
|00001110| 4e 6f 72 6d 61 6c 6c 79 | 20 73 65 74 20 74 6f 20 |Normally| set to |
|00001120| 65 69 74 68 65 72 20 27 | 70 6c 61 69 6e 2d 74 65 |either '|plain-te|
|00001130| 78 2d 6d 6f 64 65 20 6f | 72 20 27 6c 61 74 65 78 |x-mode o|r 'latex|
|00001140| 2d 6d 6f 64 65 2e 22 29 | 0a 28 64 65 66 76 61 72 |-mode.")|.(defvar|
|00001150| 20 74 65 78 2d 6f 70 65 | 6e 2d 71 75 6f 74 65 20 | tex-ope|n-quote |
|00001160| 22 60 60 22 20 22 5c 0a | 2a 53 74 72 69 6e 67 20 |"``" "\.|*String |
|00001170| 69 6e 73 65 72 74 65 64 | 20 62 79 20 74 79 70 69 |inserted| by typi|
|00001180| 6e 67 20 5c 5c 5b 74 65 | 78 2d 69 6e 73 65 72 74 |ng \\[te|x-insert|
|00001190| 2d 71 75 6f 74 65 5d 20 | 74 6f 20 6f 70 65 6e 20 |-quote] |to open |
|000011a0| 61 20 71 75 6f 74 61 74 | 69 6f 6e 2e 22 29 0a 28 |a quotat|ion.").(|
|000011b0| 64 65 66 76 61 72 20 74 | 65 78 2d 63 6c 6f 73 65 |defvar t|ex-close|
|000011c0| 2d 71 75 6f 74 65 20 22 | 27 27 22 20 22 5c 0a 2a |-quote "|''" "\.*|
|000011d0| 53 74 72 69 6e 67 20 69 | 6e 73 65 72 74 65 64 20 |String i|nserted |
|000011e0| 62 79 20 74 79 70 69 6e | 67 20 5c 5c 5b 74 65 78 |by typin|g \\[tex|
|000011f0| 2d 69 6e 73 65 72 74 2d | 71 75 6f 74 65 5d 20 74 |-insert-|quote] t|
|00001200| 6f 20 63 6c 6f 73 65 20 | 61 20 71 75 6f 74 61 74 |o close |a quotat|
|00001210| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 74 |ion.").(|defvar t|
|00001220| 65 78 2d 6c 61 73 74 2d | 74 65 6d 70 2d 66 69 6c |ex-last-|temp-fil|
|00001230| 65 20 6e 69 6c 20 22 5c | 0a 4c 61 74 65 73 74 20 |e nil "\|.Latest |
|00001240| 74 65 6d 70 6f 72 61 72 | 79 20 66 69 6c 65 20 67 |temporar|y file g|
|00001250| 65 6e 65 72 61 74 65 64 | 20 62 79 20 5c 5c 5b 74 |enerated| by \\[t|
|00001260| 65 78 2d 72 65 67 69 6f | 6e 5d 20 61 6e 64 20 5c |ex-regio|n] and \|
|00001270| 5c 5b 74 65 78 2d 62 75 | 66 66 65 72 5d 2e 0a 44 |\[tex-bu|ffer]..D|
|00001280| 65 6c 65 74 65 64 20 77 | 68 65 6e 20 74 68 65 20 |eleted w|hen the |
|00001290| 5c 5c 5b 74 65 78 2d 72 | 65 67 69 6f 6e 5d 20 6f |\\[tex-r|egion] o|
|000012a0| 72 20 5c 5c 5b 74 65 78 | 2d 62 75 66 66 65 72 5d |r \\[tex|-buffer]|
|000012b0| 20 69 73 20 6e 65 78 74 | 20 72 75 6e 2c 20 6f 72 | is next| run, or|
|000012c0| 20 77 68 65 6e 20 74 68 | 65 0a 74 65 78 2d 73 68 | when th|e.tex-sh|
|000012d0| 65 6c 6c 20 67 6f 65 73 | 20 61 77 61 79 2e 22 29 |ell goes| away.")|
|000012e0| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 63 6f 6d |.(defvar| tex-com|
|000012f0| 6d 61 6e 64 20 6e 69 6c | 20 22 5c 0a 43 6f 6d 6d |mand nil| "\.Comm|
|00001300| 61 6e 64 20 74 6f 20 72 | 75 6e 20 54 65 58 2e 0a |and to r|un TeX..|
|00001310| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |The name| of the |
|00001320| 66 69 6c 65 2c 20 70 72 | 65 63 65 64 65 64 20 62 |file, pr|eceded b|
|00001330| 79 20 61 20 62 6c 61 6e | 6b 2c 20 77 69 6c 6c 20 |y a blan|k, will |
|00001340| 62 65 20 61 64 64 65 64 | 20 74 6f 20 74 68 69 73 |be added| to this|
|00001350| 20 73 74 72 69 6e 67 2e | 22 29 0a 28 64 65 66 76 | string.|").(defv|
|00001360| 61 72 20 74 65 78 2d 74 | 72 61 69 6c 65 72 20 6e |ar tex-t|railer n|
|00001370| 69 6c 20 22 5c 0a 53 74 | 72 69 6e 67 20 61 70 70 |il "\.St|ring app|
|00001380| 65 6e 64 65 64 20 61 66 | 74 65 72 20 74 68 65 20 |ended af|ter the |
|00001390| 65 6e 64 20 6f 66 20 61 | 20 72 65 67 69 6f 6e 20 |end of a| region |
|000013a0| 73 65 6e 74 20 74 6f 20 | 54 65 58 20 62 79 20 5c |sent to |TeX by \|
|000013b0| 5c 5b 74 65 78 2d 72 65 | 67 69 6f 6e 5d 2e 22 29 |\[tex-re|gion].")|
|000013c0| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 73 74 61 |.(defvar| tex-sta|
|000013d0| 72 74 2d 6f 66 2d 68 65 | 61 64 65 72 20 6e 69 6c |rt-of-he|ader nil|
|000013e0| 20 22 5c 0a 53 74 72 69 | 6e 67 20 75 73 65 64 20 | "\.Stri|ng used |
|000013f0| 62 79 20 5c 5c 5b 74 65 | 78 2d 72 65 67 69 6f 6e |by \\[te|x-region|
|00001400| 5d 20 74 6f 20 64 65 6c | 69 6d 69 74 20 74 68 65 |] to del|imit the|
|00001410| 20 73 74 61 72 74 20 6f | 66 20 74 68 65 20 66 69 | start o|f the fi|
|00001420| 6c 65 27 73 20 68 65 61 | 64 65 72 2e 22 29 0a 28 |le's hea|der.").(|
|00001430| 64 65 66 76 61 72 20 74 | 65 78 2d 65 6e 64 2d 6f |defvar t|ex-end-o|
|00001440| 66 2d 68 65 61 64 65 72 | 20 6e 69 6c 20 22 5c 0a |f-header| nil "\.|
|00001450| 53 74 72 69 6e 67 20 75 | 73 65 64 20 62 79 20 5c |String u|sed by \|
|00001460| 5c 5b 74 65 78 2d 72 65 | 67 69 6f 6e 5d 20 74 6f |\[tex-re|gion] to|
|00001470| 20 64 65 6c 69 6d 69 74 | 20 74 68 65 20 65 6e 64 | delimit| the end|
|00001480| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 27 73 20 68 | of the |file's h|
|00001490| 65 61 64 65 72 2e 22 29 | 0a 28 64 65 66 76 61 72 |eader.")|.(defvar|
|000014a0| 20 74 65 78 2d 73 68 65 | 6c 6c 2d 63 64 2d 63 6f | tex-she|ll-cd-co|
|000014b0| 6d 6d 61 6e 64 20 22 63 | 64 22 20 22 5c 0a 43 6f |mmand "c|d" "\.Co|
|000014c0| 6d 6d 61 6e 64 20 74 6f | 20 67 69 76 65 20 74 6f |mmand to| give to|
|000014d0| 20 73 68 65 6c 6c 20 72 | 75 6e 6e 69 6e 67 20 54 | shell r|unning T|
|000014e0| 65 58 20 74 6f 20 63 68 | 61 6e 67 65 20 64 69 72 |eX to ch|ange dir|
|000014f0| 65 63 74 6f 72 79 2e 0a | 54 68 65 20 76 61 6c 75 |ectory..|The valu|
|00001500| 65 20 6f 66 20 74 65 78 | 2d 64 69 72 65 63 74 6f |e of tex|-directo|
|00001510| 72 79 20 77 69 6c 6c 20 | 62 65 20 61 70 70 65 6e |ry will |be appen|
|00001520| 64 65 64 20 74 6f 20 74 | 68 69 73 2c 20 73 65 70 |ded to t|his, sep|
|00001530| 61 72 61 74 65 64 20 62 | 79 20 61 20 73 70 61 63 |arated b|y a spac|
|00001540| 65 2e 22 29 0a 28 64 65 | 66 76 61 72 20 74 65 78 |e.").(de|fvar tex|
|00001550| 2d 7a 61 70 2d 66 69 6c | 65 20 6e 69 6c 20 22 5c |-zap-fil|e nil "\|
|00001560| 0a 54 65 6d 70 6f 72 61 | 72 79 20 66 69 6c 65 20 |.Tempora|ry file |
|00001570| 6e 61 6d 65 20 75 73 65 | 64 20 66 6f 72 20 74 65 |name use|d for te|
|00001580| 78 74 20 62 65 69 6e 67 | 20 73 65 6e 74 20 61 73 |xt being| sent as|
|00001590| 20 69 6e 70 75 74 20 74 | 6f 20 54 65 58 2e 0a 53 | input t|o TeX..S|
|000015a0| 68 6f 75 6c 64 20 62 65 | 20 61 20 73 69 6d 70 6c |hould be| a simpl|
|000015b0| 65 20 66 69 6c 65 20 6e | 61 6d 65 20 77 69 74 68 |e file n|ame with|
|000015c0| 20 6e 6f 20 65 78 74 65 | 6e 73 69 6f 6e 20 6f 72 | no exte|nsion or|
|000015d0| 20 64 69 72 65 63 74 6f | 72 79 20 73 70 65 63 69 | directo|ry speci|
|000015e0| 66 69 63 61 74 69 6f 6e | 2e 22 29 0a 28 64 65 66 |fication|.").(def|
|000015f0| 76 61 72 20 74 65 78 2d | 6c 61 73 74 2d 62 75 66 |var tex-|last-buf|
|00001600| 66 65 72 2d 74 65 78 65 | 64 20 6e 69 6c 20 22 5c |fer-texe|d nil "\|
|00001610| 0a 42 75 66 66 65 72 20 | 77 68 69 63 68 20 77 61 |.Buffer |which wa|
|00001620| 73 20 6c 61 73 74 20 54 | 65 58 65 64 2e 22 29 0a |s last T|eXed.").|
|00001630| 28 64 65 66 76 61 72 20 | 74 65 78 2d 70 72 69 6e |(defvar |tex-prin|
|00001640| 74 2d 66 69 6c 65 20 6e | 69 6c 20 22 5c 0a 46 69 |t-file n|il "\.Fi|
|00001650| 6c 65 20 6e 61 6d 65 20 | 74 68 61 74 20 5c 5c 5b |le name |that \\[|
|00001660| 74 65 78 2d 70 72 69 6e | 74 5d 20 70 72 69 6e 74 |tex-prin|t] print|
|00001670| 73 2e 0a 53 65 74 20 62 | 79 20 5c 5c 5b 74 65 78 |s..Set b|y \\[tex|
|00001680| 2d 72 65 67 69 6f 6e 5d | 2c 20 5c 5c 5b 74 65 78 |-region]|, \\[tex|
|00001690| 2d 62 75 66 66 65 72 5d | 2c 20 61 6e 64 20 5c 5c |-buffer]|, and \\|
|000016a0| 5b 74 65 78 2d 66 69 6c | 65 5d 2e 22 29 0a 28 64 |[tex-fil|e].").(d|
|000016b0| 65 66 76 61 72 20 74 65 | 78 2d 6d 6f 64 65 2d 73 |efvar te|x-mode-s|
|000016c0| 79 6e 74 61 78 2d 74 61 | 62 6c 65 20 6e 69 6c 20 |yntax-ta|ble nil |
|000016d0| 22 5c 0a 53 79 6e 74 61 | 78 20 74 61 62 6c 65 20 |"\.Synta|x table |
|000016e0| 75 73 65 64 20 77 68 69 | 6c 65 20 69 6e 20 54 65 |used whi|le in Te|
|000016f0| 58 20 6d 6f 64 65 2e 22 | 29 0a 28 64 65 66 61 6c |X mode."|).(defal|
|00001700| 69 61 73 20 27 74 65 78 | 2d 64 65 66 69 6e 65 2d |ias 'tex|-define-|
|00001710| 63 6f 6d 6d 6f 6e 2d 6b | 65 79 73 20 23 5b 28 6b |common-k|eys #[(k|
|00001720| 65 79 6d 61 70 29 20 22 | c0 09 c2 c3 23 88 c0 09 |eymap) "|....#...|
|00001730| c4 c5 23 88 c0 09 c6 c7 | 23 88 c0 09 c8 c9 23 88 |..#.....|#.....#.|
|00001740| c0 09 ca cb 23 87 22 20 | 5b 64 65 66 69 6e 65 2d |....#." |[define-|
|00001750| 6b 65 79 20 6b 65 79 6d | 61 70 20 22 03 0b 22 20 |key keym|ap ".." |
|00001760| 74 65 78 2d 6b 69 6c 6c | 2d 6a 6f 62 20 22 03 0c |tex-kill|-job "..|
|00001770| 22 20 74 65 78 2d 72 65 | 63 65 6e 74 65 72 2d 6f |" tex-re|center-o|
|00001780| 75 74 70 75 74 2d 62 75 | 66 66 65 72 20 22 03 11 |utput-bu|ffer "..|
|00001790| 22 20 74 65 78 2d 73 68 | 6f 77 2d 70 72 69 6e 74 |" tex-sh|ow-print|
|000017a0| 2d 71 75 65 75 65 20 22 | 03 10 22 20 74 65 78 2d |-queue "|.." tex-|
|000017b0| 70 72 69 6e 74 20 22 03 | 16 22 20 74 65 78 2d 76 |print ".|." tex-v|
|000017c0| 69 65 77 5d 20 34 20 22 | 5c 0a 44 65 66 69 6e 65 |iew] 4 "|\.Define|
|000017d0| 20 74 68 65 20 6b 65 79 | 73 20 74 68 61 74 20 77 | the key|s that w|
|000017e0| 65 20 77 61 6e 74 20 64 | 65 66 69 6e 65 64 20 62 |e want d|efined b|
|000017f0| 6f 74 68 20 69 6e 20 54 | 65 58 20 6d 6f 64 65 20 |oth in T|eX mode |
|00001800| 61 6e 64 20 69 6e 20 74 | 68 65 20 74 65 78 2d 73 |and in t|he tex-s|
|00001810| 68 65 6c 6c 2e 22 5d 29 | 0a 28 64 65 66 76 61 72 |hell."])|.(defvar|
|00001820| 20 74 65 78 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 | tex-mod|e-map ni|
|00001830| 6c 20 22 5c 0a 4b 65 79 | 6d 61 70 20 66 6f 72 20 |l "\.Key|map for |
|00001840| 54 65 58 20 6d 6f 64 65 | 2e 22 29 0a 28 62 79 74 |TeX mode|.").(byt|
|00001850| 65 2d 63 6f 64 65 20 22 | 08 84 47 00 c1 20 10 c2 |e-code "|..G.. ..|
|00001860| 08 21 88 c3 08 c4 c5 23 | 88 c3 08 c6 c7 23 88 c3 |.!.....#|.....#..|
|00001870| 08 c8 c9 23 88 c3 08 ca | cb 23 88 c3 08 cc cd 23 |...#....|.#.....#|
|00001880| 88 c3 08 ce cf 23 88 c3 | 08 d0 d1 23 88 c3 08 d2 |.....#..|...#....|
|00001890| d3 23 88 c3 08 d4 d5 23 | 88 c3 08 d6 d7 23 88 c1 |.#.....#|.....#..|
|000018a0| 87 22 20 5b 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |." [tex-|mode-map|
|000018b0| 20 6d 61 6b 65 2d 73 70 | 61 72 73 65 2d 6b 65 79 | make-sp|arse-key|
|000018c0| 6d 61 70 20 74 65 78 2d | 64 65 66 69 6e 65 2d 63 |map tex-|define-c|
|000018d0| 6f 6d 6d 6f 6e 2d 6b 65 | 79 73 20 64 65 66 69 6e |ommon-ke|ys defin|
|000018e0| 65 2d 6b 65 79 20 22 5c | 22 22 20 74 65 78 2d 69 |e-key "\|"" tex-i|
|000018f0| 6e 73 65 72 74 2d 71 75 | 6f 74 65 20 22 5c 6e 22 |nsert-qu|ote "\n"|
|00001900| 20 74 65 78 2d 74 65 72 | 6d 69 6e 61 74 65 2d 70 | tex-ter|minate-p|
|00001910| 61 72 61 67 72 61 70 68 | 20 22 03 7d 22 20 75 70 |aragraph| ".}" up|
|00001920| 2d 6c 69 73 74 20 22 03 | 7b 22 20 74 65 78 2d 69 |-list ".|{" tex-i|
|00001930| 6e 73 65 72 74 2d 62 72 | 61 63 65 73 20 22 03 12 |nsert-br|aces "..|
|00001940| 22 20 74 65 78 2d 72 65 | 67 69 6f 6e 20 22 03 02 |" tex-re|gion "..|
|00001950| 22 20 74 65 78 2d 62 75 | 66 66 65 72 20 22 03 06 |" tex-bu|ffer "..|
|00001960| 22 20 74 65 78 2d 66 69 | 6c 65 20 22 03 09 22 20 |" tex-fi|le ".." |
|00001970| 74 65 78 2d 62 69 62 74 | 65 78 2d 66 69 6c 65 20 |tex-bibt|ex-file |
|00001980| 22 03 0f 22 20 74 65 78 | 2d 6c 61 74 65 78 2d 62 |".." tex|-latex-b|
|00001990| 6c 6f 63 6b 20 22 03 05 | 22 20 74 65 78 2d 63 6c |lock "..|" tex-cl|
|000019a0| 6f 73 65 2d 6c 61 74 65 | 78 2d 62 6c 6f 63 6b 5d |ose-late|x-block]|
|000019b0| 20 34 29 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d | 4).(def|var tex-|
|000019c0| 73 68 65 6c 6c 2d 6d 61 | 70 20 6e 69 6c 20 22 5c |shell-ma|p nil "\|
|000019d0| 0a 4b 65 79 6d 61 70 20 | 66 6f 72 20 74 68 65 20 |.Keymap |for the |
|000019e0| 74 65 78 2d 73 68 65 6c | 6c 2e 20 20 41 20 63 6f |tex-shel|l. A co|
|000019f0| 6d 69 6e 74 2d 6d 6f 64 | 65 2d 6d 61 70 20 77 69 |mint-mod|e-map wi|
|00001a00| 74 68 20 61 20 66 65 77 | 20 61 64 64 69 74 69 6f |th a few| additio|
|00001a10| 6e 73 2e 22 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |ns.").(b|yte-code|
|00001a20| 20 22 c0 c1 21 84 08 00 | c2 11 c2 87 22 20 5b 62 | "..!...|...." [b|
|00001a30| 6f 75 6e 64 70 20 63 6f | 6d 70 61 72 65 2d 77 69 |oundp co|mpare-wi|
|00001a40| 6e 64 6f 77 73 2d 77 68 | 69 74 65 73 70 61 63 65 |ndows-wh|itespace|
|00001a50| 20 6e 69 6c 5d 20 32 29 | 0a 28 64 65 66 61 6c 69 | nil] 2)|.(defali|
|00001a60| 61 73 20 27 74 65 78 2d | 6d 6f 64 65 20 23 5b 6e |as 'tex-|mode #[n|
|00001a70| 69 6c 20 22 c0 89 89 19 | 1a 1b 8a 65 62 88 c4 c5 |il "....|...eb...|
|00001a80| c0 c6 23 89 12 83 27 00 | 60 1e 07 8a c8 79 88 c4 |..#...'.|`....y..|
|00001a90| c9 0e 07 c6 23 2a 89 11 | 84 5c 6e 00 5c 6e 83 45 |....#*..|.\n.\n.E|
|00001aa0| 00 09 84 45 00 ca cb 21 | 83 43 00 ca cc 21 83 3f |...E...!|.C...!.?|
|00001ab0| 00 cd 82 44 00 ce 82 44 | 00 cf 13 29 0b 83 4f 00 |...D...D|...)..O.|
|00001ac0| 0b 20 82 52 00 0e 10 20 | 2b 87 22 20 5b 6e 69 6c |. .R... |+." [nil|
|00001ad0| 20 63 6f 6d 6d 65 6e 74 | 20 73 6c 61 73 68 20 6d | comment| slash m|
|00001ae0| 6f 64 65 20 73 65 61 72 | 63 68 2d 66 6f 72 77 61 |ode sear|ch-forwa|
|00001af0| 72 64 20 22 5c 5c 22 20 | 74 20 73 65 61 72 63 68 |rd "\\" |t search|
|00001b00| 2d 65 6e 64 20 30 20 22 | 25 22 20 6c 6f 6f 6b 69 |-end 0 "|%" looki|
|00001b10| 6e 67 2d 61 74 20 22 64 | 6f 63 75 6d 65 6e 74 73 |ng-at "d|ocuments|
|00001b20| 74 79 6c 65 22 20 22 64 | 6f 63 75 6d 65 6e 74 73 |tyle" "d|ocuments|
|00001b30| 74 79 6c 65 7b 73 6c 69 | 64 65 73 7d 22 20 73 6c |tyle{sli|des}" sl|
|00001b40| 69 74 65 78 2d 6d 6f 64 | 65 20 6c 61 74 65 78 2d |itex-mod|e latex-|
|00001b50| 6d 6f 64 65 20 70 6c 61 | 69 6e 2d 74 65 78 2d 6d |mode pla|in-tex-m|
|00001b60| 6f 64 65 20 74 65 78 2d | 64 65 66 61 75 6c 74 2d |ode tex-|default-|
|00001b70| 6d 6f 64 65 5d 20 34 20 | 22 5c 0a 4d 61 6a 6f 72 |mode] 4 |"\.Major|
|00001b80| 20 6d 6f 64 65 20 66 6f | 72 20 65 64 69 74 69 6e | mode fo|r editin|
|00001b90| 67 20 66 69 6c 65 73 20 | 6f 66 20 69 6e 70 75 74 |g files |of input|
|00001ba0| 20 66 6f 72 20 54 65 58 | 2c 20 4c 61 54 65 58 2c | for TeX|, LaTeX,|
|00001bb0| 20 6f 72 20 53 6c 69 54 | 65 58 2e 0a 54 72 69 65 | or SliT|eX..Trie|
|00001bc0| 73 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 28 |s to det|ermine (|
|00001bd0| 62 79 20 6c 6f 6f 6b 69 | 6e 67 20 61 74 20 74 68 |by looki|ng at th|
|00001be0| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 74 |e beginn|ing of t|
|00001bf0| 68 65 20 66 69 6c 65 29 | 20 77 68 65 74 68 65 72 |he file)| whether|
|00001c00| 0a 74 68 69 73 20 66 69 | 6c 65 20 69 73 20 66 6f |.this fi|le is fo|
|00001c10| 72 20 70 6c 61 69 6e 20 | 54 65 58 2c 20 4c 61 54 |r plain |TeX, LaT|
|00001c20| 65 58 2c 20 6f 72 20 53 | 6c 69 54 65 58 20 61 6e |eX, or S|liTeX an|
|00001c30| 64 20 63 61 6c 6c 73 20 | 70 6c 61 69 6e 2d 74 65 |d calls |plain-te|
|00001c40| 78 2d 6d 6f 64 65 2c 0a | 6c 61 74 65 78 2d 6d 6f |x-mode,.|latex-mo|
|00001c50| 64 65 2c 20 6f 72 20 73 | 6c 69 74 65 78 2d 6d 6f |de, or s|litex-mo|
|00001c60| 64 65 2c 20 72 65 73 70 | 65 63 74 69 76 65 6c 79 |de, resp|ectively|
|00001c70| 2e 20 20 49 66 20 69 74 | 20 63 61 6e 6e 6f 74 20 |. If it| cannot |
|00001c80| 62 65 20 64 65 74 65 72 | 6d 69 6e 65 64 2c 0a 73 |be deter|mined,.s|
|00001c90| 75 63 68 20 61 73 20 69 | 66 20 74 68 65 72 65 20 |uch as i|f there |
|00001ca0| 61 72 65 20 6e 6f 20 63 | 6f 6d 6d 61 6e 64 73 20 |are no c|ommands |
|00001cb0| 69 6e 20 74 68 65 20 66 | 69 6c 65 2c 20 74 68 65 |in the f|ile, the|
|00001cc0| 20 76 61 6c 75 65 20 6f | 66 20 74 65 78 2d 64 65 | value o|f tex-de|
|00001cd0| 66 61 75 6c 74 2d 6d 6f | 64 65 0a 69 73 20 75 73 |fault-mo|de.is us|
|00001ce0| 65 64 2e 22 20 6e 69 6c | 5d 29 0a 28 62 79 74 65 |ed." nil|]).(byte|
|00001cf0| 2d 63 6f 64 65 20 22 c0 | c1 c2 5c 22 88 c0 c3 c4 |-code ".|..\"....|
|00001d00| 5c 22 87 22 20 5b 64 65 | 66 61 6c 69 61 73 20 54 |\"." [de|falias T|
|00001d10| 65 58 2d 6d 6f 64 65 20 | 74 65 78 2d 6d 6f 64 65 |eX-mode |tex-mode|
|00001d20| 20 4c 61 54 65 58 2d 6d | 6f 64 65 20 6c 61 74 65 | LaTeX-m|ode late|
|00001d30| 78 2d 6d 6f 64 65 5d 20 | 33 29 0a 28 64 65 66 61 |x-mode] |3).(defa|
|00001d40| 6c 69 61 73 20 27 70 6c | 61 69 6e 2d 74 65 78 2d |lias 'pl|ain-tex-|
|00001d50| 6d 6f 64 65 20 23 5b 6e | 69 6c 20 22 c0 20 88 c1 |mode #[n|il ". ..|
|00001d60| 12 c3 14 0d 16 06 c7 16 | 08 c9 16 5c 6e cb 16 0c |........|...\n...|
|00001d70| cd ce cf d0 23 87 22 20 | 5b 74 65 78 2d 63 6f 6d |....#." |[tex-com|
|00001d80| 6d 6f 6e 2d 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |mon-init|ializati|
|00001d90| 6f 6e 20 22 54 65 58 22 | 20 6d 6f 64 65 2d 6e 61 |on "TeX"| mode-na|
|00001da0| 6d 65 20 70 6c 61 69 6e | 2d 74 65 78 2d 6d 6f 64 |me plain|-tex-mod|
|00001db0| 65 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 74 65 78 |e major-|mode tex|
|00001dc0| 2d 72 75 6e 2d 63 6f 6d | 6d 61 6e 64 20 74 65 78 |-run-com|mand tex|
|00001dd0| 2d 63 6f 6d 6d 61 6e 64 | 20 22 25 2a 2a 73 74 61 |-command| "%**sta|
|00001de0| 72 74 20 6f 66 20 68 65 | 61 64 65 72 22 20 74 65 |rt of he|ader" te|
|00001df0| 78 2d 73 74 61 72 74 2d | 6f 66 2d 68 65 61 64 65 |x-start-|of-heade|
|00001e00| 72 20 22 25 2a 2a 65 6e | 64 20 6f 66 20 68 65 61 |r "%**en|d of hea|
|00001e10| 64 65 72 22 20 74 65 78 | 2d 65 6e 64 2d 6f 66 2d |der" tex|-end-of-|
|00001e20| 68 65 61 64 65 72 20 22 | 5c 5c 62 79 65 5c 6e 22 |header "|\\bye\n"|
|00001e30| 20 74 65 78 2d 74 72 61 | 69 6c 65 72 20 72 75 6e | tex-tra|iler run|
|00001e40| 2d 68 6f 6f 6b 73 20 74 | 65 78 74 2d 6d 6f 64 65 |-hooks t|ext-mode|
|00001e50| 2d 68 6f 6f 6b 20 74 65 | 78 2d 6d 6f 64 65 2d 68 |-hook te|x-mode-h|
|00001e60| 6f 6f 6b 20 70 6c 61 69 | 6e 2d 74 65 78 2d 6d 6f |ook plai|n-tex-mo|
|00001e70| 64 65 2d 68 6f 6f 6b 5d | 20 34 20 22 5c 0a 4d 61 |de-hook]| 4 "\.Ma|
|00001e80| 6a 6f 72 20 6d 6f 64 65 | 20 66 6f 72 20 65 64 69 |jor mode| for edi|
|00001e90| 74 69 6e 67 20 66 69 6c | 65 73 20 6f 66 20 69 6e |ting fil|es of in|
|00001ea0| 70 75 74 20 66 6f 72 20 | 70 6c 61 69 6e 20 54 65 |put for |plain Te|
|00001eb0| 58 2e 0a 4d 61 6b 65 73 | 20 24 20 61 6e 64 20 7d |X..Makes| $ and }|
|00001ec0| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 63 68 61 | display| the cha|
|00001ed0| 72 61 63 74 65 72 73 20 | 74 68 65 79 20 6d 61 74 |racters |they mat|
|00001ee0| 63 68 2e 0a 4d 61 6b 65 | 73 20 5c 22 20 69 6e 73 |ch..Make|s \" ins|
|00001ef0| 65 72 74 20 60 60 20 77 | 68 65 6e 20 69 74 20 73 |ert `` w|hen it s|
|00001f00| 65 65 6d 73 20 74 6f 20 | 62 65 20 74 68 65 20 62 |eems to |be the b|
|00001f10| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 61 20 71 75 |eginning| of a qu|
|00001f20| 6f 74 61 74 69 6f 6e 2c | 0a 61 6e 64 20 27 27 20 |otation,|.and '' |
|00001f30| 77 68 65 6e 20 69 74 20 | 61 70 70 65 61 72 73 20 |when it |appears |
|00001f40| 74 6f 20 62 65 20 74 68 | 65 20 65 6e 64 3b 20 69 |to be th|e end; i|
|00001f50| 74 20 69 6e 73 65 72 74 | 73 20 5c 22 20 6f 6e 6c |t insert|s \" onl|
|00001f60| 79 20 61 66 74 65 72 20 | 61 20 5c 5c 2e 0a 0a 55 |y after |a \\...U|
|00001f70| 73 65 20 5c 5c 5b 74 65 | 78 2d 72 65 67 69 6f 6e |se \\[te|x-region|
|00001f80| 5d 20 74 6f 20 72 75 6e | 20 54 65 58 20 6f 6e 20 |] to run| TeX on |
|00001f90| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|00001fa0| 6f 6e 2c 20 70 6c 75 73 | 20 61 20 5c 22 68 65 61 |on, plus| a \"hea|
|00001fb0| 64 65 72 5c 22 0a 63 6f | 70 69 65 64 20 66 72 6f |der\".co|pied fro|
|00001fc0| 6d 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |m the to|p of the|
|00001fd0| 20 66 69 6c 65 20 28 63 | 6f 6e 74 61 69 6e 69 6e | file (c|ontainin|
|00001fe0| 67 20 6d 61 63 72 6f 20 | 64 65 66 69 6e 69 74 69 |g macro |definiti|
|00001ff0| 6f 6e 73 2c 20 65 74 63 | 2e 29 2c 0a 72 75 6e 6e |ons, etc|.),.runn|
|00002000| 69 6e 67 20 54 65 58 20 | 75 6e 64 65 72 20 61 20 |ing TeX |under a |
|00002010| 73 70 65 63 69 61 6c 20 | 73 75 62 73 68 65 6c 6c |special |subshell|
|00002020| 2e 20 20 5c 5c 5b 74 65 | 78 2d 62 75 66 66 65 72 |. \\[te|x-buffer|
|00002030| 5d 20 64 6f 65 73 20 74 | 68 65 20 77 68 6f 6c 65 |] does t|he whole|
|00002040| 20 62 75 66 66 65 72 2e | 0a 5c 5c 5b 74 65 78 2d | buffer.|.\\[tex-|
|00002050| 66 69 6c 65 5d 20 73 61 | 76 65 73 20 74 68 65 20 |file] sa|ves the |
|00002060| 62 75 66 66 65 72 20 61 | 6e 64 20 74 68 65 6e 20 |buffer a|nd then |
|00002070| 70 72 6f 63 65 73 73 65 | 73 20 74 68 65 20 66 69 |processe|s the fi|
|00002080| 6c 65 2e 0a 5c 5c 5b 74 | 65 78 2d 70 72 69 6e 74 |le..\\[t|ex-print|
|00002090| 5d 20 70 72 69 6e 74 73 | 20 74 68 65 20 2e 64 76 |] prints| the .dv|
|000020a0| 69 20 66 69 6c 65 20 6d | 61 64 65 20 62 79 20 61 |i file m|ade by a|
|000020b0| 6e 79 20 6f 66 20 74 68 | 65 73 65 2e 0a 5c 5c 5b |ny of th|ese..\\[|
|000020c0| 74 65 78 2d 76 69 65 77 | 5d 20 70 72 65 76 69 65 |tex-view|] previe|
|000020d0| 77 73 20 74 68 65 20 2e | 64 76 69 20 66 69 6c 65 |ws the .|dvi file|
|000020e0| 20 6d 61 64 65 20 62 79 | 20 61 6e 79 20 6f 66 20 | made by| any of |
|000020f0| 74 68 65 73 65 2e 0a 5c | 5c 5b 74 65 78 2d 62 69 |these..\|\[tex-bi|
|00002100| 62 74 65 78 2d 66 69 6c | 65 5d 20 72 75 6e 73 20 |btex-fil|e] runs |
|00002110| 62 69 62 74 65 78 20 6f | 6e 20 74 68 65 20 66 69 |bibtex o|n the fi|
|00002120| 6c 65 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |le of th|e curren|
|00002130| 74 20 62 75 66 66 65 72 | 2e 0a 0a 55 73 65 20 5c |t buffer|...Use \|
|00002140| 5c 5b 76 61 6c 69 64 61 | 74 65 2d 74 65 78 2d 62 |\[valida|te-tex-b|
|00002150| 75 66 66 65 72 5d 20 74 | 6f 20 63 68 65 63 6b 20 |uffer] t|o check |
|00002160| 62 75 66 66 65 72 20 66 | 6f 72 20 70 61 72 61 67 |buffer f|or parag|
|00002170| 72 61 70 68 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |raphs co|ntaining|
|00002180| 0a 6d 69 73 6d 61 74 63 | 68 65 64 20 24 27 73 20 |.mismatc|hed $'s |
|00002190| 6f 72 20 62 72 61 63 65 | 73 2e 0a 0a 53 70 65 63 |or brace|s...Spec|
|000021a0| 69 61 6c 20 63 6f 6d 6d | 61 6e 64 73 3a 0a 5c 5c |ial comm|ands:.\\|
|000021b0| 7b 74 65 78 2d 6d 6f 64 | 65 2d 6d 61 70 7d 0a 0a |{tex-mod|e-map}..|
|000021c0| 4d 6f 64 65 20 76 61 72 | 69 61 62 6c 65 73 3a 0a |Mode var|iables:.|
|000021d0| 74 65 78 2d 72 75 6e 2d | 63 6f 6d 6d 61 6e 64 0a |tex-run-|command.|
|000021e0| 09 43 6f 6d 6d 61 6e 64 | 20 73 74 72 69 6e 67 20 |.Command| string |
|000021f0| 75 73 65 64 20 62 79 20 | 5c 5c 5b 74 65 78 2d 72 |used by |\\[tex-r|
|00002200| 65 67 69 6f 6e 5d 20 6f | 72 20 5c 5c 5b 74 65 78 |egion] o|r \\[tex|
|00002210| 2d 62 75 66 66 65 72 5d | 2e 0a 74 65 78 2d 64 69 |-buffer]|..tex-di|
|00002220| 72 65 63 74 6f 72 79 0a | 09 44 69 72 65 63 74 6f |rectory.|.Directo|
|00002230| 72 79 20 69 6e 20 77 68 | 69 63 68 20 74 6f 20 63 |ry in wh|ich to c|
|00002240| 72 65 61 74 65 20 74 65 | 6d 70 6f 72 61 72 79 20 |reate te|mporary |
|00002250| 66 69 6c 65 73 20 66 6f | 72 20 54 65 58 20 6a 6f |files fo|r TeX jo|
|00002260| 62 73 0a 09 72 75 6e 20 | 62 79 20 5c 5c 5b 74 65 |bs..run |by \\[te|
|00002270| 78 2d 72 65 67 69 6f 6e | 5d 20 6f 72 20 5c 5c 5b |x-region|] or \\[|
|00002280| 74 65 78 2d 62 75 66 66 | 65 72 5d 2e 0a 74 65 78 |tex-buff|er]..tex|
|00002290| 2d 64 76 69 2d 70 72 69 | 6e 74 2d 63 6f 6d 6d 61 |-dvi-pri|nt-comma|
|000022a0| 6e 64 0a 09 43 6f 6d 6d | 61 6e 64 20 73 74 72 69 |nd..Comm|and stri|
|000022b0| 6e 67 20 75 73 65 64 20 | 62 79 20 5c 5c 5b 74 65 |ng used |by \\[te|
|000022c0| 78 2d 70 72 69 6e 74 5d | 20 74 6f 20 70 72 69 6e |x-print]| to prin|
|000022d0| 74 20 61 20 2e 64 76 69 | 20 66 69 6c 65 2e 0a 74 |t a .dvi| file..t|
|000022e0| 65 78 2d 61 6c 74 2d 64 | 76 69 2d 70 72 69 6e 74 |ex-alt-d|vi-print|
|000022f0| 2d 63 6f 6d 6d 61 6e 64 | 0a 09 41 6c 74 65 72 6e |-command|..Altern|
|00002300| 61 74 69 76 65 20 63 6f | 6d 6d 61 6e 64 20 73 74 |ative co|mmand st|
|00002310| 72 69 6e 67 20 75 73 65 | 64 20 62 79 20 5c 5c 5b |ring use|d by \\[|
|00002320| 74 65 78 2d 70 72 69 6e | 74 5d 20 28 77 68 65 6e |tex-prin|t] (when|
|00002330| 20 67 69 76 65 6e 20 61 | 20 70 72 65 66 69 78 0a | given a| prefix.|
|00002340| 09 61 72 67 75 6d 65 6e | 74 29 20 74 6f 20 70 72 |.argumen|t) to pr|
|00002350| 69 6e 74 20 61 20 2e 64 | 76 69 20 66 69 6c 65 2e |int a .d|vi file.|
|00002360| 0a 74 65 78 2d 64 76 69 | 2d 76 69 65 77 2d 63 6f |.tex-dvi|-view-co|
|00002370| 6d 6d 61 6e 64 0a 09 43 | 6f 6d 6d 61 6e 64 20 73 |mmand..C|ommand s|
|00002380| 74 72 69 6e 67 20 75 73 | 65 64 20 62 79 20 5c 5c |tring us|ed by \\|
|00002390| 5b 74 65 78 2d 76 69 65 | 77 5d 20 74 6f 20 70 72 |[tex-vie|w] to pr|
|000023a0| 65 76 69 65 77 20 61 20 | 2e 64 76 69 20 66 69 6c |eview a |.dvi fil|
|000023b0| 65 2e 0a 74 65 78 2d 73 | 68 6f 77 2d 71 75 65 75 |e..tex-s|how-queu|
|000023c0| 65 2d 63 6f 6d 6d 61 6e | 64 0a 09 43 6f 6d 6d 61 |e-comman|d..Comma|
|000023d0| 6e 64 20 73 74 72 69 6e | 67 20 75 73 65 64 20 62 |nd strin|g used b|
|000023e0| 79 20 5c 5c 5b 74 65 78 | 2d 73 68 6f 77 2d 70 72 |y \\[tex|-show-pr|
|000023f0| 69 6e 74 2d 71 75 65 75 | 65 5d 20 74 6f 20 73 68 |int-queu|e] to sh|
|00002400| 6f 77 20 74 68 65 20 70 | 72 69 6e 74 0a 09 71 75 |ow the p|rint..qu|
|00002410| 65 75 65 20 74 68 61 74 | 20 5c 5c 5b 74 65 78 2d |eue that| \\[tex-|
|00002420| 70 72 69 6e 74 5d 20 70 | 75 74 20 79 6f 75 72 20 |print] p|ut your |
|00002430| 6a 6f 62 20 6f 6e 2e 0a | 0a 45 6e 74 65 72 69 6e |job on..|.Enterin|
|00002440| 67 20 50 6c 61 69 6e 2d | 74 65 78 20 6d 6f 64 65 |g Plain-|tex mode|
|00002450| 20 63 61 6c 6c 73 20 74 | 68 65 20 76 61 6c 75 65 | calls t|he value|
|00002460| 20 6f 66 20 60 74 65 78 | 74 2d 6d 6f 64 65 2d 68 | of `tex|t-mode-h|
|00002470| 6f 6f 6b 27 2c 20 74 68 | 65 6e 20 74 68 65 20 76 |ook', th|en the v|
|00002480| 61 6c 75 65 0a 6f 66 20 | 60 74 65 78 2d 6d 6f 64 |alue.of |`tex-mod|
|00002490| 65 2d 68 6f 6f 6b 27 2c | 20 61 6e 64 20 74 68 65 |e-hook',| and the|
|000024a0| 6e 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 60 |n the va|lue of `|
|000024b0| 70 6c 61 69 6e 2d 74 65 | 78 2d 6d 6f 64 65 2d 68 |plain-te|x-mode-h|
|000024c0| 6f 6f 6b 27 2e 20 20 57 | 68 65 6e 20 74 68 65 0a |ook'. W|hen the.|
|000024d0| 73 70 65 63 69 61 6c 20 | 73 75 62 73 68 65 6c 6c |special |subshell|
|000024e0| 20 69 73 20 69 6e 69 74 | 69 61 74 65 64 2c 20 74 | is init|iated, t|
|000024f0| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 60 74 65 78 |he value| of `tex|
|00002500| 2d 73 68 65 6c 6c 2d 68 | 6f 6f 6b 27 20 69 73 20 |-shell-h|ook' is |
|00002510| 63 61 6c 6c 65 64 2e 22 | 20 6e 69 6c 5d 29 0a 28 |called."| nil]).(|
|00002520| 64 65 66 61 6c 69 61 73 | 20 28 71 75 6f 74 65 20 |defalias| (quote |
|00002530| 70 6c 61 69 6e 2d 54 65 | 58 2d 6d 6f 64 65 29 20 |plain-Te|X-mode) |
|00002540| 28 71 75 6f 74 65 20 70 | 6c 61 69 6e 2d 74 65 78 |(quote p|lain-tex|
|00002550| 2d 6d 6f 64 65 29 29 0a | 28 64 65 66 61 6c 69 61 |-mode)).|(defalia|
|00002560| 73 20 27 6c 61 74 65 78 | 2d 6d 6f 64 65 20 23 5b |s 'latex|-mode #[|
|00002570| 6e 69 6c 20 22 c0 20 88 | c1 12 c3 14 0d 16 06 c7 |nil ". .|........|
|00002580| 16 08 c9 16 5c 6e cb 16 | 0c cd ce cf d0 23 87 22 |....\n..|.....#."|
|00002590| 20 5b 74 65 78 2d 63 6f | 6d 6d 6f 6e 2d 69 6e 69 | [tex-co|mmon-ini|
|000025a0| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 22 4c 61 54 |tializat|ion "LaT|
|000025b0| 65 58 22 20 6d 6f 64 65 | 2d 6e 61 6d 65 20 6c 61 |eX" mode|-name la|
|000025c0| 74 65 78 2d 6d 6f 64 65 | 20 6d 61 6a 6f 72 2d 6d |tex-mode| major-m|
|000025d0| 6f 64 65 20 6c 61 74 65 | 78 2d 72 75 6e 2d 63 6f |ode late|x-run-co|
|000025e0| 6d 6d 61 6e 64 20 74 65 | 78 2d 63 6f 6d 6d 61 6e |mmand te|x-comman|
|000025f0| 64 20 22 5c 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 |d "\\doc|umentsty|
|00002600| 6c 65 22 20 74 65 78 2d | 73 74 61 72 74 2d 6f 66 |le" tex-|start-of|
|00002610| 2d 68 65 61 64 65 72 20 | 22 5c 5c 62 65 67 69 6e |-header |"\\begin|
|00002620| 7b 64 6f 63 75 6d 65 6e | 74 7d 22 20 74 65 78 2d |{documen|t}" tex-|
|00002630| 65 6e 64 2d 6f 66 2d 68 | 65 61 64 65 72 20 22 5c |end-of-h|eader "\|
|00002640| 5c 65 6e 64 7b 64 6f 63 | 75 6d 65 6e 74 7d 5c 6e |\end{doc|ument}\n|
|00002650| 22 20 74 65 78 2d 74 72 | 61 69 6c 65 72 20 72 75 |" tex-tr|ailer ru|
|00002660| 6e 2d 68 6f 6f 6b 73 20 | 74 65 78 74 2d 6d 6f 64 |n-hooks |text-mod|
|00002670| 65 2d 68 6f 6f 6b 20 74 | 65 78 2d 6d 6f 64 65 2d |e-hook t|ex-mode-|
|00002680| 68 6f 6f 6b 20 6c 61 74 | 65 78 2d 6d 6f 64 65 2d |hook lat|ex-mode-|
|00002690| 68 6f 6f 6b 5d 20 34 20 | 22 5c 0a 4d 61 6a 6f 72 |hook] 4 |"\.Major|
|000026a0| 20 6d 6f 64 65 20 66 6f | 72 20 65 64 69 74 69 6e | mode fo|r editin|
|000026b0| 67 20 66 69 6c 65 73 20 | 6f 66 20 69 6e 70 75 74 |g files |of input|
|000026c0| 20 66 6f 72 20 4c 61 54 | 65 58 2e 0a 4d 61 6b 65 | for LaT|eX..Make|
|000026d0| 73 20 24 20 61 6e 64 20 | 7d 20 64 69 73 70 6c 61 |s $ and |} displa|
|000026e0| 79 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |y the ch|aracters|
|000026f0| 20 74 68 65 79 20 6d 61 | 74 63 68 2e 0a 4d 61 6b | they ma|tch..Mak|
|00002700| 65 73 20 5c 22 20 69 6e | 73 65 72 74 20 60 60 20 |es \" in|sert `` |
|00002710| 77 68 65 6e 20 69 74 20 | 73 65 65 6d 73 20 74 6f |when it |seems to|
|00002720| 20 62 65 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | be the |beginnin|
|00002730| 67 20 6f 66 20 61 20 71 | 75 6f 74 61 74 69 6f 6e |g of a q|uotation|
|00002740| 2c 0a 61 6e 64 20 27 27 | 20 77 68 65 6e 20 69 74 |,.and ''| when it|
|00002750| 20 61 70 70 65 61 72 73 | 20 74 6f 20 62 65 20 74 | appears| to be t|
|00002760| 68 65 20 65 6e 64 3b 20 | 69 74 20 69 6e 73 65 72 |he end; |it inser|
|00002770| 74 73 20 5c 22 20 6f 6e | 6c 79 20 61 66 74 65 72 |ts \" on|ly after|
|00002780| 20 61 20 5c 5c 2e 0a 0a | 55 73 65 20 5c 5c 5b 74 | a \\...|Use \\[t|
|00002790| 65 78 2d 72 65 67 69 6f | 6e 5d 20 74 6f 20 72 75 |ex-regio|n] to ru|
|000027a0| 6e 20 4c 61 54 65 58 20 | 6f 6e 20 74 68 65 20 63 |n LaTeX |on the c|
|000027b0| 75 72 72 65 6e 74 20 72 | 65 67 69 6f 6e 2c 20 70 |urrent r|egion, p|
|000027c0| 6c 75 73 20 74 68 65 20 | 70 72 65 61 6d 62 6c 65 |lus the |preamble|
|000027d0| 0a 63 6f 70 69 65 64 20 | 66 72 6f 6d 20 74 68 65 |.copied |from the|
|000027e0| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 66 69 6c 65 | top of |the file|
|000027f0| 20 28 63 6f 6e 74 61 69 | 6e 69 6e 67 20 5c 5c 64 | (contai|ning \\d|
|00002800| 6f 63 75 6d 65 6e 74 73 | 74 79 6c 65 2c 20 65 74 |ocuments|tyle, et|
|00002810| 63 2e 29 2c 0a 72 75 6e | 6e 69 6e 67 20 4c 61 54 |c.),.run|ning LaT|
|00002820| 65 58 20 75 6e 64 65 72 | 20 61 20 73 70 65 63 69 |eX under| a speci|
|00002830| 61 6c 20 73 75 62 73 68 | 65 6c 6c 2e 20 20 5c 5c |al subsh|ell. \\|
|00002840| 5b 74 65 78 2d 62 75 66 | 66 65 72 5d 20 64 6f 65 |[tex-buf|fer] doe|
|00002850| 73 20 74 68 65 20 77 68 | 6f 6c 65 20 62 75 66 66 |s the wh|ole buff|
|00002860| 65 72 2e 0a 5c 5c 5b 74 | 65 78 2d 66 69 6c 65 5d |er..\\[t|ex-file]|
|00002870| 20 73 61 76 65 73 20 74 | 68 65 20 62 75 66 66 65 | saves t|he buffe|
|00002880| 72 20 61 6e 64 20 74 68 | 65 6e 20 70 72 6f 63 65 |r and th|en proce|
|00002890| 73 73 65 73 20 74 68 65 | 20 66 69 6c 65 2e 0a 5c |sses the| file..\|
|000028a0| 5c 5b 74 65 78 2d 70 72 | 69 6e 74 5d 20 70 72 69 |\[tex-pr|int] pri|
|000028b0| 6e 74 73 20 74 68 65 20 | 2e 64 76 69 20 66 69 6c |nts the |.dvi fil|
|000028c0| 65 20 6d 61 64 65 20 62 | 79 20 61 6e 79 20 6f 66 |e made b|y any of|
|000028d0| 20 74 68 65 73 65 2e 0a | 5c 5c 5b 74 65 78 2d 76 | these..|\\[tex-v|
|000028e0| 69 65 77 5d 20 70 72 65 | 76 69 65 77 73 20 74 68 |iew] pre|views th|
|000028f0| 65 20 2e 64 76 69 20 66 | 69 6c 65 20 6d 61 64 65 |e .dvi f|ile made|
|00002900| 20 62 79 20 61 6e 79 20 | 6f 66 20 74 68 65 73 65 | by any |of these|
|00002910| 2e 0a 5c 5c 5b 74 65 78 | 2d 62 69 62 74 65 78 2d |..\\[tex|-bibtex-|
|00002920| 66 69 6c 65 5d 20 72 75 | 6e 73 20 62 69 62 74 65 |file] ru|ns bibte|
|00002930| 78 20 6f 6e 20 74 68 65 | 20 66 69 6c 65 20 6f 66 |x on the| file of|
|00002940| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 62 75 66 | the cur|rent buf|
|00002950| 66 65 72 2e 0a 0a 55 73 | 65 20 5c 5c 5b 76 61 6c |fer...Us|e \\[val|
|00002960| 69 64 61 74 65 2d 74 65 | 78 2d 62 75 66 66 65 72 |idate-te|x-buffer|
|00002970| 5d 20 74 6f 20 63 68 65 | 63 6b 20 62 75 66 66 65 |] to che|ck buffe|
|00002980| 72 20 66 6f 72 20 70 61 | 72 61 67 72 61 70 68 73 |r for pa|ragraphs|
|00002990| 20 63 6f 6e 74 61 69 6e | 69 6e 67 0a 6d 69 73 6d | contain|ing.mism|
|000029a0| 61 74 63 68 65 64 20 24 | 27 73 20 6f 72 20 62 72 |atched $|'s or br|
|000029b0| 61 63 65 73 2e 0a 0a 53 | 70 65 63 69 61 6c 20 63 |aces...S|pecial c|
|000029c0| 6f 6d 6d 61 6e 64 73 3a | 0a 5c 5c 7b 74 65 78 2d |ommands:|.\\{tex-|
|000029d0| 6d 6f 64 65 2d 6d 61 70 | 7d 0a 0a 4d 6f 64 65 20 |mode-map|}..Mode |
|000029e0| 76 61 72 69 61 62 6c 65 | 73 3a 0a 6c 61 74 65 78 |variable|s:.latex|
|000029f0| 2d 72 75 6e 2d 63 6f 6d | 6d 61 6e 64 0a 09 43 6f |-run-com|mand..Co|
|00002a00| 6d 6d 61 6e 64 20 73 74 | 72 69 6e 67 20 75 73 65 |mmand st|ring use|
|00002a10| 64 20 62 79 20 5c 5c 5b | 74 65 78 2d 72 65 67 69 |d by \\[|tex-regi|
|00002a20| 6f 6e 5d 20 6f 72 20 5c | 5c 5b 74 65 78 2d 62 75 |on] or \|\[tex-bu|
|00002a30| 66 66 65 72 5d 2e 0a 74 | 65 78 2d 64 69 72 65 63 |ffer]..t|ex-direc|
|00002a40| 74 6f 72 79 0a 09 44 69 | 72 65 63 74 6f 72 79 20 |tory..Di|rectory |
|00002a50| 69 6e 20 77 68 69 63 68 | 20 74 6f 20 63 72 65 61 |in which| to crea|
|00002a60| 74 65 20 74 65 6d 70 6f | 72 61 72 79 20 66 69 6c |te tempo|rary fil|
|00002a70| 65 73 20 66 6f 72 20 4c | 61 54 65 58 20 6a 6f 62 |es for L|aTeX job|
|00002a80| 73 0a 09 72 75 6e 20 62 | 79 20 5c 5c 5b 74 65 78 |s..run b|y \\[tex|
|00002a90| 2d 72 65 67 69 6f 6e 5d | 20 6f 72 20 5c 5c 5b 74 |-region]| or \\[t|
|00002aa0| 65 78 2d 62 75 66 66 65 | 72 5d 2e 0a 74 65 78 2d |ex-buffe|r]..tex-|
|00002ab0| 64 76 69 2d 70 72 69 6e | 74 2d 63 6f 6d 6d 61 6e |dvi-prin|t-comman|
|00002ac0| 64 0a 09 43 6f 6d 6d 61 | 6e 64 20 73 74 72 69 6e |d..Comma|nd strin|
|00002ad0| 67 20 75 73 65 64 20 62 | 79 20 5c 5c 5b 74 65 78 |g used b|y \\[tex|
|00002ae0| 2d 70 72 69 6e 74 5d 20 | 74 6f 20 70 72 69 6e 74 |-print] |to print|
|00002af0| 20 61 20 2e 64 76 69 20 | 66 69 6c 65 2e 0a 74 65 | a .dvi |file..te|
|00002b00| 78 2d 61 6c 74 2d 64 76 | 69 2d 70 72 69 6e 74 2d |x-alt-dv|i-print-|
|00002b10| 63 6f 6d 6d 61 6e 64 0a | 09 41 6c 74 65 72 6e 61 |command.|.Alterna|
|00002b20| 74 69 76 65 20 63 6f 6d | 6d 61 6e 64 20 73 74 72 |tive com|mand str|
|00002b30| 69 6e 67 20 75 73 65 64 | 20 62 79 20 5c 5c 5b 74 |ing used| by \\[t|
|00002b40| 65 78 2d 70 72 69 6e 74 | 5d 20 28 77 68 65 6e 20 |ex-print|] (when |
|00002b50| 67 69 76 65 6e 20 61 20 | 70 72 65 66 69 78 0a 09 |given a |prefix..|
|00002b60| 61 72 67 75 6d 65 6e 74 | 29 20 74 6f 20 70 72 69 |argument|) to pri|
|00002b70| 6e 74 20 61 20 2e 64 76 | 69 20 66 69 6c 65 2e 0a |nt a .dv|i file..|
|00002b80| 74 65 78 2d 64 76 69 2d | 76 69 65 77 2d 63 6f 6d |tex-dvi-|view-com|
|00002b90| 6d 61 6e 64 0a 09 43 6f | 6d 6d 61 6e 64 20 73 74 |mand..Co|mmand st|
|00002ba0| 72 69 6e 67 20 75 73 65 | 64 20 62 79 20 5c 5c 5b |ring use|d by \\[|
|00002bb0| 74 65 78 2d 76 69 65 77 | 5d 20 74 6f 20 70 72 65 |tex-view|] to pre|
|00002bc0| 76 69 65 77 20 61 20 2e | 64 76 69 20 66 69 6c 65 |view a .|dvi file|
|00002bd0| 2e 0a 74 65 78 2d 73 68 | 6f 77 2d 71 75 65 75 65 |..tex-sh|ow-queue|
|00002be0| 2d 63 6f 6d 6d 61 6e 64 | 0a 09 43 6f 6d 6d 61 6e |-command|..Comman|
|00002bf0| 64 20 73 74 72 69 6e 67 | 20 75 73 65 64 20 62 79 |d string| used by|
|00002c00| 20 5c 5c 5b 74 65 78 2d | 73 68 6f 77 2d 70 72 69 | \\[tex-|show-pri|
|00002c10| 6e 74 2d 71 75 65 75 65 | 5d 20 74 6f 20 73 68 6f |nt-queue|] to sho|
|00002c20| 77 20 74 68 65 20 70 72 | 69 6e 74 0a 09 71 75 65 |w the pr|int..que|
|00002c30| 75 65 20 74 68 61 74 20 | 5c 5c 5b 74 65 78 2d 70 |ue that |\\[tex-p|
|00002c40| 72 69 6e 74 5d 20 70 75 | 74 20 79 6f 75 72 20 6a |rint] pu|t your j|
|00002c50| 6f 62 20 6f 6e 2e 0a 0a | 45 6e 74 65 72 69 6e 67 |ob on...|Entering|
|00002c60| 20 4c 61 74 65 78 20 6d | 6f 64 65 20 63 61 6c 6c | Latex m|ode call|
|00002c70| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |s the va|lue of t|
|00002c80| 65 78 74 2d 6d 6f 64 65 | 2d 68 6f 6f 6b 2c 20 74 |ext-mode|-hook, t|
|00002c90| 68 65 6e 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |hen the |value of|
|00002ca0| 0a 74 65 78 2d 6d 6f 64 | 65 2d 68 6f 6f 6b 2c 20 |.tex-mod|e-hook, |
|00002cb0| 61 6e 64 20 74 68 65 6e | 20 74 68 65 20 76 61 6c |and then| the val|
|00002cc0| 75 65 20 6f 66 20 6c 61 | 74 65 78 2d 6d 6f 64 65 |ue of la|tex-mode|
|00002cd0| 2d 68 6f 6f 6b 2e 20 20 | 57 68 65 6e 20 74 68 65 |-hook. |When the|
|00002ce0| 20 73 70 65 63 69 61 6c | 0a 73 75 62 73 68 65 6c | special|.subshel|
|00002cf0| 6c 20 69 73 20 69 6e 69 | 74 69 61 74 65 64 2c 20 |l is ini|tiated, |
|00002d00| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 65 78 |the valu|e of tex|
|00002d10| 2d 73 68 65 6c 6c 2d 68 | 6f 6f 6b 20 69 73 20 63 |-shell-h|ook is c|
|00002d20| 61 6c 6c 65 64 2e 22 20 | 6e 69 6c 5d 29 0a 28 64 |alled." |nil]).(d|
|00002d30| 65 66 61 6c 69 61 73 20 | 27 73 6c 69 74 65 78 2d |efalias |'slitex-|
|00002d40| 6d 6f 64 65 20 23 5b 6e | 69 6c 20 22 c0 20 88 c1 |mode #[n|il ". ..|
|00002d50| 12 c3 14 0d 16 06 c7 16 | 08 c9 16 5c 6e cb 16 0c |........|...\n...|
|00002d60| cd ce cf d0 d1 24 87 22 | 20 5b 74 65 78 2d 63 6f |.....$."| [tex-co|
|00002d70| 6d 6d 6f 6e 2d 69 6e 69 | 74 69 61 6c 69 7a 61 74 |mmon-ini|tializat|
|00002d80| 69 6f 6e 20 22 53 6c 69 | 54 65 58 22 20 6d 6f 64 |ion "Sli|TeX" mod|
|00002d90| 65 2d 6e 61 6d 65 20 73 | 6c 69 74 65 78 2d 6d 6f |e-name s|litex-mo|
|00002da0| 64 65 20 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 73 6c |de major|-mode sl|
|00002db0| 69 74 65 78 2d 72 75 6e | 2d 63 6f 6d 6d 61 6e 64 |itex-run|-command|
|00002dc0| 20 74 65 78 2d 63 6f 6d | 6d 61 6e 64 20 22 5c 5c | tex-com|mand "\\|
|00002dd0| 64 6f 63 75 6d 65 6e 74 | 73 74 79 6c 65 7b 73 6c |document|style{sl|
|00002de0| 69 64 65 73 7d 22 20 74 | 65 78 2d 73 74 61 72 74 |ides}" t|ex-start|
|00002df0| 2d 6f 66 2d 68 65 61 64 | 65 72 20 22 5c 5c 62 65 |-of-head|er "\\be|
|00002e00| 67 69 6e 7b 64 6f 63 75 | 6d 65 6e 74 7d 22 20 74 |gin{docu|ment}" t|
|00002e10| 65 78 2d 65 6e 64 2d 6f | 66 2d 68 65 61 64 65 72 |ex-end-o|f-header|
|00002e20| 20 22 5c 5c 65 6e 64 7b | 64 6f 63 75 6d 65 6e 74 | "\\end{|document|
|00002e30| 7d 5c 6e 22 20 74 65 78 | 2d 74 72 61 69 6c 65 72 |}\n" tex|-trailer|
|00002e40| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 74 65 78 74 2d | run-hoo|ks text-|
|00002e50| 6d 6f 64 65 2d 68 6f 6f | 6b 20 74 65 78 2d 6d 6f |mode-hoo|k tex-mo|
|00002e60| 64 65 2d 68 6f 6f 6b 20 | 6c 61 74 65 78 2d 6d 6f |de-hook |latex-mo|
|00002e70| 64 65 2d 68 6f 6f 6b 20 | 73 6c 69 74 65 78 2d 6d |de-hook |slitex-m|
|00002e80| 6f 64 65 2d 68 6f 6f 6b | 5d 20 35 20 22 5c 0a 4d |ode-hook|] 5 "\.M|
|00002e90| 61 6a 6f 72 20 6d 6f 64 | 65 20 66 6f 72 20 65 64 |ajor mod|e for ed|
|00002ea0| 69 74 69 6e 67 20 66 69 | 6c 65 73 20 6f 66 20 69 |iting fi|les of i|
|00002eb0| 6e 70 75 74 20 66 6f 72 | 20 53 6c 69 54 65 58 2e |nput for| SliTeX.|
|00002ec0| 0a 4d 61 6b 65 73 20 24 | 20 61 6e 64 20 7d 20 64 |.Makes $| and } d|
|00002ed0| 69 73 70 6c 61 79 20 74 | 68 65 20 63 68 61 72 61 |isplay t|he chara|
|00002ee0| 63 74 65 72 73 20 74 68 | 65 79 20 6d 61 74 63 68 |cters th|ey match|
|00002ef0| 2e 0a 4d 61 6b 65 73 20 | 5c 22 20 69 6e 73 65 72 |..Makes |\" inser|
|00002f00| 74 20 60 60 20 77 68 65 | 6e 20 69 74 20 73 65 65 |t `` whe|n it see|
|00002f10| 6d 73 20 74 6f 20 62 65 | 20 74 68 65 20 62 65 67 |ms to be| the beg|
|00002f20| 69 6e 6e 69 6e 67 20 6f | 66 20 61 20 71 75 6f 74 |inning o|f a quot|
|00002f30| 61 74 69 6f 6e 2c 0a 61 | 6e 64 20 27 27 20 77 68 |ation,.a|nd '' wh|
|00002f40| 65 6e 20 69 74 20 61 70 | 70 65 61 72 73 20 74 6f |en it ap|pears to|
|00002f50| 20 62 65 20 74 68 65 20 | 65 6e 64 3b 20 69 74 20 | be the |end; it |
|00002f60| 69 6e 73 65 72 74 73 20 | 5c 22 20 6f 6e 6c 79 20 |inserts |\" only |
|00002f70| 61 66 74 65 72 20 61 20 | 5c 5c 2e 0a 0a 55 73 65 |after a |\\...Use|
|00002f80| 20 5c 5c 5b 74 65 78 2d | 72 65 67 69 6f 6e 5d 20 | \\[tex-|region] |
|00002f90| 74 6f 20 72 75 6e 20 53 | 6c 69 54 65 58 20 6f 6e |to run S|liTeX on|
|00002fa0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 72 65 67 | the cur|rent reg|
|00002fb0| 69 6f 6e 2c 20 70 6c 75 | 73 20 74 68 65 20 70 72 |ion, plu|s the pr|
|00002fc0| 65 61 6d 62 6c 65 0a 63 | 6f 70 69 65 64 20 66 72 |eamble.c|opied fr|
|00002fd0| 6f 6d 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |om the t|op of th|
|00002fe0| 65 20 66 69 6c 65 20 28 | 63 6f 6e 74 61 69 6e 69 |e file (|containi|
|00002ff0| 6e 67 20 5c 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 |ng \\doc|umentsty|
|00003000| 6c 65 2c 20 65 74 63 2e | 29 2c 0a 72 75 6e 6e 69 |le, etc.|),.runni|
|00003010| 6e 67 20 53 6c 69 54 65 | 58 20 75 6e 64 65 72 20 |ng SliTe|X under |
|00003020| 61 20 73 70 65 63 69 61 | 6c 20 73 75 62 73 68 65 |a specia|l subshe|
|00003030| 6c 6c 2e 20 20 5c 5c 5b | 74 65 78 2d 62 75 66 66 |ll. \\[|tex-buff|
|00003040| 65 72 5d 20 64 6f 65 73 | 20 74 68 65 20 77 68 6f |er] does| the who|
|00003050| 6c 65 20 62 75 66 66 65 | 72 2e 0a 5c 5c 5b 74 65 |le buffe|r..\\[te|
|00003060| 78 2d 66 69 6c 65 5d 20 | 73 61 76 65 73 20 74 68 |x-file] |saves th|
|00003070| 65 20 62 75 66 66 65 72 | 20 61 6e 64 20 74 68 65 |e buffer| and the|
|00003080| 6e 20 70 72 6f 63 65 73 | 73 65 73 20 74 68 65 20 |n proces|ses the |
|00003090| 66 69 6c 65 2e 0a 5c 5c | 5b 74 65 78 2d 70 72 69 |file..\\|[tex-pri|
|000030a0| 6e 74 5d 20 70 72 69 6e | 74 73 20 74 68 65 20 2e |nt] prin|ts the .|
|000030b0| 64 76 69 20 66 69 6c 65 | 20 6d 61 64 65 20 62 79 |dvi file| made by|
|000030c0| 20 61 6e 79 20 6f 66 20 | 74 68 65 73 65 2e 0a 5c | any of |these..\|
|000030d0| 5c 5b 74 65 78 2d 76 69 | 65 77 5d 20 70 72 65 76 |\[tex-vi|ew] prev|
|000030e0| 69 65 77 73 20 74 68 65 | 20 2e 64 76 69 20 66 69 |iews the| .dvi fi|
|000030f0| 6c 65 20 6d 61 64 65 20 | 62 79 20 61 6e 79 20 6f |le made |by any o|
|00003100| 66 20 74 68 65 73 65 2e | 0a 5c 5c 5b 74 65 78 2d |f these.|.\\[tex-|
|00003110| 62 69 62 74 65 78 2d 66 | 69 6c 65 5d 20 72 75 6e |bibtex-f|ile] run|
|00003120| 73 20 62 69 62 74 65 78 | 20 6f 6e 20 74 68 65 20 |s bibtex| on the |
|00003130| 66 69 6c 65 20 6f 66 20 | 74 68 65 20 63 75 72 72 |file of |the curr|
|00003140| 65 6e 74 20 62 75 66 66 | 65 72 2e 0a 0a 55 73 65 |ent buff|er...Use|
|00003150| 20 5c 5c 5b 76 61 6c 69 | 64 61 74 65 2d 74 65 78 | \\[vali|date-tex|
|00003160| 2d 62 75 66 66 65 72 5d | 20 74 6f 20 63 68 65 63 |-buffer]| to chec|
|00003170| 6b 20 62 75 66 66 65 72 | 20 66 6f 72 20 70 61 72 |k buffer| for par|
|00003180| 61 67 72 61 70 68 73 20 | 63 6f 6e 74 61 69 6e 69 |agraphs |containi|
|00003190| 6e 67 0a 6d 69 73 6d 61 | 74 63 68 65 64 20 24 27 |ng.misma|tched $'|
|000031a0| 73 20 6f 72 20 62 72 61 | 63 65 73 2e 0a 0a 53 70 |s or bra|ces...Sp|
|000031b0| 65 63 69 61 6c 20 63 6f | 6d 6d 61 6e 64 73 3a 0a |ecial co|mmands:.|
|000031c0| 5c 5c 7b 74 65 78 2d 6d | 6f 64 65 2d 6d 61 70 7d |\\{tex-m|ode-map}|
|000031d0| 0a 0a 4d 6f 64 65 20 76 | 61 72 69 61 62 6c 65 73 |..Mode v|ariables|
|000031e0| 3a 0a 73 6c 69 74 65 78 | 2d 72 75 6e 2d 63 6f 6d |:.slitex|-run-com|
|000031f0| 6d 61 6e 64 0a 09 43 6f | 6d 6d 61 6e 64 20 73 74 |mand..Co|mmand st|
|00003200| 72 69 6e 67 20 75 73 65 | 64 20 62 79 20 5c 5c 5b |ring use|d by \\[|
|00003210| 74 65 78 2d 72 65 67 69 | 6f 6e 5d 20 6f 72 20 5c |tex-regi|on] or \|
|00003220| 5c 5b 74 65 78 2d 62 75 | 66 66 65 72 5d 2e 0a 74 |\[tex-bu|ffer]..t|
|00003230| 65 78 2d 64 69 72 65 63 | 74 6f 72 79 0a 09 44 69 |ex-direc|tory..Di|
|00003240| 72 65 63 74 6f 72 79 20 | 69 6e 20 77 68 69 63 68 |rectory |in which|
|00003250| 20 74 6f 20 63 72 65 61 | 74 65 20 74 65 6d 70 6f | to crea|te tempo|
|00003260| 72 61 72 79 20 66 69 6c | 65 73 20 66 6f 72 20 53 |rary fil|es for S|
|00003270| 6c 69 54 65 58 20 6a 6f | 62 73 0a 09 72 75 6e 20 |liTeX jo|bs..run |
|00003280| 62 79 20 5c 5c 5b 74 65 | 78 2d 72 65 67 69 6f 6e |by \\[te|x-region|
|00003290| 5d 20 6f 72 20 5c 5c 5b | 74 65 78 2d 62 75 66 66 |] or \\[|tex-buff|
|000032a0| 65 72 5d 2e 0a 74 65 78 | 2d 64 76 69 2d 70 72 69 |er]..tex|-dvi-pri|
|000032b0| 6e 74 2d 63 6f 6d 6d 61 | 6e 64 0a 09 43 6f 6d 6d |nt-comma|nd..Comm|
|000032c0| 61 6e 64 20 73 74 72 69 | 6e 67 20 75 73 65 64 20 |and stri|ng used |
|000032d0| 62 79 20 5c 5c 5b 74 65 | 78 2d 70 72 69 6e 74 5d |by \\[te|x-print]|
|000032e0| 20 74 6f 20 70 72 69 6e | 74 20 61 20 2e 64 76 69 | to prin|t a .dvi|
|000032f0| 20 66 69 6c 65 2e 0a 74 | 65 78 2d 61 6c 74 2d 64 | file..t|ex-alt-d|
|00003300| 76 69 2d 70 72 69 6e 74 | 2d 63 6f 6d 6d 61 6e 64 |vi-print|-command|
|00003310| 0a 09 41 6c 74 65 72 6e | 61 74 69 76 65 20 63 6f |..Altern|ative co|
|00003320| 6d 6d 61 6e 64 20 73 74 | 72 69 6e 67 20 75 73 65 |mmand st|ring use|
|00003330| 64 20 62 79 20 5c 5c 5b | 74 65 78 2d 70 72 69 6e |d by \\[|tex-prin|
|00003340| 74 5d 20 28 77 68 65 6e | 20 67 69 76 65 6e 20 61 |t] (when| given a|
|00003350| 20 70 72 65 66 69 78 0a | 09 61 72 67 75 6d 65 6e | prefix.|.argumen|
|00003360| 74 29 20 74 6f 20 70 72 | 69 6e 74 20 61 20 2e 64 |t) to pr|int a .d|
|00003370| 76 69 20 66 69 6c 65 2e | 0a 74 65 78 2d 64 76 69 |vi file.|.tex-dvi|
|00003380| 2d 76 69 65 77 2d 63 6f | 6d 6d 61 6e 64 0a 09 43 |-view-co|mmand..C|
|00003390| 6f 6d 6d 61 6e 64 20 73 | 74 72 69 6e 67 20 75 73 |ommand s|tring us|
|000033a0| 65 64 20 62 79 20 5c 5c | 5b 74 65 78 2d 76 69 65 |ed by \\|[tex-vie|
|000033b0| 77 5d 20 74 6f 20 70 72 | 65 76 69 65 77 20 61 20 |w] to pr|eview a |
|000033c0| 2e 64 76 69 20 66 69 6c | 65 2e 0a 74 65 78 2d 73 |.dvi fil|e..tex-s|
|000033d0| 68 6f 77 2d 71 75 65 75 | 65 2d 63 6f 6d 6d 61 6e |how-queu|e-comman|
|000033e0| 64 0a 09 43 6f 6d 6d 61 | 6e 64 20 73 74 72 69 6e |d..Comma|nd strin|
|000033f0| 67 20 75 73 65 64 20 62 | 79 20 5c 5c 5b 74 65 78 |g used b|y \\[tex|
|00003400| 2d 73 68 6f 77 2d 70 72 | 69 6e 74 2d 71 75 65 75 |-show-pr|int-queu|
|00003410| 65 5d 20 74 6f 20 73 68 | 6f 77 20 74 68 65 20 70 |e] to sh|ow the p|
|00003420| 72 69 6e 74 0a 09 71 75 | 65 75 65 20 74 68 61 74 |rint..qu|eue that|
|00003430| 20 5c 5c 5b 74 65 78 2d | 70 72 69 6e 74 5d 20 70 | \\[tex-|print] p|
|00003440| 75 74 20 79 6f 75 72 20 | 6a 6f 62 20 6f 6e 2e 0a |ut your |job on..|
|00003450| 0a 45 6e 74 65 72 69 6e | 67 20 53 6c 69 54 65 58 |.Enterin|g SliTeX|
|00003460| 20 6d 6f 64 65 20 63 61 | 6c 6c 73 20 74 68 65 20 | mode ca|lls the |
|00003470| 76 61 6c 75 65 20 6f 66 | 20 60 74 65 78 74 2d 6d |value of| `text-m|
|00003480| 6f 64 65 2d 68 6f 6f 6b | 27 2c 20 74 68 65 6e 20 |ode-hook|', then |
|00003490| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 0a 60 74 65 |the valu|e of.`te|
|000034a0| 78 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 27 2c 20 74 68 |x-mode-h|ook', th|
|000034b0| 65 6e 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |en the v|alue of |
|000034c0| 60 6c 61 74 65 78 2d 6d | 6f 64 65 2d 68 6f 6f 6b |`latex-m|ode-hook|
|000034d0| 27 2c 20 61 6e 64 20 74 | 68 65 6e 20 74 68 65 20 |', and t|hen the |
|000034e0| 76 61 6c 75 65 20 6f 66 | 0a 60 73 6c 69 74 65 78 |value of|.`slitex|
|000034f0| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 27 2e 20 20 57 68 |-mode-ho|ok'. Wh|
|00003500| 65 6e 20 74 68 65 20 73 | 70 65 63 69 61 6c 20 73 |en the s|pecial s|
|00003510| 75 62 73 68 65 6c 6c 20 | 69 73 20 69 6e 69 74 69 |ubshell |is initi|
|00003520| 61 74 65 64 2c 20 74 68 | 65 20 76 61 6c 75 65 20 |ated, th|e value |
|00003530| 6f 66 0a 60 74 65 78 2d | 73 68 65 6c 6c 2d 68 6f |of.`tex-|shell-ho|
|00003540| 6f 6b 27 20 69 73 20 63 | 61 6c 6c 65 64 2e 22 20 |ok' is c|alled." |
|00003550| 6e 69 6c 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |nil]).(b|yte-code|
|00003560| 20 22 c0 c1 c2 5c 22 88 | c0 c3 c4 5c 22 88 c0 c5 | "...\".|...\"...|
|00003570| c6 5c 22 87 22 20 5b 64 | 65 66 61 6c 69 61 73 20 |.\"." [d|efalias |
|00003580| 74 65 78 2d 63 6f 6d 6d | 6f 6e 2d 69 6e 69 74 69 |tex-comm|on-initi|
|00003590| 61 6c 69 7a 61 74 69 6f | 6e 20 23 5b 6e 69 6c 20 |alizatio|n #[nil |
|000035a0| 22 c0 20 88 c1 5c 6e 21 | 88 0b 14 0d 84 72 00 c6 |". ..\n!|.....r..|
|000035b0| 1e 07 c8 20 15 c9 0d 21 | 88 0e 07 ca 57 83 2d 00 |... ...!|....W.-.|
|000035c0| cb 0e 07 cc 5c 22 88 0e | 07 54 89 16 07 82 19 00 |....\"..|.T......|
|000035d0| cb c6 cd 5c 22 88 cb ce | cf 5c 22 88 cb d0 d1 5c |...\"...|.\"....\|
|000035e0| 22 88 cb d2 d1 5c 22 88 | cb d3 d4 5c 22 88 cb d5 |"....\".|...\"...|
|000035f0| d6 5c 22 88 cb d7 d8 5c | 22 88 cb d9 cc 5c 22 88 |.\"....\|"....\".|
|00003600| cb da cc 5c 22 88 cb db | cc 5c 22 88 cb dc dd 5c |...\"...|.\"....\|
|00003610| 22 88 cb de cf 5c 22 88 | cb df cd 5c 22 88 29 82 |"....\".|...\".).|
|00003620| 76 00 c9 0d 21 88 e0 e1 | 21 88 e2 16 21 e0 e3 21 |v...!...|!...!..!|
|00003630| 88 0e 21 16 23 e0 e4 21 | 88 e5 16 24 e0 e6 21 88 |..!.#..!|...$..!.|
|00003640| e7 16 26 e0 e8 21 88 e9 | 16 28 e0 ea 21 88 eb 16 |..&..!..|.(..!...|
|00003650| 2a e0 ec 21 88 e0 ed 21 | 88 e0 ee 21 88 e0 ef 21 |*..!...!|...!...!|
|00003660| 87 22 20 5b 6b 69 6c 6c | 2d 61 6c 6c 2d 6c 6f 63 |." [kill|-all-loc|
|00003670| 61 6c 2d 76 61 72 69 61 | 62 6c 65 73 20 75 73 65 |al-varia|bles use|
|00003680| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 74 65 78 2d 6d |-local-m|ap tex-m|
|00003690| 6f 64 65 2d 6d 61 70 20 | 74 65 78 74 2d 6d 6f 64 |ode-map |text-mod|
|000036a0| 65 2d 61 62 62 72 65 76 | 2d 74 61 62 6c 65 20 6c |e-abbrev|-table l|
|000036b0| 6f 63 61 6c 2d 61 62 62 | 72 65 76 2d 74 61 62 6c |ocal-abb|rev-tabl|
|000036c0| 65 20 74 65 78 2d 6d 6f | 64 65 2d 73 79 6e 74 61 |e tex-mo|de-synta|
|000036d0| 78 2d 74 61 62 6c 65 20 | 30 20 63 68 61 72 20 6d |x-table |0 char m|
|000036e0| 61 6b 65 2d 73 79 6e 74 | 61 78 2d 74 61 62 6c 65 |ake-synt|ax-table|
|000036f0| 20 73 65 74 2d 73 79 6e | 74 61 78 2d 74 61 62 6c | set-syn|tax-tabl|
|00003700| 65 20 33 32 20 6d 6f 64 | 69 66 79 2d 73 79 6e 74 |e 32 mod|ify-synt|
|00003710| 61 78 2d 65 6e 74 72 79 | 20 22 2e 22 20 22 77 22 |ax-entry| "." "w"|
|00003720| 20 39 20 22 20 22 20 31 | 30 20 22 3e 22 20 31 32 | 9 " " 1|0 ">" 12|
|00003730| 20 33 36 20 22 24 24 22 | 20 33 37 20 22 3c 22 20 | 36 "$$"| 37 "<" |
|00003740| 39 32 20 22 2f 22 20 33 | 34 20 33 38 20 39 35 20 |92 "/" 3|4 38 95 |
|00003750| 36 34 20 22 5f 22 20 31 | 32 36 20 33 39 20 6d 61 |64 "_" 1|26 39 ma|
|00003760| 6b 65 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ke-local|-variabl|
|00003770| 65 20 70 61 72 61 67 72 | 61 70 68 2d 73 74 61 72 |e paragr|aph-star|
|00003780| 74 20 22 5e 5b 20 09 5d | 2a 24 5c 5c 7c 5e 5b 0c |t "^[ .]|*$\\|^[.|
|00003790| 5c 5c 5c 5c 25 5d 22 20 | 70 61 72 61 67 72 61 70 |\\\\%]" |paragrap|
|000037a0| 68 2d 73 65 70 61 72 61 | 74 65 20 63 6f 6d 6d 65 |h-separa|te comme|
|000037b0| 6e 74 2d 73 74 61 72 74 | 20 22 25 22 20 63 6f 6d |nt-start| "%" com|
|000037c0| 6d 65 6e 74 2d 73 74 61 | 72 74 2d 73 6b 69 70 20 |ment-sta|rt-skip |
|000037d0| 22 5c 5c 28 5c 5c 28 5e | 5c 5c 7c 5b 5e 5c 5c 5d |"\\(\\(^|\\|[^\\]|
|000037e0| 5c 5c 29 5c 5c 28 5c 5c | 5c 5c 5c 5c 5c 5c 5c 5c |\\)\\(\\|\\\\\\\\|
|000037f0| 29 2a 5c 5c 29 5c 5c 28 | 25 2b 20 2a 5c 5c 29 22 |)*\\)\\(|%+ *\\)"|
|00003800| 20 63 6f 6d 6d 65 6e 74 | 2d 69 6e 64 65 6e 74 2d | comment|-indent-|
|00003810| 66 75 6e 63 74 69 6f 6e | 20 74 65 78 2d 63 6f 6d |function| tex-com|
|00003820| 6d 65 6e 74 2d 69 6e 64 | 65 6e 74 20 63 6f 6d 70 |ment-ind|ent comp|
|00003830| 61 72 65 2d 77 69 6e 64 | 6f 77 73 2d 77 68 69 74 |are-wind|ows-whit|
|00003840| 65 73 70 61 63 65 20 74 | 65 78 2d 63 61 74 65 67 |espace t|ex-categ|
|00003850| 6f 72 69 7a 65 2d 77 68 | 69 74 65 73 70 61 63 65 |orize-wh|itespace|
|00003860| 20 74 65 78 2d 63 6f 6d | 6d 61 6e 64 20 74 65 78 | tex-com|mand tex|
|00003870| 2d 73 74 61 72 74 2d 6f | 66 2d 68 65 61 64 65 72 |-start-o|f-header|
|00003880| 20 74 65 78 2d 65 6e 64 | 2d 6f 66 2d 68 65 61 64 | tex-end|-of-head|
|00003890| 65 72 20 74 65 78 2d 74 | 72 61 69 6c 65 72 5d 20 |er tex-t|railer] |
|000038a0| 34 5d 20 74 65 78 2d 63 | 6f 6d 6d 65 6e 74 2d 69 |4] tex-c|omment-i|
|000038b0| 6e 64 65 6e 74 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |ndent #[|nil "..!|
|000038c0| 83 08 00 69 87 c2 c3 78 | 88 6e 83 14 00 c4 82 16 |...i...x|.n......|
|000038d0| 00 69 54 0d 5d 87 22 20 | 5b 6c 6f 6f 6b 69 6e 67 |.iT.]." |[looking|
|000038e0| 2d 61 74 20 22 25 25 25 | 22 20 22 20 09 22 20 6e |-at "%%%|" " ." n|
|000038f0| 69 6c 20 30 20 63 6f 6d | 6d 65 6e 74 2d 63 6f 6c |il 0 com|ment-col|
|00003900| 75 6d 6e 5d 20 32 5d 20 | 74 65 78 2d 63 61 74 65 |umn] 2] |tex-cate|
|00003910| 67 6f 72 69 7a 65 2d 77 | 68 69 74 65 73 70 61 63 |gorize-w|hitespac|
|00003920| 65 20 23 5b 28 62 61 63 | 6b 77 61 72 64 2d 6c 69 |e #[(bac|kward-li|
|00003930| 6d 69 74 29 20 22 c0 c1 | 1a 1b c4 0d 78 88 5c 6e |mit) "..|....x.\n|
|00003940| 83 52 00 c6 c7 21 83 21 | 00 c8 95 62 88 0b c0 3d |.R...!.!|...b...=|
|00003950| 83 08 00 c9 13 82 08 00 | c6 ca 21 83 3e 00 0b cb |........|..!.>...|
|00003960| 3d 83 35 00 cc 13 cd 89 | 12 82 09 00 cb 13 c8 95 |=.5.....|........|
|00003970| 62 88 82 08 00 c6 ce 21 | 83 4c 00 cc 13 cd 89 12 |b......!|.L......|
|00003980| 82 09 00 cd 89 12 84 0c | 00 c4 cd 77 88 0b cb 3d |........|...w...=|
|00003990| 83 60 00 c9 82 61 00 0b | 2a 87 22 20 5b 6e 75 6c |.`...a..|*." [nul|
|000039a0| 6c 20 74 20 6e 6f 74 2d | 66 69 6e 69 73 68 65 64 |l t not-|finished|
|000039b0| 20 63 61 74 65 67 6f 72 | 79 20 22 20 09 5c 6e 0c | categor|y " .\n.|
|000039c0| 22 20 62 61 63 6b 77 61 | 72 64 2d 6c 69 6d 69 74 |" backwa|rd-limit|
|000039d0| 20 6c 6f 6f 6b 69 6e 67 | 2d 61 74 20 22 5b 20 09 | looking|-at "[ .|
|000039e0| 5d 2b 22 20 30 20 73 70 | 61 63 65 20 22 5c 6e 22 |]+" 0 sp|ace "\n"|
|000039f0| 20 6e 65 77 6c 69 6e 65 | 20 70 61 72 20 6e 69 6c | newline| par nil|
|00003a00| 20 22 0c 2b 22 5d 20 33 | 5d 5d 20 33 29 0a 28 64 | ".+"] 3|]] 3).(d|
|00003a10| 65 66 61 6c 69 61 73 20 | 27 74 65 78 2d 69 6e 73 |efalias |'tex-ins|
|00003a20| 65 72 74 2d 71 75 6f 74 | 65 20 23 5b 28 61 72 67 |ert-quot|e #[(arg|
|00003a30| 29 20 22 08 83 5c 6e 00 | c1 c2 08 21 21 87 6f 84 |) "..\n.|...!!.o.|
|00003a40| 19 00 8a c3 75 88 c4 c5 | 21 29 83 1e 00 0e 06 82 |....u...|!)......|
|00003a50| 2a 00 68 c7 55 83 28 00 | c8 82 2a 00 0e 09 63 87 |*.h.U.(.|..*...c.|
|00003a60| 22 20 5b 61 72 67 20 73 | 65 6c 66 2d 69 6e 73 65 |" [arg s|elf-inse|
|00003a70| 72 74 2d 63 6f 6d 6d 61 | 6e 64 20 70 72 65 66 69 |rt-comma|nd prefi|
|00003a80| 78 2d 6e 75 6d 65 72 69 | 63 2d 76 61 6c 75 65 20 |x-numeri|c-value |
|00003a90| 2d 31 20 6c 6f 6f 6b 69 | 6e 67 2d 61 74 20 22 5c |-1 looki|ng-at "\|
|00003aa0| 5c 73 28 5c 5c 7c 5c 5c | 73 20 5c 5c 7c 5c 5c 73 |\s(\\|\\|s \\|\\s|
|00003ab0| 3e 22 20 74 65 78 2d 6f | 70 65 6e 2d 71 75 6f 74 |>" tex-o|pen-quot|
|00003ac0| 65 20 39 32 20 33 34 20 | 74 65 78 2d 63 6c 6f 73 |e 92 34 |tex-clos|
|00003ad0| 65 2d 71 75 6f 74 65 5d | 20 33 20 22 5c 0a 49 6e |e-quote]| 3 "\.In|
|00003ae0| 73 65 72 74 20 74 68 65 | 20 61 70 70 72 6f 70 72 |sert the| appropr|
|00003af0| 69 61 74 65 20 71 75 6f | 74 65 20 6d 61 72 6b 73 |iate quo|te marks|
|00003b00| 20 66 6f 72 20 54 65 58 | 2e 0a 49 6e 73 65 72 74 | for TeX|..Insert|
|00003b10| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 60 |s the va|lue of `|
|00003b20| 74 65 78 2d 6f 70 65 6e | 2d 71 75 6f 74 65 27 20 |tex-open|-quote' |
|00003b30| 28 6e 6f 72 6d 61 6c 6c | 79 20 60 60 29 20 6f 72 |(normall|y ``) or|
|00003b40| 20 60 74 65 78 2d 63 6c | 6f 73 65 2d 71 75 6f 74 | `tex-cl|ose-quot|
|00003b50| 65 27 0a 28 6e 6f 72 6d | 61 6c 6c 79 20 27 27 29 |e'.(norm|ally '')|
|00003b60| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 74 68 | dependi|ng on th|
|00003b70| 65 20 63 6f 6e 74 65 78 | 74 2e 20 20 57 69 74 68 |e contex|t. With|
|00003b80| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00003b90| 2c 20 61 6c 77 61 79 73 | 0a 69 6e 73 65 72 74 73 |, always|.inserts|
|00003ba0| 20 5c 22 20 63 68 61 72 | 61 63 74 65 72 73 2e 22 | \" char|acters."|
|00003bb0| 20 22 2a 50 22 5d 29 0a | 28 64 65 66 61 6c 69 61 | "*P"]).|(defalia|
|00003bc0| 73 20 27 76 61 6c 69 64 | 61 74 65 2d 74 65 78 2d |s 'valid|ate-tex-|
|00003bd0| 62 75 66 66 65 72 20 23 | 5b 6e 69 6c 20 22 60 18 |buffer #|[nil "`.|
|00003be0| 64 62 88 c1 8e c2 20 3f | 85 31 00 6f 3f 85 31 00 |db.... ?|.1.o?.1.|
|00003bf0| 60 1b c4 c5 c6 c7 23 88 | c8 60 0b 5c 22 84 2d 00 |`.....#.|.`.\".-.|
|00003c00| c9 60 21 88 ca cb 21 88 | cc cd 21 88 29 82 07 00 |.`!...!.|..!.)...|
|00003c10| 2a 87 22 20 5b 6f 70 6f | 69 6e 74 20 28 28 67 6f |*." [opo|int ((go|
|00003c20| 74 6f 2d 63 68 61 72 20 | 6f 70 6f 69 6e 74 29 29 |to-char |opoint))|
|00003c30| 20 69 6e 70 75 74 2d 70 | 65 6e 64 69 6e 67 2d 70 | input-p|ending-p|
|00003c40| 20 65 6e 64 20 73 65 61 | 72 63 68 2d 62 61 63 6b | end sea|rch-back|
|00003c50| 77 61 72 64 20 22 5c 6e | 5c 6e 22 20 6e 69 6c 20 |ward "\n|\n" nil |
|00003c60| 6d 6f 76 65 20 74 65 78 | 2d 76 61 6c 69 64 61 74 |move tex|-validat|
|00003c70| 65 2d 72 65 67 69 6f 6e | 20 70 75 73 68 2d 6d 61 |e-region| push-ma|
|00003c80| 72 6b 20 6d 65 73 73 61 | 67 65 20 22 4d 69 73 6d |rk messa|ge "Mism|
|00003c90| 61 74 63 68 20 66 6f 75 | 6e 64 20 69 6e 20 70 61 |atch fou|nd in pa|
|00003ca0| 72 61 67 72 61 70 68 20 | 73 74 61 72 74 69 6e 67 |ragraph |starting|
|00003cb0| 20 68 65 72 65 22 20 73 | 69 74 2d 66 6f 72 20 34 | here" s|it-for 4|
|00003cc0| 5d 20 34 20 22 5c 0a 43 | 68 65 63 6b 20 63 75 72 |] 4 "\.C|heck cur|
|00003cd0| 72 65 6e 74 20 62 75 66 | 66 65 72 20 66 6f 72 20 |rent buf|fer for |
|00003ce0| 70 61 72 61 67 72 61 70 | 68 73 20 63 6f 6e 74 61 |paragrap|hs conta|
|00003cf0| 69 6e 69 6e 67 20 6d 69 | 73 6d 61 74 63 68 65 64 |ining mi|smatched|
|00003d00| 20 24 73 2e 0a 41 73 20 | 65 61 63 68 20 73 75 63 | $s..As |each suc|
|00003d10| 68 20 70 61 72 61 67 72 | 61 70 68 20 69 73 20 66 |h paragr|aph is f|
|00003d20| 6f 75 6e 64 2c 20 61 20 | 6d 61 72 6b 20 69 73 20 |ound, a |mark is |
|00003d30| 70 75 73 68 65 64 20 61 | 74 20 69 74 73 20 62 65 |pushed a|t its be|
|00003d40| 67 69 6e 6e 69 6e 67 2c | 0a 61 6e 64 20 74 68 65 |ginning,|.and the|
|00003d50| 20 6c 6f 63 61 74 69 6f | 6e 20 69 73 20 64 69 73 | locatio|n is dis|
|00003d60| 70 6c 61 79 65 64 20 66 | 6f 72 20 61 20 66 65 77 |played f|or a few|
|00003d70| 20 73 65 63 6f 6e 64 73 | 2e 22 20 6e 69 6c 5d 29 | seconds|." nil])|
|00003d80| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 74 65 78 2d |.(defali|as 'tex-|
|00003d90| 76 61 6c 69 64 61 74 65 | 2d 72 65 67 69 6f 6e 20 |validate|-region |
|00003da0| 23 5b 28 73 74 61 72 74 | 20 65 6e 64 29 20 22 c0 |#[(start| end) ".|
|00003db0| 09 5c 6e 5a 1b 1c 8a c0 | c5 c6 8f 88 29 0c 83 18 |.\nZ....|....)...|
|00003dc0| 00 0c 62 88 c0 82 19 00 | c7 2a 87 22 20 5b 6e 69 |..b.....|.*." [ni|
|00003dd0| 6c 20 65 6e 64 20 73 74 | 61 72 74 20 6d 61 78 2d |l end st|art max-|
|00003de0| 70 6f 73 73 69 62 6c 65 | 2d 73 65 78 70 73 20 66 |possible|-sexps f|
|00003df0| 61 69 6c 75 72 65 2d 70 | 6f 69 6e 74 20 28 62 79 |ailure-p|oint (by|
|00003e00| 74 65 2d 63 6f 64 65 20 | 22 8c 08 09 7d 88 08 62 |te-code |"...}..b|
|00003e10| 88 c2 0b 53 89 13 57 83 | 18 00 c4 c5 21 88 82 08 |...S..W.|....!...|
|00003e20| 00 29 c2 87 22 20 5b 73 | 74 61 72 74 20 65 6e 64 |.).." [s|tart end|
|00003e30| 20 30 20 6d 61 78 2d 70 | 6f 73 73 69 62 6c 65 2d | 0 max-p|ossible-|
|00003e40| 73 65 78 70 73 20 66 6f | 72 77 61 72 64 2d 73 65 |sexps fo|rward-se|
|00003e50| 78 70 20 31 5d 20 33 29 | 20 28 28 65 72 72 6f 72 |xp 1] 3)| ((error|
|00003e60| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 60 10 c1 | (byte-c|ode "`..|
|00003e70| 87 22 20 5b 66 61 69 6c | 75 72 65 2d 70 6f 69 6e |." [fail|ure-poin|
|00003e80| 74 20 6e 69 6c 5d 20 31 | 29 29 29 20 74 5d 20 33 |t nil] 1|))) t] 3|
|00003e90| 20 22 5c 0a 43 68 65 63 | 6b 20 66 6f 72 20 6d 69 | "\.Chec|k for mi|
|00003ea0| 73 6d 61 74 63 68 65 64 | 20 62 72 61 63 65 73 20 |smatched| braces |
|00003eb0| 6f 72 20 24 27 73 20 69 | 6e 20 72 65 67 69 6f 6e |or $'s i|n region|
|00003ec0| 2e 0a 52 65 74 75 72 6e | 73 20 74 20 69 66 20 6e |..Return|s t if n|
|00003ed0| 6f 20 6d 69 73 6d 61 74 | 63 68 65 73 2e 20 20 52 |o mismat|ches. R|
|00003ee0| 65 74 75 72 6e 73 20 6e | 69 6c 20 61 6e 64 20 6d |eturns n|il and m|
|00003ef0| 6f 76 65 73 20 70 6f 69 | 6e 74 20 74 6f 20 73 75 |oves poi|nt to su|
|00003f00| 73 70 65 63 74 0a 61 72 | 65 61 20 69 66 20 61 20 |spect.ar|ea if a |
|00003f10| 6d 69 73 6d 61 74 63 68 | 20 69 73 20 66 6f 75 6e |mismatch| is foun|
|00003f20| 64 2e 22 20 22 72 22 5d | 29 0a 28 64 65 66 61 6c |d." "r"]|).(defal|
|00003f30| 69 61 73 20 27 74 65 78 | 2d 74 65 72 6d 69 6e 61 |ias 'tex|-termina|
|00003f40| 74 65 2d 70 61 72 61 67 | 72 61 70 68 20 23 5b 28 |te-parag|raph #[(|
|00003f50| 69 6e 68 69 62 69 74 2d | 76 61 6c 69 64 61 74 69 |inhibit-|validati|
|00003f60| 6f 6e 29 20 22 08 84 19 | 00 8a c1 8a c2 c3 c4 c5 |on) "...|........|
|00003f70| 23 88 60 29 60 5c 22 29 | 84 19 00 c6 c7 21 88 c3 |#.`)`\")|.....!..|
|00003f80| 63 87 22 20 5b 69 6e 68 | 69 62 69 74 2d 76 61 6c |c." [inh|ibit-val|
|00003f90| 69 64 61 74 69 6f 6e 20 | 74 65 78 2d 76 61 6c 69 |idation |tex-vali|
|00003fa0| 64 61 74 65 2d 72 65 67 | 69 6f 6e 20 73 65 61 72 |date-reg|ion sear|
|00003fb0| 63 68 2d 62 61 63 6b 77 | 61 72 64 20 22 5c 6e 5c |ch-backw|ard "\n\|
|00003fc0| 6e 22 20 6e 69 6c 20 6d | 6f 76 65 20 6d 65 73 73 |n" nil m|ove mess|
|00003fd0| 61 67 65 20 22 50 61 72 | 61 67 72 61 70 68 20 62 |age "Par|agraph b|
|00003fe0| 65 69 6e 67 20 63 6c 6f | 73 65 64 20 61 70 70 65 |eing clo|sed appe|
|00003ff0| 61 72 73 20 74 6f 20 63 | 6f 6e 74 61 69 6e 20 61 |ars to c|ontain a|
|00004000| 20 6d 69 73 6d 61 74 63 | 68 22 5d 20 35 20 22 5c | mismatc|h"] 5 "\|
|00004010| 0a 49 6e 73 65 72 74 20 | 74 77 6f 20 6e 65 77 6c |.Insert |two newl|
|00004020| 69 6e 65 73 2c 20 62 72 | 65 61 6b 69 6e 67 20 61 |ines, br|eaking a|
|00004030| 20 70 61 72 61 67 72 61 | 70 68 20 66 6f 72 20 54 | paragra|ph for T|
|00004040| 65 58 2e 0a 43 68 65 63 | 6b 20 66 6f 72 20 6d 69 |eX..Chec|k for mi|
|00004050| 73 6d 61 74 63 68 65 64 | 20 62 72 61 63 65 73 2f |smatched| braces/|
|00004060| 24 27 73 20 69 6e 20 70 | 61 72 61 67 72 61 70 68 |$'s in p|aragraph|
|00004070| 20 62 65 69 6e 67 20 74 | 65 72 6d 69 6e 61 74 65 | being t|erminate|
|00004080| 64 2e 0a 41 20 70 72 65 | 66 69 78 20 61 72 67 20 |d..A pre|fix arg |
|00004090| 69 6e 68 69 62 69 74 73 | 20 74 68 65 20 63 68 65 |inhibits| the che|
|000040a0| 63 6b 69 6e 67 2e 22 20 | 22 2a 50 22 5d 29 0a 28 |cking." |"*P"]).(|
|000040b0| 64 65 66 61 6c 69 61 73 | 20 27 74 65 78 2d 69 6e |defalias| 'tex-in|
|000040c0| 73 65 72 74 2d 62 72 61 | 63 65 73 20 23 5b 6e 69 |sert-bra|ces #[ni|
|000040d0| 6c 20 22 c0 63 88 8a c1 | 63 29 87 22 20 5b 31 32 |l ".c...|c)." [12|
|000040e0| 33 20 31 32 35 5d 20 31 | 20 22 5c 0a 4d 61 6b 65 |3 125] 1| "\.Make|
|000040f0| 20 61 20 70 61 69 72 20 | 6f 66 20 62 72 61 63 65 | a pair |of brace|
|00004100| 73 20 61 6e 64 20 62 65 | 20 70 6f 69 73 65 64 20 |s and be| poised |
|00004110| 74 6f 20 74 79 70 65 20 | 69 6e 73 69 64 65 20 6f |to type |inside o|
|00004120| 66 20 74 68 65 6d 2e 22 | 20 22 2a 22 5d 29 0a 28 |f them."| "*"]).(|
|00004130| 64 65 66 61 6c 69 61 73 | 20 27 74 65 78 2d 6c 61 |defalias| 'tex-la|
|00004140| 74 65 78 2d 62 6c 6f 63 | 6b 20 23 5b 28 6e 61 6d |tex-bloc|k #[(nam|
|00004150| 65 29 20 22 69 18 c1 c2 | 0b 5c 22 63 88 08 6a 88 |e) "i...|.\"c..j.|
|00004160| 8a c4 63 88 08 6a 88 c5 | c1 c6 0b 5c 22 21 88 6d |..c..j..|...\"!.m|
|00004170| 85 1f 00 c4 63 2a 87 22 | 20 5b 63 6f 6c 20 66 6f |....c*."| [col fo|
|00004180| 72 6d 61 74 20 22 5c 5c | 62 65 67 69 6e 7b 25 73 |rmat "\\|begin{%s|
|00004190| 7d 5c 6e 22 20 6e 61 6d | 65 20 31 30 20 69 6e 73 |}\n" nam|e 10 ins|
|000041a0| 65 72 74 2d 73 74 72 69 | 6e 67 20 22 5c 5c 65 6e |ert-stri|ng "\\en|
|000041b0| 64 7b 25 73 7d 22 5d 20 | 34 20 22 5c 0a 43 72 65 |d{%s}"] |4 "\.Cre|
|000041c0| 61 74 65 73 20 61 20 6d | 61 74 63 68 69 6e 67 20 |ates a m|atching |
|000041d0| 70 61 69 72 20 6f 66 20 | 6c 69 6e 65 73 20 5c 5c |pair of |lines \\|
|000041e0| 62 65 67 69 6e 7b 4e 41 | 4d 45 7d 20 61 6e 64 20 |begin{NA|ME} and |
|000041f0| 5c 5c 65 6e 64 7b 4e 41 | 4d 45 7d 20 61 74 20 70 |\\end{NA|ME} at p|
|00004200| 6f 69 6e 74 2e 0a 50 75 | 74 73 20 70 6f 69 6e 74 |oint..Pu|ts point|
|00004210| 20 6f 6e 20 61 20 62 6c | 61 6e 6b 20 6c 69 6e 65 | on a bl|ank line|
|00004220| 20 62 65 74 77 65 65 6e | 20 74 68 65 6d 2e 22 20 | between| them." |
|00004230| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 20 88 c1 |(byte-co|de ". ..|
|00004240| c2 c3 c4 c5 0e 06 0e 07 | 5c 22 5c 22 5c 22 43 87 |........|\"\"\"C.|
|00004250| 22 20 5b 62 61 72 66 2d | 69 66 2d 62 75 66 66 65 |" [barf-|if-buffe|
|00004260| 72 2d 72 65 61 64 2d 6f | 6e 6c 79 20 63 6f 6d 70 |r-read-o|nly comp|
|00004270| 6c 65 74 69 6e 67 2d 72 | 65 61 64 20 22 4c 61 54 |leting-r|ead "LaT|
|00004280| 65 58 20 62 6c 6f 63 6b | 20 6e 61 6d 65 3a 20 22 |eX block| name: "|
|00004290| 20 6d 61 70 63 61 72 20 | 6c 69 73 74 20 61 70 70 | mapcar |list app|
|000042a0| 65 6e 64 20 73 74 61 6e | 64 61 72 64 2d 6c 61 74 |end stan|dard-lat|
|000042b0| 65 78 2d 62 6c 6f 63 6b | 2d 6e 61 6d 65 73 20 6c |ex-block|-names l|
|000042c0| 61 74 65 78 2d 62 6c 6f | 63 6b 2d 6e 61 6d 65 73 |atex-blo|ck-names|
|000042d0| 5d 20 37 29 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |] 7)]).(|defalias|
|000042e0| 20 27 74 65 78 2d 6c 61 | 73 74 2d 75 6e 65 6e 64 | 'tex-la|st-unend|
|000042f0| 65 64 2d 62 65 67 69 6e | 20 23 5b 6e 69 6c 20 22 |ed-begin| #[nil "|
|00004300| c0 c1 21 85 12 00 c2 c3 | 21 85 12 00 c4 20 88 82 |..!.....|!.... ..|
|00004310| 00 00 87 22 20 5b 72 65 | 2d 73 65 61 72 63 68 2d |..." [re|-search-|
|00004320| 62 61 63 6b 77 61 72 64 | 20 22 5c 5c 28 5c 5c 5c |backward| "\\(\\\|
|00004330| 5c 62 65 67 69 6e 5c 5c | 73 20 2a 7b 5c 5c 29 5c |\begin\\|s *{\\)\|
|00004340| 5c 7c 5c 5c 28 5c 5c 5c | 5c 65 6e 64 5c 5c 73 20 |\|\\(\\\|\end\\s |
|00004350| 2a 7b 5c 5c 29 22 20 6c | 6f 6f 6b 69 6e 67 2d 61 |*{\\)" l|ooking-a|
|00004360| 74 20 22 5c 5c 5c 5c 65 | 6e 64 7b 22 20 74 65 78 |t "\\\\e|nd{" tex|
|00004370| 2d 6c 61 73 74 2d 75 6e | 65 6e 64 65 64 2d 62 65 |-last-un|ended-be|
|00004380| 67 69 6e 5d 20 32 20 22 | 5c 0a 4c 65 61 76 65 20 |gin] 2 "|\.Leave |
|00004390| 70 6f 69 6e 74 20 61 74 | 20 74 68 65 20 62 65 67 |point at| the beg|
|000043a0| 69 6e 6e 69 6e 67 20 6f | 66 20 74 68 65 20 6c 61 |inning o|f the la|
|000043b0| 73 74 20 5c 5c 62 65 67 | 69 6e 7b 2e 2e 2e 7d 20 |st \\beg|in{...} |
|000043c0| 74 68 61 74 20 69 73 20 | 75 6e 65 6e 64 65 64 2e |that is |unended.|
|000043d0| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |"]).(def|alias 't|
|000043e0| 65 78 2d 63 6c 6f 73 65 | 2d 6c 61 74 65 78 2d 62 |ex-close|-latex-b|
|000043f0| 6c 6f 63 6b 20 23 5b 6e | 69 6c 20 22 6e c0 89 19 |lock #[n|il "n...|
|00004400| 1a 1b 8a c0 c4 c5 8f 88 | 69 11 c6 c7 21 88 c8 94 |........|i...!...|
|00004410| c8 95 7b 12 29 09 6a 88 | c9 5c 6e b1 02 88 0b 85 |..{.).j.|.\n.....|
|00004420| 27 00 ca 63 2b 87 22 20 | 5b 6e 69 6c 20 69 6e 64 |'..c+." |[nil ind|
|00004430| 65 6e 74 61 74 69 6f 6e | 20 74 65 78 74 20 6e 65 |entation| text ne|
|00004440| 77 2d 6c 69 6e 65 2d 6e | 65 65 64 65 64 20 28 74 |w-line-n|eeded (t|
|00004450| 65 78 2d 6c 61 73 74 2d | 75 6e 65 6e 64 65 64 2d |ex-last-|unended-|
|00004460| 62 65 67 69 6e 29 20 28 | 28 65 72 72 6f 72 20 28 |begin) (|(error (|
|00004470| 65 72 72 6f 72 20 22 43 | 6f 75 6c 64 6e 27 74 20 |error "C|ouldn't |
|00004480| 66 69 6e 64 20 75 6e 65 | 6e 64 65 64 20 5c 5c 62 |find une|nded \\b|
|00004490| 65 67 69 6e 22 29 29 29 | 20 72 65 2d 73 65 61 72 |egin")))| re-sear|
|000044a0| 63 68 2d 66 6f 72 77 61 | 72 64 20 22 5c 5c 5c 5c |ch-forwa|rd "\\\\|
|000044b0| 62 65 67 69 6e 5c 5c 28 | 5c 5c 73 20 2a 7b 5b 5e |begin\\(|\\s *{[^|
|000044c0| 7d 5c 6e 5d 2a 7d 5c 5c | 29 22 20 31 20 22 5c 5c |}\n]*}\\|)" 1 "\\|
|000044d0| 65 6e 64 22 20 31 30 5d | 20 33 20 22 5c 0a 43 72 |end" 10]| 3 "\.Cr|
|000044e0| 65 61 74 65 73 20 61 6e | 20 5c 5c 65 6e 64 7b 2e |eates an| \\end{.|
|000044f0| 2e 2e 7d 20 74 6f 20 6d | 61 74 63 68 20 74 68 65 |..} to m|atch the|
|00004500| 20 6c 61 73 74 20 75 6e | 63 6c 6f 73 65 64 20 5c | last un|closed \|
|00004510| 5c 62 65 67 69 6e 7b 2e | 2e 2e 7d 2e 22 20 22 2a |\begin{.|..}." "*|
|00004520| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |"]).(def|alias 't|
|00004530| 65 78 2d 63 6f 6d 70 69 | 6c 61 74 69 6f 6e 2d 70 |ex-compi|lation-p|
|00004540| 61 72 73 65 2d 65 72 72 | 6f 72 73 20 23 5b 6e 69 |arse-err|ors #[ni|
|00004550| 6c 20 22 c0 11 c2 c3 21 | 88 c4 c5 c6 5c 22 88 c4 |l "....!|....\"..|
|00004560| c7 c6 5c 22 88 c4 c8 c6 | 5c 22 88 c4 c9 c6 5c 22 |..\"....|\"....\"|
|00004570| 88 c0 89 89 1e 5c 6e 1e | 0b 1e 0c 0e 0d 62 88 6f |.....\n.|.....b.o|
|00004580| 83 2e 00 ce 79 88 cf d0 | c0 d1 23 83 ce 00 c0 89 |....y...|..#.....|
|00004590| 89 89 1e 12 1e 13 1e 14 | 1e 15 d6 79 88 60 ce 5c |........|...y.`.\|
|000045a0| 5c 62 88 d7 70 21 16 15 | d8 63 88 d9 20 88 c0 75 |\b..p!..|.c.. ..u|
|000045b0| 88 da 20 89 16 14 0e 0b | 9a 83 6b 00 0e 15 0e 5c |.. .....|..k....\|
|000045c0| 6e 55 84 c7 00 db c0 78 | 88 dc 20 88 dd 20 88 de |nU.....x|.. .. ..|
|000045d0| df 21 88 e0 20 16 13 0e | 14 0e 0b 9a 84 98 00 e1 |.!.. ...|........|
|000045e0| 0e 14 89 16 0b 21 85 93 | 00 e2 0e 14 21 16 0c d6 |.....!..|....!...|
|000045f0| 16 5c 6e 0e 0c 83 c7 00 | 8a 0e 0c 71 88 0e 5c 6e |.\n.....|...q..\n|
|00004600| d6 55 83 af 00 df 62 88 | df 16 5c 6e 0e 15 0e 5c |.U....b.|..\n...\|
|00004610| 6e 5a 79 88 0e 15 16 5c | 6e e0 20 16 12 0e 13 0e |nZy....\|n. .....|
|00004620| 12 44 09 42 11 29 df 79 | 88 2c 82 2e 00 64 16 0d |.D.B.).y|.,...d..|
|00004630| 2b c2 e3 21 88 09 9f 89 | 11 87 22 20 5b 6e 69 6c |+..!....|.." [nil|
|00004640| 20 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 2d 65 72 72 | compila|tion-err|
|00004650| 6f 72 2d 6c 69 73 74 20 | 6d 65 73 73 61 67 65 20 |or-list |message |
|00004660| 22 50 61 72 73 69 6e 67 | 20 65 72 72 6f 72 20 6d |"Parsing| error m|
|00004670| 65 73 73 61 67 65 73 2e | 2e 2e 22 20 6d 6f 64 69 |essages.|.." modi|
|00004680| 66 79 2d 73 79 6e 74 61 | 78 2d 65 6e 74 72 79 20 |fy-synta|x-entry |
|00004690| 31 32 33 20 22 5f 22 20 | 31 32 35 20 39 31 20 39 |123 "_" |125 91 9|
|000046a0| 33 20 6c 61 73 74 2d 6c | 69 6e 65 6e 75 6d 20 6c |3 last-l|inenum l|
|000046b0| 61 73 74 2d 66 69 6c 65 | 6e 61 6d 65 20 74 65 78 |ast-file|name tex|
|000046c0| 74 2d 62 75 66 66 65 72 | 20 63 6f 6d 70 69 6c 61 |t-buffer| compila|
|000046d0| 74 69 6f 6e 2d 70 61 72 | 73 69 6e 67 2d 65 6e 64 |tion-par|sing-end|
|000046e0| 20 32 20 72 65 2d 73 65 | 61 72 63 68 2d 66 6f 72 | 2 re-se|arch-for|
|000046f0| 77 61 72 64 20 22 5e 6c | 2e 5b 30 2d 39 5d 2b 20 |ward "^l|.[0-9]+ |
|00004700| 22 20 74 20 74 65 78 74 | 2d 6d 61 72 6b 65 72 20 |" t text|-marker |
|00004710| 65 72 72 6f 72 2d 6d 61 | 72 6b 65 72 20 66 69 6c |error-ma|rker fil|
|00004720| 65 6e 61 6d 65 20 6c 69 | 6e 65 6e 75 6d 20 30 20 |ename li|nenum 0 |
|00004730| 72 65 61 64 20 34 31 20 | 62 61 63 6b 77 61 72 64 |read 41 |backward|
|00004740| 2d 73 65 78 70 20 63 75 | 72 72 65 6e 74 2d 77 6f |-sexp cu|rrent-wo|
|00004750| 72 64 20 22 5e 28 22 20 | 62 61 63 6b 77 61 72 64 |rd "^(" |backward|
|00004760| 2d 63 68 61 72 20 66 6f | 72 77 61 72 64 2d 73 65 |-char fo|rward-se|
|00004770| 78 70 20 62 61 63 6b 77 | 61 72 64 2d 64 65 6c 65 |xp backw|ard-dele|
|00004780| 74 65 2d 63 68 61 72 20 | 31 20 70 6f 69 6e 74 2d |te-char |1 point-|
|00004790| 6d 61 72 6b 65 72 20 66 | 69 6c 65 2d 65 78 69 73 |marker f|ile-exis|
|000047a0| 74 73 2d 70 20 66 69 6e | 64 2d 66 69 6c 65 2d 6e |ts-p fin|d-file-n|
|000047b0| 6f 73 65 6c 65 63 74 20 | 22 50 61 72 73 69 6e 67 |oselect |"Parsing|
|000047c0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 73 2e | error m|essages.|
|000047d0| 2e 2e 64 6f 6e 65 22 5d | 20 35 20 22 5c 0a 50 61 |..done"]| 5 "\.Pa|
|000047e0| 72 73 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rse the |current |
|000047f0| 62 75 66 66 65 72 20 61 | 73 20 65 72 72 6f 72 20 |buffer a|s error |
|00004800| 6d 65 73 73 61 67 65 73 | 2e 0a 54 68 69 73 20 6d |messages|..This m|
|00004810| 61 6b 65 73 20 61 20 6c | 69 73 74 20 6f 66 20 65 |akes a l|ist of e|
|00004820| 72 72 6f 72 20 64 65 73 | 63 72 69 70 74 6f 72 73 |rror des|criptors|
|00004830| 2c 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 2d 65 72 |, compil|ation-er|
|00004840| 72 6f 72 2d 6c 69 73 74 | 2e 0a 46 6f 72 20 65 61 |ror-list|..For ea|
|00004850| 63 68 20 73 6f 75 72 63 | 65 2d 66 69 6c 65 2c 20 |ch sourc|e-file, |
|00004860| 6c 69 6e 65 2d 6e 75 6d | 62 65 72 20 70 61 69 72 |line-num|ber pair|
|00004870| 20 69 6e 20 74 68 65 20 | 62 75 66 66 65 72 2c 0a | in the |buffer,.|
|00004880| 74 68 65 20 73 6f 75 72 | 63 65 20 66 69 6c 65 20 |the sour|ce file |
|00004890| 69 73 20 72 65 61 64 20 | 69 6e 2c 20 61 6e 64 20 |is read |in, and |
|000048a0| 74 68 65 20 74 65 78 74 | 20 6c 6f 63 61 74 69 6f |the text| locatio|
|000048b0| 6e 20 69 73 20 73 61 76 | 65 64 20 69 6e 0a 63 6f |n is sav|ed in.co|
|000048c0| 6d 70 69 6c 61 74 69 6f | 6e 2d 65 72 72 6f 72 2d |mpilatio|n-error-|
|000048d0| 6c 69 73 74 2e 20 20 54 | 68 65 20 66 75 6e 63 74 |list. T|he funct|
|000048e0| 69 6f 6e 20 60 6e 65 78 | 74 2d 65 72 72 6f 72 27 |ion `nex|t-error'|
|000048f0| 2c 20 61 73 73 69 67 6e | 65 64 20 74 6f 0a 5c 5c |, assign|ed to.\\|
|00004900| 5b 6e 65 78 74 2d 65 72 | 72 6f 72 5d 2c 20 74 61 |[next-er|ror], ta|
|00004910| 6b 65 73 20 74 68 65 20 | 6e 65 78 74 20 65 72 72 |kes the |next err|
|00004920| 6f 72 20 6f 66 66 20 74 | 68 65 20 6c 69 73 74 20 |or off t|he list |
|00004930| 61 6e 64 20 76 69 73 69 | 74 73 20 69 74 73 20 6c |and visi|ts its l|
|00004940| 6f 63 61 74 69 6f 6e 2e | 0a 0a 54 68 69 73 20 66 |ocation.|..This f|
|00004950| 75 6e 63 74 69 6f 6e 20 | 77 6f 72 6b 73 20 6f 6e |unction |works on|
|00004960| 20 54 65 58 20 63 6f 6d | 70 69 6c 61 74 69 6f 6e | TeX com|pilation|
|00004970| 73 20 6f 6e 6c 79 2e 20 | 20 49 74 20 69 73 20 6e |s only. | It is n|
|00004980| 65 63 65 73 73 61 72 79 | 20 66 6f 72 0a 74 68 61 |ecessary| for.tha|
|00004990| 74 20 70 75 72 70 6f 73 | 65 2c 20 73 69 6e 63 65 |t purpos|e, since|
|000049a0| 20 54 65 58 20 64 6f 65 | 73 20 6e 6f 74 20 70 75 | TeX doe|s not pu|
|000049b0| 74 20 66 69 6c 65 20 6e | 61 6d 65 73 20 6f 6e 20 |t file n|ames on |
|000049c0| 74 68 65 20 73 61 6d 65 | 20 6c 69 6e 65 20 61 73 |the same| line as|
|000049d0| 0a 6c 69 6e 65 20 6e 75 | 6d 62 65 72 73 20 66 6f |.line nu|mbers fo|
|000049e0| 72 20 74 68 65 20 65 72 | 72 6f 72 73 2e 22 5d 29 |r the er|rors."])|
|000049f0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 c2 |.(byte-c|ode "...|
|00004a00| 5c 22 88 c0 c3 c4 5c 22 | 87 22 20 5b 64 65 66 61 |\"....\"|." [defa|
|00004a10| 6c 69 61 73 20 74 65 78 | 2d 73 74 61 72 74 2d 73 |lias tex|-start-s|
|00004a20| 68 65 6c 6c 20 23 5b 6e | 69 6c 20 22 8a c0 c1 5c |hell #[n|il "...\|
|00004a30| 6e 86 14 00 c3 c4 21 86 | 14 00 c3 c5 21 86 14 00 |n.....!.|....!...|
|00004a40| c6 c7 c8 24 71 88 c9 c1 | 21 1e 5c 6e cb 0e 5c 6e |...$q...|!.\n..\n|
|00004a50| cc 5c 22 88 cd 0e 5c 6e | 21 88 ce 0e 0f 21 16 10 |.\"...\n|!....!..|
|00004a60| d1 0e 10 21 88 d2 0e 10 | 21 88 d3 d4 21 88 d5 20 |...!....|!...!.. |
|00004a70| d6 55 85 4b 00 d7 d8 21 | 88 82 3d 00 2a 87 22 20 |.U.K...!|..=.*." |
|00004a80| 5b 6d 61 6b 65 2d 63 6f | 6d 69 6e 74 20 22 74 65 |[make-co|mint "te|
|00004a90| 78 2d 73 68 65 6c 6c 22 | 20 74 65 78 2d 73 68 65 |x-shell"| tex-she|
|00004aa0| 6c 6c 2d 66 69 6c 65 2d | 6e 61 6d 65 20 67 65 74 |ll-file-|name get|
|00004ab0| 65 6e 76 20 22 45 53 48 | 45 4c 4c 22 20 22 53 48 |env "ESH|ELL" "SH|
|00004ac0| 45 4c 4c 22 20 22 2f 62 | 69 6e 2f 73 68 22 20 6e |ELL" "/b|in/sh" n|
|00004ad0| 69 6c 20 22 2d 76 22 20 | 67 65 74 2d 70 72 6f 63 |il "-v" |get-proc|
|00004ae0| 65 73 73 20 70 72 6f 63 | 20 73 65 74 2d 70 72 6f |ess proc| set-pro|
|00004af0| 63 65 73 73 2d 73 65 6e | 74 69 6e 65 6c 20 74 65 |cess-sen|tinel te|
|00004b00| 78 2d 73 68 65 6c 6c 2d | 73 65 6e 74 69 6e 65 6c |x-shell-|sentinel|
|00004b10| 20 70 72 6f 63 65 73 73 | 2d 6b 69 6c 6c 2d 77 69 | process|-kill-wi|
|00004b20| 74 68 6f 75 74 2d 71 75 | 65 72 79 20 63 6f 70 79 |thout-qu|ery copy|
|00004b30| 2d 6b 65 79 6d 61 70 20 | 63 6f 6d 69 6e 74 2d 6d |-keymap |comint-m|
|00004b40| 6f 64 65 2d 6d 61 70 20 | 74 65 78 2d 73 68 65 6c |ode-map |tex-shel|
|00004b50| 6c 2d 6d 61 70 20 74 65 | 78 2d 64 65 66 69 6e 65 |l-map te|x-define|
|00004b60| 2d 63 6f 6d 6d 6f 6e 2d | 6b 65 79 73 20 75 73 65 |-common-|keys use|
|00004b70| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 72 75 6e 2d 68 |-local-m|ap run-h|
|00004b80| 6f 6f 6b 73 20 74 65 78 | 2d 73 68 65 6c 6c 2d 68 |ooks tex|-shell-h|
|00004b90| 6f 6f 6b 20 62 75 66 66 | 65 72 2d 73 69 7a 65 20 |ook buff|er-size |
|00004ba0| 30 20 73 6c 65 65 70 2d | 66 6f 72 20 31 5d 20 35 |0 sleep-|for 1] 5|
|00004bb0| 5d 20 74 65 78 2d 73 68 | 65 6c 6c 2d 73 65 6e 74 |] tex-sh|ell-sent|
|00004bc0| 69 6e 65 6c 20 23 5b 28 | 70 72 6f 63 20 6d 73 67 |inel #[(|proc msg|
|00004bd0| 29 20 22 c0 c1 5c 6e 21 | 21 84 10 00 c3 5c 6e c4 |) "..\n!|!....\n.|
|00004be0| 5c 22 88 c5 20 87 c6 5c | 6e 21 c7 3e 85 1a 00 c5 |\".. ..\|n!.>....|
|00004bf0| 20 87 22 20 5b 62 75 66 | 66 65 72 2d 6e 61 6d 65 | ." [buf|fer-name|
|00004c00| 20 70 72 6f 63 65 73 73 | 2d 62 75 66 66 65 72 20 | process|-buffer |
|00004c10| 70 72 6f 63 20 73 65 74 | 2d 70 72 6f 63 65 73 73 |proc set|-process|
|00004c20| 2d 62 75 66 66 65 72 20 | 6e 69 6c 20 74 65 78 2d |-buffer |nil tex-|
|00004c30| 64 65 6c 65 74 65 2d 6c | 61 73 74 2d 74 65 6d 70 |delete-l|ast-temp|
|00004c40| 2d 66 69 6c 65 73 20 70 | 72 6f 63 65 73 73 2d 73 |-files p|rocess-s|
|00004c50| 74 61 74 75 73 20 28 73 | 69 67 6e 61 6c 20 65 78 |tatus (s|ignal ex|
|00004c60| 69 74 29 5d 20 33 5d 5d | 20 33 29 0a 28 64 65 66 |it)] 3]]| 3).(def|
|00004c70| 61 6c 69 61 73 20 27 74 | 65 78 2d 73 65 74 2d 62 |alias 't|ex-set-b|
|00004c80| 75 66 66 65 72 2d 64 69 | 72 65 63 74 6f 72 79 20 |uffer-di|rectory |
|00004c90| 23 5b 28 62 75 66 66 65 | 72 20 64 69 72 65 63 74 |#[(buffe|r direct|
|00004ca0| 6f 72 79 29 20 22 c0 c1 | 5c 6e 21 21 12 c3 5c 6e |ory) "..|\n!!..\n|
|00004cb0| 21 84 11 00 c4 c5 5c 6e | 5c 22 87 8a 0e 06 71 88 |!.....\n|\"....q.|
|00004cc0| 5c 6e 89 16 07 29 87 22 | 20 5b 66 69 6c 65 2d 6e |\n...)."| [file-n|
|00004cd0| 61 6d 65 2d 61 73 2d 64 | 69 72 65 63 74 6f 72 79 |ame-as-d|irectory|
|00004ce0| 20 65 78 70 61 6e 64 2d | 66 69 6c 65 2d 6e 61 6d | expand-|file-nam|
|00004cf0| 65 20 64 69 72 65 63 74 | 6f 72 79 20 66 69 6c 65 |e direct|ory file|
|00004d00| 2d 64 69 72 65 63 74 6f | 72 79 2d 70 20 65 72 72 |-directo|ry-p err|
|00004d10| 6f 72 20 22 25 73 20 69 | 73 20 6e 6f 74 20 61 20 |or "%s i|s not a |
|00004d20| 64 69 72 65 63 74 6f 72 | 79 22 20 62 75 66 66 65 |director|y" buffe|
|00004d30| 72 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |r defaul|t-direct|
|00004d40| 6f 72 79 5d 20 33 20 22 | 5c 0a 53 65 74 20 42 55 |ory] 3 "|\.Set BU|
|00004d50| 46 46 45 52 27 73 20 64 | 65 66 61 75 6c 74 20 64 |FFER's d|efault d|
|00004d60| 69 72 65 63 74 6f 72 79 | 20 74 6f 20 62 65 20 44 |irectory| to be D|
|00004d70| 49 52 45 43 54 4f 52 59 | 2e 22 5d 29 0a 28 64 65 |IRECTORY|."]).(de|
|00004d80| 66 61 6c 69 61 73 20 27 | 74 65 78 2d 73 65 6e 64 |falias '|tex-send|
|00004d90| 2d 63 6f 6d 6d 61 6e 64 | 20 23 5b 28 63 6f 6d 6d |-command| #[(comm|
|00004da0| 61 6e 64 20 26 6f 70 74 | 69 6f 6e 61 6c 20 66 69 |and &opt|ional fi|
|00004db0| 6c 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 29 20 22 |le backg|round) "|
|00004dc0| 8a c0 09 21 1a c3 c4 5c | 6e 5c 22 1d 5c 6e c6 0d |...!...\|n\".\n..|
|00004dd0| 4f 1e 07 0d 83 1c 00 5c | 6e 0d 54 c8 4f 82 1d 00 |O......\|n.T.O...|
|00004de0| c9 1e 5c 6e cb cc cd 21 | 0e 0e 83 3e 00 0d 83 36 |..\n...!|...>...6|
|00004df0| 00 0e 07 0e 0e 0e 5c 6e | 51 82 3f 00 5c 6e cf 0e |......\n|Q.?.\n..|
|00004e00| 0e 51 82 3f 00 5c 6e 0e | 10 83 48 00 d1 82 49 00 |.Q.?.\n.|..H...I.|
|00004e10| d2 50 5c 22 2d 87 22 20 | 5b 65 76 61 6c 20 63 6f |.P\"-." |[eval co|
|00004e20| 6d 6d 61 6e 64 20 63 6d | 64 20 73 74 72 69 6e 67 |mmand cm|d string|
|00004e30| 2d 6d 61 74 63 68 20 22 | 5c 5c 2a 22 20 73 74 61 |-match "|\\*" sta|
|00004e40| 72 20 30 20 66 72 6f 6e | 74 20 6e 69 6c 20 22 22 |r 0 fron|t nil ""|
|00004e50| 20 62 61 63 6b 20 63 6f | 6d 69 6e 74 2d 70 72 6f | back co|mint-pro|
|00004e60| 63 2d 71 75 65 72 79 20 | 67 65 74 2d 70 72 6f 63 |c-query |get-proc|
|00004e70| 65 73 73 20 22 74 65 78 | 2d 73 68 65 6c 6c 22 20 |ess "tex|-shell" |
|00004e80| 66 69 6c 65 20 22 20 22 | 20 62 61 63 6b 67 72 6f |file " "| backgro|
|00004e90| 75 6e 64 20 22 26 5c 6e | 22 20 22 5c 6e 22 5d 20 |und "&\n|" "\n"] |
|00004ea0| 35 20 22 5c 0a 53 65 6e | 64 20 43 4f 4d 4d 41 4e |5 "\.Sen|d COMMAN|
|00004eb0| 44 20 74 6f 20 74 65 78 | 2d 73 68 65 6c 6c 2c 20 |D to tex|-shell, |
|00004ec0| 73 75 62 73 74 69 74 75 | 74 69 6e 67 20 6f 70 74 |substitu|ting opt|
|00004ed0| 69 6f 6e 61 6c 20 46 49 | 4c 45 20 66 6f 72 20 2a |ional FI|LE for *|
|00004ee0| 2e 0a 44 6f 20 74 68 69 | 73 20 69 6e 20 62 61 63 |..Do thi|s in bac|
|00004ef0| 6b 67 72 6f 75 6e 64 20 | 69 66 20 6f 70 74 69 6f |kground |if optio|
|00004f00| 6e 61 6c 20 42 41 43 4b | 47 52 4f 55 4e 44 20 69 |nal BACK|GROUND i|
|00004f10| 73 20 74 2e 20 20 49 66 | 20 43 4f 4d 4d 41 4e 44 |s t. If| COMMAND|
|00004f20| 20 68 61 73 20 6e 6f 20 | 2a 2c 0a 46 49 4c 45 20 | has no |*,.FILE |
|00004f30| 77 69 6c 6c 20 62 65 20 | 61 70 70 65 6e 64 65 64 |will be |appended|
|00004f40| 2c 20 70 72 65 63 65 64 | 65 64 20 62 79 20 61 20 |, preced|ed by a |
|00004f50| 62 6c 61 6e 6b 2c 20 74 | 6f 20 43 4f 4d 4d 41 4e |blank, t|o COMMAN|
|00004f60| 44 2e 20 20 49 66 20 46 | 49 4c 45 20 69 73 20 6e |D. If F|ILE is n|
|00004f70| 69 6c 2c 20 6e 6f 0a 73 | 75 62 73 74 69 74 75 74 |il, no.s|ubstitut|
|00004f80| 69 6f 6e 20 77 69 6c 6c | 20 62 65 20 6d 61 64 65 |ion will| be made|
|00004f90| 20 69 6e 20 43 4f 4d 4d | 41 4e 44 2e 20 20 43 4f | in COMM|AND. CO|
|00004fa0| 4d 4d 41 4e 44 20 63 61 | 6e 20 62 65 20 61 6e 79 |MMAND ca|n be any|
|00004fb0| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 68 61 74 | express|ion that|
|00004fc0| 0a 65 76 61 6c 75 61 74 | 65 73 20 74 6f 20 61 20 |.evaluat|es to a |
|00004fd0| 63 6f 6d 6d 61 6e 64 20 | 73 74 72 69 6e 67 2e 22 |command |string."|
|00004fe0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 65 |]).(defa|lias 'te|
|00004ff0| 78 2d 64 65 6c 65 74 65 | 2d 6c 61 73 74 2d 74 65 |x-delete|-last-te|
|00005000| 6d 70 2d 66 69 6c 65 73 | 20 23 5b 6e 69 6c 20 22 |mp-files| #[nil "|
|00005010| 08 85 23 00 c1 08 21 1a | c3 c4 08 21 5c 6e 5c 22 |..#...!.|...!\n\"|
|00005020| 89 1d 85 5c 22 00 c6 5c | 6e 0d 40 50 21 88 0d 41 |...\"..\|n.@P!..A|
|00005030| 89 15 84 13 00 c7 2a 87 | 22 20 5b 74 65 78 2d 6c |......*.|" [tex-l|
|00005040| 61 73 74 2d 74 65 6d 70 | 2d 66 69 6c 65 20 66 69 |ast-temp|-file fi|
|00005050| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|00005060| 79 20 64 69 72 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |y dir fi|le-name-|
|00005070| 61 6c 6c 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 20 |all-comp|letions |
|00005080| 66 69 6c 65 2d 6e 61 6d | 65 2d 6e 6f 6e 64 69 72 |file-nam|e-nondir|
|00005090| 65 63 74 6f 72 79 20 6c | 69 73 74 20 64 65 6c 65 |ectory l|ist dele|
|000050a0| 74 65 2d 66 69 6c 65 20 | 6e 69 6c 5d 20 34 20 22 |te-file |nil] 4 "|
|000050b0| 5c 0a 44 65 6c 65 74 65 | 20 61 6e 79 20 6a 75 6e |\.Delete| any jun|
|000050c0| 6b 20 66 69 6c 65 73 20 | 66 72 6f 6d 20 6c 61 73 |k files |from las|
|000050d0| 74 20 74 65 6d 70 20 66 | 69 6c 65 2e 22 5d 29 0a |t temp f|ile."]).|
|000050e0| 28 61 64 64 2d 68 6f 6f | 6b 20 28 71 75 6f 74 65 |(add-hoo|k (quote|
|000050f0| 20 6b 69 6c 6c 2d 65 6d | 61 63 73 2d 68 6f 6f 6b | kill-em|acs-hook|
|00005100| 29 20 28 71 75 6f 74 65 | 20 74 65 78 2d 64 65 6c |) (quote| tex-del|
|00005110| 65 74 65 2d 6c 61 73 74 | 2d 74 65 6d 70 2d 66 69 |ete-last|-temp-fi|
|00005120| 6c 65 73 29 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |les)).(d|efalias |
|00005130| 27 74 65 78 2d 72 65 67 | 69 6f 6e 20 23 5b 28 62 |'tex-reg|ion #[(b|
|00005140| 65 67 20 65 6e 64 29 20 | 22 c0 20 83 0b 00 c1 20 |eg end) |". .... |
|00005150| 88 82 0e 00 c2 20 88 0b | 84 15 00 c4 20 13 c5 c6 |..... ..|.... ...|
|00005160| 21 1e 07 c8 c9 0e 5c 6e | 21 21 89 1e 0b 0b 50 1e |!.....\n|!!....P.|
|00005170| 0c cd 20 88 8a 8c 7e 88 | 65 62 88 ce 79 88 60 65 |.. ...~.|eb..y.`e|
|00005180| 65 0e 0b 1e 0f 1e 10 1e | 11 1e 12 65 62 88 d3 0e |e.......|...eb...|
|00005190| 14 0e 12 d5 23 83 69 00 | d6 79 88 60 16 11 d3 0e |....#.i.|.y.`....|
|000051a0| 17 d8 d5 23 83 66 00 d9 | 79 88 60 16 10 82 69 00 |...#.f..|y.`...i.|
|000051b0| 65 16 11 da 0e 11 0e 1b | 5e 0e 10 0e 0c dc 50 d8 |e.......|^.....P.|
|000051c0| 89 25 88 da 0e 1b 0e 10 | 5d 0e 1d 0e 0c dc 50 d5 |.%......|].....P.|
|000051d0| d8 25 88 2c 0e 1e 1e 1f | 0e 07 71 88 e0 20 88 e1 |.%.,....|..q.. ..|
|000051e0| e2 21 88 0e 1f 83 a3 00 | e1 0e 1f 21 88 e3 0e 07 |.!......|...!....|
|000051f0| 0e 0b 5c 22 88 da 65 64 | 0e 0c dc 50 d5 d8 25 88 |..\"..ed|...P..%.|
|00005200| 2b 0e 0c 16 24 e5 0e 26 | 0e 0b 5c 22 88 e5 0e 27 |+...$..&|..\"...'|
|00005210| 0e 0c 5c 22 88 0e 0c 16 | 28 70 89 16 29 2b 87 22 |..\"....|(p..)+."|
|00005220| 20 5b 74 65 78 2d 73 68 | 65 6c 6c 2d 72 75 6e 6e | [tex-sh|ell-runn|
|00005230| 69 6e 67 20 74 65 78 2d | 6b 69 6c 6c 2d 6a 6f 62 |ing tex-|kill-job|
|00005240| 20 74 65 78 2d 73 74 61 | 72 74 2d 73 68 65 6c 6c | tex-sta|rt-shell|
|00005250| 20 74 65 78 2d 7a 61 70 | 2d 66 69 6c 65 20 74 65 | tex-zap|-file te|
|00005260| 78 2d 67 65 6e 65 72 61 | 74 65 2d 7a 61 70 2d 66 |x-genera|te-zap-f|
|00005270| 69 6c 65 2d 6e 61 6d 65 | 20 67 65 74 2d 62 75 66 |ile-name| get-buf|
|00005280| 66 65 72 2d 63 72 65 61 | 74 65 20 22 20 54 65 58 |fer-crea|te " TeX|
|00005290| 2d 4f 75 74 70 75 74 2d | 42 75 66 66 65 72 22 20 |-Output-|Buffer" |
|000052a0| 74 65 6d 70 2d 62 75 66 | 66 65 72 20 66 69 6c 65 |temp-buf|fer file|
|000052b0| 2d 6e 61 6d 65 2d 61 73 | 2d 64 69 72 65 63 74 6f |-name-as|-directo|
|000052c0| 72 79 20 65 78 70 61 6e | 64 2d 66 69 6c 65 2d 6e |ry expan|d-file-n|
|000052d0| 61 6d 65 20 74 65 78 2d | 64 69 72 65 63 74 6f 72 |ame tex-|director|
|000052e0| 79 20 7a 61 70 2d 64 69 | 72 65 63 74 6f 72 79 20 |y zap-di|rectory |
|000052f0| 74 65 78 2d 6f 75 74 2d | 66 69 6c 65 20 74 65 78 |tex-out-|file tex|
|00005300| 2d 64 65 6c 65 74 65 2d | 6c 61 73 74 2d 74 65 6d |-delete-|last-tem|
|00005310| 70 2d 66 69 6c 65 73 20 | 31 30 30 20 64 65 66 61 |p-files |100 defa|
|00005320| 75 6c 74 2d 64 69 72 65 | 63 74 6f 72 79 20 68 65 |ult-dire|ctory he|
|00005330| 6e 64 20 68 62 65 67 20 | 73 65 61 72 63 68 2d 65 |nd hbeg |search-e|
|00005340| 6e 64 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |nd searc|h-forwar|
|00005350| 64 20 74 65 78 2d 73 74 | 61 72 74 2d 6f 66 2d 68 |d tex-st|art-of-h|
|00005360| 65 61 64 65 72 20 74 20 | 30 20 74 65 78 2d 65 6e |eader t |0 tex-en|
|00005370| 64 2d 6f 66 2d 68 65 61 | 64 65 72 20 6e 69 6c 20 |d-of-hea|der nil |
|00005380| 31 20 77 72 69 74 65 2d | 72 65 67 69 6f 6e 20 62 |1 write-|region b|
|00005390| 65 67 20 22 2e 74 65 78 | 22 20 65 6e 64 20 74 65 |eg ".tex|" end te|
|000053a0| 78 2d 74 72 61 69 6c 65 | 72 20 6c 6f 63 61 6c 2d |x-traile|r local-|
|000053b0| 74 65 78 2d 74 72 61 69 | 6c 65 72 20 65 72 61 73 |tex-trai|ler eras|
|000053c0| 65 2d 62 75 66 66 65 72 | 20 69 6e 73 65 72 74 2d |e-buffer| insert-|
|000053d0| 73 74 72 69 6e 67 20 22 | 5c 6e 22 20 74 65 78 2d |string "|\n" tex-|
|000053e0| 73 65 74 2d 62 75 66 66 | 65 72 2d 64 69 72 65 63 |set-buff|er-direc|
|000053f0| 74 6f 72 79 20 74 65 78 | 2d 6c 61 73 74 2d 74 65 |tory tex|-last-te|
|00005400| 6d 70 2d 66 69 6c 65 20 | 74 65 78 2d 73 65 6e 64 |mp-file |tex-send|
|00005410| 2d 63 6f 6d 6d 61 6e 64 | 20 74 65 78 2d 73 68 65 |-command| tex-she|
|00005420| 6c 6c 2d 63 64 2d 63 6f | 6d 6d 61 6e 64 20 74 65 |ll-cd-co|mmand te|
|00005430| 78 2d 63 6f 6d 6d 61 6e | 64 20 74 65 78 2d 70 72 |x-comman|d tex-pr|
|00005440| 69 6e 74 2d 66 69 6c 65 | 20 74 65 78 2d 6c 61 73 |int-file| tex-las|
|00005450| 74 2d 62 75 66 66 65 72 | 2d 74 65 78 65 64 5d 20 |t-buffer|-texed] |
|00005460| 37 20 22 5c 0a 52 75 6e | 20 54 65 58 20 6f 6e 20 |7 "\.Run| TeX on |
|00005470| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|00005480| 6f 6e 2c 20 76 69 61 20 | 61 20 74 65 6d 70 6f 72 |on, via |a tempor|
|00005490| 61 72 79 20 66 69 6c 65 | 2e 0a 54 68 65 20 66 69 |ary file|..The fi|
|000054a0| 6c 65 27 73 20 6e 61 6d | 65 20 63 6f 6d 65 73 20 |le's nam|e comes |
|000054b0| 66 72 6f 6d 20 74 68 65 | 20 76 61 72 69 61 62 6c |from the| variabl|
|000054c0| 65 20 60 74 65 78 2d 7a | 61 70 2d 66 69 6c 65 27 |e `tex-z|ap-file'|
|000054d0| 20 61 6e 64 20 74 68 65 | 0a 76 61 72 69 61 62 6c | and the|.variabl|
|000054e0| 65 20 60 74 65 78 2d 64 | 69 72 65 63 74 6f 72 79 |e `tex-d|irectory|
|000054f0| 27 20 73 61 79 73 20 77 | 68 65 72 65 20 74 6f 20 |' says w|here to |
|00005500| 70 75 74 20 69 74 2e 0a | 0a 49 66 20 74 68 65 20 |put it..|.If the |
|00005510| 62 75 66 66 65 72 20 68 | 61 73 20 61 20 68 65 61 |buffer h|as a hea|
|00005520| 64 65 72 2c 20 74 68 65 | 20 68 65 61 64 65 72 20 |der, the| header |
|00005530| 69 73 20 67 69 76 65 6e | 20 74 6f 20 54 65 58 20 |is given| to TeX |
|00005540| 62 65 66 6f 72 65 20 74 | 68 65 0a 72 65 67 69 6f |before t|he.regio|
|00005550| 6e 20 69 74 73 65 6c 66 | 2e 20 20 54 68 65 20 62 |n itself|. The b|
|00005560| 75 66 66 65 72 27 73 20 | 68 65 61 64 65 72 20 69 |uffer's |header i|
|00005570| 73 20 61 6c 6c 20 6c 69 | 6e 65 73 20 62 65 74 77 |s all li|nes betw|
|00005580| 65 65 6e 20 74 68 65 20 | 73 74 72 69 6e 67 73 0a |een the |strings.|
|00005590| 64 65 66 69 6e 65 64 20 | 62 79 20 60 74 65 78 2d |defined |by `tex-|
|000055a0| 73 74 61 72 74 2d 6f 66 | 2d 68 65 61 64 65 72 27 |start-of|-header'|
|000055b0| 20 61 6e 64 20 60 74 65 | 78 2d 65 6e 64 2d 6f 66 | and `te|x-end-of|
|000055c0| 2d 68 65 61 64 65 72 27 | 20 69 6e 63 6c 75 73 69 |-header'| inclusi|
|000055d0| 76 65 2e 0a 54 68 65 20 | 68 65 61 64 65 72 20 6d |ve..The |header m|
|000055e0| 75 73 74 20 73 74 61 72 | 74 20 69 6e 20 74 68 65 |ust star|t in the|
|000055f0| 20 66 69 72 73 74 20 31 | 30 30 20 6c 69 6e 65 73 | first 1|00 lines|
|00005600| 20 6f 66 20 74 68 65 20 | 62 75 66 66 65 72 2e 0a | of the |buffer..|
|00005610| 0a 54 68 65 20 76 61 6c | 75 65 20 6f 66 20 60 74 |.The val|ue of `t|
|00005620| 65 78 2d 74 72 61 69 6c | 65 72 27 20 69 73 20 67 |ex-trail|er' is g|
|00005630| 69 76 65 6e 20 74 6f 20 | 54 65 58 20 61 73 20 69 |iven to |TeX as i|
|00005640| 6e 70 75 74 20 61 66 74 | 65 72 20 74 68 65 20 72 |nput aft|er the r|
|00005650| 65 67 69 6f 6e 2e 0a 0a | 54 68 65 20 76 61 6c 75 |egion...|The valu|
|00005660| 65 20 6f 66 20 60 74 65 | 78 2d 63 6f 6d 6d 61 6e |e of `te|x-comman|
|00005670| 64 27 20 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |d' speci|fies the|
|00005680| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 75 73 65 20 | command| to use |
|00005690| 74 6f 20 72 75 6e 20 54 | 65 58 2e 22 20 22 72 22 |to run T|eX." "r"|
|000056a0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 65 |]).(defa|lias 'te|
|000056b0| 78 2d 62 75 66 66 65 72 | 20 23 5b 6e 69 6c 20 22 |x-buffer| #[nil "|
|000056c0| c0 65 64 5c 22 87 22 20 | 5b 74 65 78 2d 72 65 67 |.ed\"." |[tex-reg|
|000056d0| 69 6f 6e 5d 20 33 20 22 | 5c 0a 52 75 6e 20 54 65 |ion] 3 "|\.Run Te|
|000056e0| 58 20 6f 6e 20 63 75 72 | 72 65 6e 74 20 62 75 66 |X on cur|rent buf|
|000056f0| 66 65 72 2e 20 20 53 65 | 65 20 5c 5c 5b 74 65 78 |fer. Se|e \\[tex|
|00005700| 2d 72 65 67 69 6f 6e 5d | 20 66 6f 72 20 6d 6f 72 |-region]| for mor|
|00005710| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 0a 44 |e inform|ation..D|
|00005720| 6f 65 73 20 6e 6f 74 20 | 73 61 76 65 20 74 68 65 |oes not |save the|
|00005730| 20 62 75 66 66 65 72 2c | 20 73 6f 20 69 74 27 73 | buffer,| so it's|
|00005740| 20 75 73 65 66 75 6c 20 | 66 6f 72 20 74 72 79 69 | useful |for tryi|
|00005750| 6e 67 20 65 78 70 65 72 | 69 6d 65 6e 74 61 6c 20 |ng exper|imental |
|00005760| 76 65 72 73 69 6f 6e 73 | 2e 0a 53 65 65 20 5c 5c |versions|..See \\|
|00005770| 5b 74 65 78 2d 66 69 6c | 65 5d 20 66 6f 72 20 61 |[tex-fil|e] for a|
|00005780| 6e 20 61 6c 74 65 72 6e | 61 74 69 76 65 2e 22 20 |n altern|ative." |
|00005790| 6e 69 6c 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |nil]).(d|efalias |
|000057a0| 27 74 65 78 2d 66 69 6c | 65 20 23 5b 6e 69 6c 20 |'tex-fil|e #[nil |
|000057b0| 22 c0 20 83 0c 00 c1 c0 | 20 21 82 0f 00 c2 c3 21 |". .....| !.....!|
|000057c0| c4 c0 20 21 1d 1e 06 0e | 07 83 1e 00 c8 20 88 c9 |.. !....|..... ..|
|000057d0| 20 83 29 00 ca 20 88 82 | 2c 00 cb 20 88 cc 0e 0d | .).. ..|,.. ....|
|000057e0| 0d 5c 22 88 cc 0e 0e 0e | 06 5c 22 88 2a 70 16 0f |.\".....|.\".*p..|
|000057f0| c0 20 89 16 10 87 22 20 | 5b 62 75 66 66 65 72 2d |. ...." |[buffer-|
|00005800| 66 69 6c 65 2d 6e 61 6d | 65 20 66 69 6c 65 2d 6e |file-nam|e file-n|
|00005810| 61 6d 65 2d 6e 6f 6e 64 | 69 72 65 63 74 6f 72 79 |ame-nond|irectory|
|00005820| 20 65 72 72 6f 72 20 22 | 42 75 66 66 65 72 20 64 | error "|Buffer d|
|00005830| 6f 65 73 20 6e 6f 74 20 | 73 65 65 6d 20 74 6f 20 |oes not |seem to |
|00005840| 62 65 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |be assoc|iated wi|
|00005850| 74 68 20 61 6e 79 20 66 | 69 6c 65 22 20 66 69 6c |th any f|ile" fil|
|00005860| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00005870| 20 66 69 6c 65 2d 64 69 | 72 20 74 65 78 2d 6f 75 | file-di|r tex-ou|
|00005880| 74 2d 66 69 6c 65 20 74 | 65 78 2d 6f 66 66 65 72 |t-file t|ex-offer|
|00005890| 2d 73 61 76 65 20 73 61 | 76 65 2d 73 6f 6d 65 2d |-save sa|ve-some-|
|000058a0| 62 75 66 66 65 72 73 20 | 74 65 78 2d 73 68 65 6c |buffers |tex-shel|
|000058b0| 6c 2d 72 75 6e 6e 69 6e | 67 20 74 65 78 2d 6b 69 |l-runnin|g tex-ki|
|000058c0| 6c 6c 2d 6a 6f 62 20 74 | 65 78 2d 73 74 61 72 74 |ll-job t|ex-start|
|000058d0| 2d 73 68 65 6c 6c 20 74 | 65 78 2d 73 65 6e 64 2d |-shell t|ex-send-|
|000058e0| 63 6f 6d 6d 61 6e 64 20 | 74 65 78 2d 73 68 65 6c |command |tex-shel|
|000058f0| 6c 2d 63 64 2d 63 6f 6d | 6d 61 6e 64 20 74 65 78 |l-cd-com|mand tex|
|00005900| 2d 63 6f 6d 6d 61 6e 64 | 20 74 65 78 2d 6c 61 73 |-command| tex-las|
|00005910| 74 2d 62 75 66 66 65 72 | 2d 74 65 78 65 64 20 74 |t-buffer|-texed t|
|00005920| 65 78 2d 70 72 69 6e 74 | 2d 66 69 6c 65 5d 20 33 |ex-print|-file] 3|
|00005930| 20 22 5c 0a 50 72 6f 6d | 70 74 20 74 6f 20 73 61 | "\.Prom|pt to sa|
|00005940| 76 65 20 61 6c 6c 20 62 | 75 66 66 65 72 73 20 61 |ve all b|uffers a|
|00005950| 6e 64 20 72 75 6e 20 54 | 65 58 20 28 6f 72 20 4c |nd run T|eX (or L|
|00005960| 61 54 65 58 29 20 6f 6e | 20 63 75 72 72 65 6e 74 |aTeX) on| current|
|00005970| 20 62 75 66 66 65 72 27 | 73 20 66 69 6c 65 2e 0a | buffer'|s file..|
|00005980| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |This fun|ction is|
|00005990| 20 6d 6f 72 65 20 75 73 | 65 66 75 6c 20 74 68 61 | more us|eful tha|
|000059a0| 6e 20 5c 5c 5b 74 65 78 | 2d 62 75 66 66 65 72 5d |n \\[tex|-buffer]|
|000059b0| 20 77 68 65 6e 20 79 6f | 75 20 6e 65 65 64 20 74 | when yo|u need t|
|000059c0| 68 65 0a 60 2e 61 75 78 | 27 20 66 69 6c 65 20 6f |he.`.aux|' file o|
|000059d0| 66 20 4c 61 54 65 58 20 | 74 6f 20 68 61 76 65 20 |f LaTeX |to have |
|000059e0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 6e 61 6d 65 |the corr|ect name|
|000059f0| 2e 22 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |." nil])|.(defali|
|00005a00| 61 73 20 27 74 65 78 2d | 67 65 6e 65 72 61 74 65 |as 'tex-|generate|
|00005a10| 2d 7a 61 70 2d 66 69 6c | 65 2d 6e 61 6d 65 20 23 |-zap-fil|e-name #|
|00005a20| 5b 6e 69 6c 20 22 c0 c1 | c2 c3 c4 21 21 c5 c6 20 |[nil "..|...!!.. |
|00005a30| 21 23 87 22 20 5b 66 6f | 72 6d 61 74 20 22 23 74 |!#." [fo|rmat "#t|
|00005a40| 7a 25 64 25 73 22 20 70 | 72 6f 63 65 73 73 2d 69 |z%d%s" p|rocess-i|
|00005a50| 64 20 67 65 74 2d 62 75 | 66 66 65 72 2d 70 72 6f |d get-bu|ffer-pro|
|00005a60| 63 65 73 73 20 22 2a 74 | 65 78 2d 73 68 65 6c 6c |cess "*t|ex-shell|
|00005a70| 2a 22 20 74 65 78 2d 73 | 74 72 69 70 2d 64 6f 74 |*" tex-s|trip-dot|
|00005a80| 73 20 73 79 73 74 65 6d | 2d 6e 61 6d 65 5d 20 35 |s system|-name] 5|
|00005a90| 20 22 5c 0a 47 65 6e 65 | 72 61 74 65 20 61 20 75 | "\.Gene|rate a u|
|00005aa0| 6e 69 71 75 65 20 6e 61 | 6d 65 20 73 75 69 74 61 |nique na|me suita|
|00005ab0| 62 6c 65 20 66 6f 72 20 | 75 73 65 20 61 73 20 61 |ble for |use as a|
|00005ac0| 20 66 69 6c 65 20 6e 61 | 6d 65 2e 22 5d 29 0a 28 | file na|me."]).(|
|00005ad0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 c2 5c 22 |byte-cod|e "...\"|
|00005ae0| 88 c0 c3 c4 5c 22 88 c0 | c5 c6 5c 22 87 22 20 5b |....\"..|..\"." [|
|00005af0| 64 65 66 61 6c 69 61 73 | 20 74 65 78 2d 73 74 72 |defalias| tex-str|
|00005b00| 69 70 2d 64 6f 74 73 20 | 23 5b 28 73 29 20 22 c0 |ip-dots |#[(s) ".|
|00005b10| 09 21 11 c2 c3 09 5c 22 | 83 14 00 09 c4 94 c5 49 |.!....\"|.......I|
|00005b20| 88 82 04 00 09 87 22 20 | 5b 63 6f 70 79 2d 73 65 |......" |[copy-se|
|00005b30| 71 75 65 6e 63 65 20 73 | 20 73 74 72 69 6e 67 2d |quence s| string-|
|00005b40| 6d 61 74 63 68 20 22 5c | 5c 2e 22 20 30 20 34 35 |match "\|\." 0 45|
|00005b50| 5d 20 33 5d 20 74 65 78 | 2d 65 78 70 61 6e 64 2d |] 3] tex|-expand-|
|00005b60| 66 69 6c 65 73 20 23 5b | 28 73 29 20 22 c0 c1 1a |files #[|(s) "...|
|00005b70| 1b c4 c5 0e 06 5c 6e 23 | 83 1c 00 0e 06 5c 6e c1 |.....\n#|.....\n.|
|00005b80| 94 4f 0b 42 13 c1 95 12 | 82 04 00 5c 6e c1 55 84 |.O.B....|...\n.U.|
|00005b90| 2a 00 0e 06 5c 6e c0 4f | 0b 42 13 c7 c8 0b 9f c5 |*...\n.O|.B......|
|00005ba0| 23 2a 87 22 20 5b 6e 69 | 6c 20 30 20 73 74 61 72 |#*." [ni|l 0 star|
|00005bb0| 74 20 65 6c 74 73 20 73 | 74 72 69 6e 67 2d 6d 61 |t elts s|tring-ma|
|00005bc0| 74 63 68 20 22 3a 22 20 | 73 20 6d 61 70 63 6f 6e |tch ":" |s mapcon|
|00005bd0| 63 61 74 20 65 78 70 61 | 6e 64 2d 66 69 6c 65 2d |cat expa|nd-file-|
|00005be0| 6e 61 6d 65 5d 20 34 5d | 20 74 65 78 2d 73 68 65 |name] 4]| tex-she|
|00005bf0| 6c 6c 2d 72 75 6e 6e 69 | 6e 67 20 23 5b 6e 69 6c |ll-runni|ng #[nil|
|00005c00| 20 22 c0 c1 21 85 0d 00 | c2 c0 c1 21 21 c3 3d 87 | "..!...|...!!.=.|
|00005c10| 22 20 5b 67 65 74 2d 70 | 72 6f 63 65 73 73 20 22 |" [get-p|rocess "|
|00005c20| 74 65 78 2d 73 68 65 6c | 6c 22 20 70 72 6f 63 65 |tex-shel|l" proce|
|00005c30| 73 73 2d 73 74 61 74 75 | 73 20 72 75 6e 5d 20 33 |ss-statu|s run] 3|
|00005c40| 5d 5d 20 33 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |]] 3).(d|efalias |
|00005c50| 27 74 65 78 2d 6b 69 6c | 6c 2d 6a 6f 62 20 23 5b |'tex-kil|l-job #[|
|00005c60| 6e 69 6c 20 22 c0 c1 c2 | 21 c3 5c 22 87 22 20 5b |nil "...|!.\"." [|
|00005c70| 71 75 69 74 2d 70 72 6f | 63 65 73 73 20 67 65 74 |quit-pro|cess get|
|00005c80| 2d 70 72 6f 63 65 73 73 | 20 22 74 65 78 2d 73 68 |-process| "tex-sh|
|00005c90| 65 6c 6c 22 20 74 5d 20 | 33 20 22 5c 0a 4b 69 6c |ell" t] |3 "\.Kil|
|00005ca0| 6c 20 74 68 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |l the cu|rrently |
|00005cb0| 72 75 6e 6e 69 6e 67 20 | 54 65 58 20 6a 6f 62 2e |running |TeX job.|
|00005cc0| 22 20 6e 69 6c 5d 29 0a | 28 64 65 66 61 6c 69 61 |" nil]).|(defalia|
|00005cd0| 73 20 27 74 65 78 2d 72 | 65 63 65 6e 74 65 72 2d |s 'tex-r|ecenter-|
|00005ce0| 6f 75 74 70 75 74 2d 62 | 75 66 66 65 72 20 23 5b |output-b|uffer #[|
|00005cf0| 28 6c 69 6e 65 6e 75 6d | 29 20 22 c0 c1 21 70 1a |(linenum|) "..!p.|
|00005d00| 89 1b 84 10 00 c4 c5 21 | 82 31 00 c6 0b 21 88 c7 |.......!|.1...!..|
|00005d10| 0b 21 88 64 62 88 c8 0e | 09 83 28 00 ca 0e 09 21 |.!.db...|..(....!|
|00005d20| 82 2c 00 cb 20 cc a5 21 | 88 c6 5c 6e 21 2a 87 22 |.,.. ..!|..\n!*."|
|00005d30| 20 5b 67 65 74 2d 62 75 | 66 66 65 72 20 22 2a 74 | [get-bu|ffer "*t|
|00005d40| 65 78 2d 73 68 65 6c 6c | 2a 22 20 6f 6c 64 2d 62 |ex-shell|*" old-b|
|00005d50| 75 66 66 65 72 20 74 65 | 78 2d 73 68 65 6c 6c 20 |uffer te|x-shell |
|00005d60| 6d 65 73 73 61 67 65 20 | 22 4e 6f 20 54 65 58 20 |message |"No TeX |
|00005d70| 6f 75 74 70 75 74 20 62 | 75 66 66 65 72 22 20 70 |output b|uffer" p|
|00005d80| 6f 70 2d 74 6f 2d 62 75 | 66 66 65 72 20 62 75 72 |op-to-bu|ffer bur|
|00005d90| 79 2d 62 75 66 66 65 72 | 20 72 65 63 65 6e 74 65 |y-buffer| recente|
|00005da0| 72 20 6c 69 6e 65 6e 75 | 6d 20 70 72 65 66 69 78 |r linenu|m prefix|
|00005db0| 2d 6e 75 6d 65 72 69 63 | 2d 76 61 6c 75 65 20 77 |-numeric|-value w|
|00005dc0| 69 6e 64 6f 77 2d 68 65 | 69 67 68 74 20 32 5d 20 |indow-he|ight 2] |
|00005dd0| 34 20 22 5c 0a 52 65 64 | 69 73 70 6c 61 79 20 62 |4 "\.Red|isplay b|
|00005de0| 75 66 66 65 72 20 6f 66 | 20 54 65 58 20 6a 6f 62 |uffer of| TeX job|
|00005df0| 20 6f 75 74 70 75 74 20 | 73 6f 20 74 68 61 74 20 | output |so that |
|00005e00| 6d 6f 73 74 20 72 65 63 | 65 6e 74 20 6f 75 74 70 |most rec|ent outp|
|00005e10| 75 74 20 63 61 6e 20 62 | 65 20 73 65 65 6e 2e 0a |ut can b|e seen..|
|00005e20| 54 68 65 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |The last| line of|
|00005e30| 20 74 68 65 20 62 75 66 | 66 65 72 20 69 73 20 64 | the buf|fer is d|
|00005e40| 69 73 70 6c 61 79 65 64 | 20 6f 6e 0a 6c 69 6e 65 |isplayed| on.line|
|00005e50| 20 4c 49 4e 45 20 6f 66 | 20 74 68 65 20 77 69 6e | LINE of| the win|
|00005e60| 64 6f 77 2c 20 6f 72 20 | 63 65 6e 74 65 72 65 64 |dow, or |centered|
|00005e70| 20 69 66 20 4c 49 4e 45 | 20 69 73 20 6e 69 6c 2e | if LINE| is nil.|
|00005e80| 22 20 22 50 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |" "P"]).|(defalia|
|00005e90| 73 20 27 74 65 78 2d 70 | 72 69 6e 74 20 23 5b 28 |s 'tex-p|rint #[(|
|00005ea0| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 6c 74 29 20 22 |&optiona|l alt) "|
|00005eb0| c0 09 c2 5c 22 c3 1c 1d | 70 0e 06 9a 84 1d 00 c7 |...\"...|p.......|
|00005ec0| c0 c8 20 c2 5c 22 89 14 | 0d 5c 22 83 1d 00 0c 15 |.. .\"..|.\".....|
|00005ed0| c9 0d 21 84 29 00 ca cb | 21 82 39 00 cc 0e 0d 83 |..!.)...|!.9.....|
|00005ee0| 34 00 0e 0e 82 36 00 0e | 0f 0d d0 23 2a 87 22 20 |4....6..|...#*." |
|00005ef0| 5b 74 65 78 2d 61 70 70 | 65 6e 64 20 74 65 78 2d |[tex-app|end tex-|
|00005f00| 70 72 69 6e 74 2d 66 69 | 6c 65 20 22 2e 64 76 69 |print-fi|le ".dvi|
|00005f10| 22 20 6e 69 6c 20 74 65 | 73 74 2d 6e 61 6d 65 20 |" nil te|st-name |
|00005f20| 70 72 69 6e 74 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |print-fi|le-name-|
|00005f30| 64 76 69 20 74 65 78 2d | 6c 61 73 74 2d 62 75 66 |dvi tex-|last-buf|
|00005f40| 66 65 72 2d 74 65 78 65 | 64 20 66 69 6c 65 2d 6e |fer-texe|d file-n|
|00005f50| 65 77 65 72 2d 74 68 61 | 6e 2d 66 69 6c 65 2d 70 |ewer-tha|n-file-p|
|00005f60| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d | buffer-|file-nam|
|00005f70| 65 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |e file-e|xists-p |
|00005f80| 65 72 72 6f 72 20 22 4e | 6f 20 61 70 70 72 6f 70 |error "N|o approp|
|00005f90| 72 69 61 74 65 20 60 2e | 64 76 69 27 20 66 69 6c |riate `.|dvi' fil|
|00005fa0| 65 20 63 6f 75 6c 64 20 | 62 65 20 66 6f 75 6e 64 |e could |be found|
|00005fb0| 22 20 74 65 78 2d 73 65 | 6e 64 2d 63 6f 6d 6d 61 |" tex-se|nd-comma|
|00005fc0| 6e 64 20 61 6c 74 20 74 | 65 78 2d 61 6c 74 2d 64 |nd alt t|ex-alt-d|
|00005fd0| 76 69 2d 70 72 69 6e 74 | 2d 63 6f 6d 6d 61 6e 64 |vi-print|-command|
|00005fe0| 20 74 65 78 2d 64 76 69 | 2d 70 72 69 6e 74 2d 63 | tex-dvi|-print-c|
|00005ff0| 6f 6d 6d 61 6e 64 20 74 | 5d 20 34 20 22 5c 0a 50 |ommand t|] 4 "\.P|
|00006000| 72 69 6e 74 20 74 68 65 | 20 2e 64 76 69 20 66 69 |rint the| .dvi fi|
|00006010| 6c 65 20 6d 61 64 65 20 | 62 79 20 5c 5c 5b 74 65 |le made |by \\[te|
|00006020| 78 2d 72 65 67 69 6f 6e | 5d 2c 20 5c 5c 5b 74 65 |x-region|], \\[te|
|00006030| 78 2d 62 75 66 66 65 72 | 5d 20 6f 72 20 5c 5c 5b |x-buffer|] or \\[|
|00006040| 74 65 78 2d 66 69 6c 65 | 5d 2e 0a 52 75 6e 73 20 |tex-file|]..Runs |
|00006050| 74 68 65 20 73 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |the shel|l comman|
|00006060| 64 20 64 65 66 69 6e 65 | 64 20 62 79 20 60 74 65 |d define|d by `te|
|00006070| 78 2d 64 76 69 2d 70 72 | 69 6e 74 2d 63 6f 6d 6d |x-dvi-pr|int-comm|
|00006080| 61 6e 64 27 2e 20 20 49 | 66 20 70 72 65 66 69 78 |and'. I|f prefix|
|00006090| 20 61 72 67 75 6d 65 6e | 74 0a 69 73 20 70 72 6f | argumen|t.is pro|
|000060a0| 76 69 64 65 64 2c 20 75 | 73 65 20 74 68 65 20 61 |vided, u|se the a|
|000060b0| 6c 74 65 72 6e 61 74 69 | 76 65 20 63 6f 6d 6d 61 |lternati|ve comma|
|000060c0| 6e 64 2c 20 60 74 65 78 | 2d 61 6c 74 2d 64 76 69 |nd, `tex|-alt-dvi|
|000060d0| 2d 70 72 69 6e 74 2d 63 | 6f 6d 6d 61 6e 64 27 2e |-print-c|ommand'.|
|000060e0| 22 20 22 50 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |" "P"]).|(defalia|
|000060f0| 73 20 27 74 65 78 2d 76 | 69 65 77 20 23 5b 6e 69 |s 'tex-v|iew #[ni|
|00006100| 6c 20 22 08 19 c2 20 29 | 87 22 20 5b 74 65 78 2d |l "... )|." [tex-|
|00006110| 64 76 69 2d 76 69 65 77 | 2d 63 6f 6d 6d 61 6e 64 |dvi-view|-command|
|00006120| 20 74 65 78 2d 64 76 69 | 2d 70 72 69 6e 74 2d 63 | tex-dvi|-print-c|
|00006130| 6f 6d 6d 61 6e 64 20 74 | 65 78 2d 70 72 69 6e 74 |ommand t|ex-print|
|00006140| 5d 20 31 20 22 5c 0a 50 | 72 65 76 69 65 77 20 74 |] 1 "\.P|review t|
|00006150| 68 65 20 6c 61 73 74 20 | 60 2e 64 76 69 27 20 66 |he last |`.dvi' f|
|00006160| 69 6c 65 20 6d 61 64 65 | 20 62 79 20 72 75 6e 6e |ile made| by runn|
|00006170| 69 6e 67 20 54 65 58 20 | 75 6e 64 65 72 20 45 6d |ing TeX |under Em|
|00006180| 61 63 73 2e 0a 54 68 69 | 73 20 6d 65 61 6e 73 2c |acs..Thi|s means,|
|00006190| 20 6d 61 64 65 20 75 73 | 69 6e 67 20 5c 5c 5b 74 | made us|ing \\[t|
|000061a0| 65 78 2d 72 65 67 69 6f | 6e 5d 2c 20 5c 5c 5b 74 |ex-regio|n], \\[t|
|000061b0| 65 78 2d 62 75 66 66 65 | 72 5d 20 6f 72 20 5c 5c |ex-buffe|r] or \\|
|000061c0| 5b 74 65 78 2d 66 69 6c | 65 5d 2e 0a 54 68 65 20 |[tex-fil|e]..The |
|000061d0| 76 61 72 69 61 62 6c 65 | 20 60 74 65 78 2d 64 76 |variable| `tex-dv|
|000061e0| 69 2d 76 69 65 77 2d 63 | 6f 6d 6d 61 6e 64 27 20 |i-view-c|ommand' |
|000061f0| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 73 68 |specifie|s the sh|
|00006200| 65 6c 6c 20 63 6f 6d 6d | 61 6e 64 20 66 6f 72 20 |ell comm|and for |
|00006210| 70 72 65 76 69 65 77 2e | 22 20 6e 69 6c 5d 29 0a |preview.|" nil]).|
|00006220| 28 64 65 66 61 6c 69 61 | 73 20 27 74 65 78 2d 61 |(defalia|s 'tex-a|
|00006230| 70 70 65 6e 64 20 23 5b | 28 66 69 6c 65 2d 6e 61 |ppend #[|(file-na|
|00006240| 6d 65 20 73 75 66 66 69 | 78 29 20 22 08 3b 83 18 |me suffi|x) ".;..|
|00006250| 00 c1 08 21 1a c3 08 21 | 5c 6e c4 c5 c6 5c 6e 5c |...!...!|\n...\n\|
|00006260| 22 4f 0e 07 51 29 87 c8 | 87 22 20 5b 66 69 6c 65 |"O..Q)..|." [file|
|00006270| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |-name fi|le-name-|
|00006280| 6e 6f 6e 64 69 72 65 63 | 74 6f 72 79 20 66 69 6c |nondirec|tory fil|
|00006290| 65 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |e file-n|ame-dire|
|000062a0| 63 74 6f 72 79 20 30 20 | 73 74 72 69 6e 67 2d 6d |ctory 0 |string-m|
|000062b0| 61 74 63 68 20 22 5c 5c | 2e 22 20 73 75 66 66 69 |atch "\\|." suffi|
|000062c0| 78 20 22 20 22 5d 20 36 | 20 22 5c 0a 41 70 70 65 |x " "] 6| "\.Appe|
|000062d0| 6e 64 20 74 6f 20 46 49 | 4c 45 4e 41 4d 45 20 74 |nd to FI|LENAME t|
|000062e0| 68 65 20 73 75 66 66 69 | 78 20 53 55 46 46 49 58 |he suffi|x SUFFIX|
|000062f0| 2c 20 75 73 69 6e 67 20 | 73 61 6d 65 20 61 6c 67 |, using |same alg|
|00006300| 6f 72 69 74 68 6d 20 54 | 65 58 20 75 73 65 73 2e |orithm T|eX uses.|
|00006310| 0a 53 63 61 6e 73 20 66 | 6f 72 20 74 68 65 20 66 |.Scans f|or the f|
|00006320| 69 72 73 74 20 28 6e 6f | 74 20 6c 61 73 74 29 20 |irst (no|t last) |
|00006330| 70 65 72 69 6f 64 2e 0a | 4e 6f 20 70 65 72 69 6f |period..|No perio|
|00006340| 64 20 69 73 20 72 65 74 | 61 69 6e 65 64 20 69 6d |d is ret|ained im|
|00006350| 6d 65 64 69 61 74 65 6c | 79 20 62 65 66 6f 72 65 |mediatel|y before|
|00006360| 20 53 55 46 46 49 58 2c | 0a 73 6f 20 6e 6f 72 6d | SUFFIX,|.so norm|
|00006370| 61 6c 6c 79 20 53 55 46 | 46 49 58 20 73 74 61 72 |ally SUF|FIX star|
|00006380| 74 73 20 77 69 74 68 20 | 6f 6e 65 2e 22 5d 29 0a |ts with |one."]).|
|00006390| 28 64 65 66 61 6c 69 61 | 73 20 27 74 65 78 2d 73 |(defalia|s 'tex-s|
|000063a0| 68 6f 77 2d 70 72 69 6e | 74 2d 71 75 65 75 65 20 |how-prin|t-queue |
|000063b0| 23 5b 6e 69 6c 20 22 c0 | 20 83 0b 00 c1 20 88 82 |#[nil ".| .... ..|
|000063c0| 0e 00 c2 20 88 c3 0c 21 | 87 22 20 5b 74 65 78 2d |... ...!|." [tex-|
|000063d0| 73 68 65 6c 6c 2d 72 75 | 6e 6e 69 6e 67 20 74 65 |shell-ru|nning te|
|000063e0| 78 2d 6b 69 6c 6c 2d 6a | 6f 62 20 74 65 78 2d 73 |x-kill-j|ob tex-s|
|000063f0| 74 61 72 74 2d 73 68 65 | 6c 6c 20 74 65 78 2d 73 |tart-she|ll tex-s|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.