home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / a2.0bemacs-src.lha / Emacs-19.25 / lisp / bibtex.elc < prev    next >
Emacs Compiled Lisp  |  1994-05-30  |  30.3 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
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



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 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 4d 6f 6e 20 | 4d 61 79 20 33 30 20 30 | on Mon |May 30 0|
|00000040| 36 3a 33 32 3a 35 37 20 | 31 39 39 34 0a 3b 3b 3b |6:32:57 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 62 69 62 74 65 78 | 2e 65 6c 0a 3b 3b 3b 20 |p/bibtex|.el.;;; |
|00000080| 65 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 31 39 |emacs ve|rsion 19|
|00000090| 2e 32 33 2e 39 30 2e 31 | 2e 0a 3b 3b 3b 20 62 79 |.23.90.1|..;;; by|
|000000a0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 46 |tecomp v|ersion F|
|000000b0| 53 46 20 32 2e 31 30 0a | 3b 3b 3b 20 6f 70 74 69 |SF 2.10.|;;; opti|
|000000c0| 6d 69 7a 61 74 69 6f 6e | 20 69 73 20 6f 6e 2e 0a |mization| is on..|
|000000d0| 3b 3b 3b 20 74 68 69 73 | 20 66 69 6c 65 20 75 73 |;;; this| file us|
|000000e0| 65 73 20 6f 70 63 6f 64 | 65 73 20 77 68 69 63 68 |es opcod|es which|
|000000f0| 20 64 6f 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e | do not |exist in|
|00000100| 20 45 6d 61 63 73 20 31 | 38 2e 0a 0a 28 69 66 20 | Emacs 1|8...(if |
|00000110| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000120| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000130| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000140| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|00000150| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|00000160| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|00000170| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|00000180| 6f 6e 20 22 31 39 22 29 | 29 29 0a 20 20 20 20 28 |on "19")|)). (|
|00000190| 65 72 72 6f 72 20 22 60 | 2f 68 6f 6d 65 2f 66 73 |error "`|/home/fs|
|000001a0| 66 2f 72 6d 73 2f 65 31 | 39 2f 6c 69 73 70 2f 62 |f/rms/e1|9/lisp/b|
|000001b0| 69 62 74 65 78 2e 65 6c | 27 20 77 61 73 20 63 6f |ibtex.el|' was co|
|000001c0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001d0| 20 31 39 22 29 29 0a 0a | 28 62 79 74 65 2d 63 6f | 19"))..|(byte-co|
|000001e0| 64 65 20 22 c0 c1 21 88 | c2 c3 21 84 0f 00 c4 c3 |de "..!.|..!.....|
|000001f0| c5 5c 22 88 c2 c6 21 84 | 1a 00 c4 c6 c7 5c 22 88 |.\"...!.|.....\".|
|00000200| c0 87 22 20 5b 70 72 6f | 76 69 64 65 20 62 69 62 |.." [pro|vide bib|
|00000210| 74 65 78 20 66 62 6f 75 | 6e 64 70 20 74 65 78 2d |tex fbou|ndp tex-|
|00000220| 69 6e 73 65 72 74 2d 71 | 75 6f 74 65 20 61 75 74 |insert-q|uote aut|
|00000230| 6f 6c 6f 61 64 20 22 74 | 65 78 2d 6d 6f 64 65 22 |oload "t|ex-mode"|
|00000240| 20 73 6f 72 74 2d 73 75 | 62 72 20 22 73 6f 72 74 | sort-su|br "sort|
|00000250| 22 5d 20 33 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |"] 3).(d|efalias |
|00000260| 27 73 74 72 69 6e 67 2d | 65 71 75 61 6c 70 20 23 |'string-|equalp #|
|00000270| 5b 28 73 31 20 73 32 29 | 20 22 08 39 83 0b 00 c1 |[(s1 s2)| ".9....|
|00000280| 08 21 82 5c 66 00 08 5c | 6e 39 83 17 00 c1 5c 6e |.!.\f..\|n9....\n|
|00000290| 21 82 18 00 5c 6e 1b 89 | 1c 47 0b 47 55 85 27 00 |!...\n..|.G.GU.'.|
|000002a0| 5c 66 96 0b 96 98 2a 87 | 22 20 5b 73 31 20 73 79 |\f....*.|" [s1 sy|
|000002b0| 6d 62 6f 6c 2d 6e 61 6d | 65 20 73 32 20 73 73 32 |mbol-nam|e s2 ss2|
|000002c0| 20 73 73 31 5d 20 34 20 | 22 5c 0a 4c 69 6b 65 20 | ss1] 4 |"\.Like |
|000002d0| 73 74 72 69 6e 67 3d 20 | 65 78 63 65 70 74 20 64 |string= |except d|
|000002e0| 69 66 66 65 72 65 6e 63 | 65 73 20 69 6e 20 63 61 |ifferenc|es in ca|
|000002f0| 73 65 20 61 72 65 20 69 | 67 6e 6f 72 65 64 2e 22 |se are i|gnored."|
|00000300| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 70 75 |]).(defa|lias 'pu|
|00000310| 74 2d 73 74 72 69 6e 67 | 2d 6f 6e 2d 6b 69 6c 6c |t-string|-on-kill|
|00000320| 2d 72 69 6e 67 20 23 5b | 28 73 74 72 69 6e 67 29 |-ring #[|(string)|
|00000330| 20 22 08 09 42 89 11 47 | 5c 6e 56 83 12 00 5c 6e | "..B..G|\nV...\n|
|00000340| 53 09 9b c3 a1 88 09 89 | 14 87 22 20 5b 73 74 72 |S.......|.." [str|
|00000350| 69 6e 67 20 6b 69 6c 6c | 2d 72 69 6e 67 20 6b 69 |ing kill|-ring ki|
|00000360| 6c 6c 2d 72 69 6e 67 2d | 6d 61 78 20 6e 69 6c 20 |ll-ring-|max nil |
|00000370| 6b 69 6c 6c 2d 72 69 6e | 67 2d 79 61 6e 6b 2d 70 |kill-rin|g-yank-p|
|00000380| 6f 69 6e 74 65 72 5d 20 | 33 20 22 5c 0a 4d 61 6b |ointer] |3 "\.Mak|
|00000390| 65 20 53 54 52 49 4e 47 | 20 62 65 20 74 68 65 20 |e STRING| be the |
|000003a0| 66 69 72 73 74 20 65 6c | 65 6d 65 6e 74 20 6f 66 |first el|ement of|
|000003b0| 20 74 68 65 20 6b 69 6c | 6c 20 72 69 6e 67 2e 22 | the kil|l ring."|
|000003c0| 5d 29 0a 28 64 65 66 76 | 61 72 20 62 69 62 74 65 |]).(defv|ar bibte|
|000003d0| 78 2d 63 6c 65 61 6e 2d | 65 6e 74 72 79 2d 7a 61 |x-clean-|entry-za|
|000003e0| 70 2d 65 6d 70 74 79 2d | 6f 70 74 73 20 74 20 22 |p-empty-|opts t "|
|000003f0| 5c 0a 2a 49 66 20 6e 6f | 6e 2d 6e 69 6c 2c 20 62 |\.*If no|n-nil, b|
|00000400| 69 62 74 65 78 2d 63 6c | 65 61 6e 2d 65 6e 74 72 |ibtex-cl|ean-entr|
|00000410| 79 20 77 69 6c 6c 20 64 | 65 6c 65 74 65 20 61 6c |y will d|elete al|
|00000420| 6c 20 65 6d 70 74 79 20 | 6f 70 74 69 6f 6e 61 6c |l empty |optional|
|00000430| 20 66 69 65 6c 64 73 2e | 22 29 0a 28 64 65 66 76 | fields.|").(defv|
|00000440| 61 72 20 62 69 62 74 65 | 78 2d 69 6e 63 6c 75 64 |ar bibte|x-includ|
|00000450| 65 2d 4f 50 54 63 72 6f | 73 73 72 65 66 20 74 20 |e-OPTcro|ssref t |
|00000460| 22 5c 0a 2a 49 66 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |"\.*If n|on-nil, |
|00000470| 61 6c 6c 20 65 6e 74 72 | 69 65 73 20 77 69 6c 6c |all entr|ies will|
|00000480| 20 68 61 76 65 20 61 6e | 20 4f 50 54 63 72 6f 73 | have an| OPTcros|
|00000490| 73 72 65 66 20 66 69 65 | 6c 64 2e 22 29 0a 28 64 |sref fie|ld.").(d|
|000004a0| 65 66 76 61 72 20 62 69 | 62 74 65 78 2d 69 6e 63 |efvar bi|btex-inc|
|000004b0| 6c 75 64 65 2d 4f 50 54 | 6b 65 79 20 74 20 22 5c |lude-OPT|key t "\|
|000004c0| 0a 2a 49 66 20 6e 6f 6e | 2d 6e 69 6c 2c 20 61 6c |.*If non|-nil, al|
|000004d0| 6c 20 65 6e 74 72 69 65 | 73 20 77 69 6c 6c 20 68 |l entrie|s will h|
|000004e0| 61 76 65 20 61 6e 20 4f | 50 54 6b 65 79 20 66 69 |ave an O|PTkey fi|
|000004f0| 65 6c 64 2e 22 29 0a 28 | 64 65 66 76 61 72 20 62 |eld.").(|defvar b|
|00000500| 69 62 74 65 78 2d 69 6e | 63 6c 75 64 65 2d 4f 50 |ibtex-in|clude-OP|
|00000510| 54 61 6e 6e 6f 74 65 20 | 74 20 22 5c 0a 2a 49 66 |Tannote |t "\.*If|
|00000520| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 61 6c 6c 20 65 6e | non-nil|, all en|
|00000530| 74 72 69 65 73 20 77 69 | 6c 6c 20 68 61 76 65 20 |tries wi|ll have |
|00000540| 61 6e 20 4f 50 54 61 6e | 6e 6f 74 65 20 66 69 65 |an OPTan|note fie|
|00000550| 6c 64 2e 22 29 0a 28 64 | 65 66 76 61 72 20 62 69 |ld.").(d|efvar bi|
|00000560| 62 74 65 78 2d 6d 6f 64 | 65 2d 75 73 65 72 2d 6f |btex-mod|e-user-o|
|00000570| 70 74 69 6f 6e 61 6c 2d | 66 69 65 6c 64 73 20 6e |ptional-|fields n|
|00000580| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 6f |il "\.*L|ist of o|
|00000590| 70 74 69 6f 6e 61 6c 20 | 66 69 65 6c 64 73 20 74 |ptional |fields t|
|000005a0| 68 61 74 20 75 73 65 72 | 20 77 61 6e 74 20 74 6f |hat user| want to|
|000005b0| 20 68 61 76 65 20 61 73 | 20 61 6c 77 61 79 73 20 | have as| always |
|000005c0| 70 72 65 73 65 6e 74 20 | 0a 77 68 65 6e 20 6d 61 |present |.when ma|
|000005d0| 6b 69 6e 67 20 61 20 62 | 69 62 74 65 78 20 65 6e |king a b|ibtex en|
|000005e0| 74 72 79 2e 20 20 4f 6e | 65 20 70 6f 73 73 69 62 |try. On|e possib|
|000005f0| 69 6c 69 74 79 20 69 73 | 20 66 6f 72 20 60 60 6b |ility is| for ``k|
|00000600| 65 79 77 6f 72 64 73 27 | 27 2e 20 20 0a 45 6e 74 |eywords'|'. .Ent|
|00000610| 72 69 65 73 20 63 61 6e | 20 62 65 20 65 69 74 68 |ries can| be eith|
|00000620| 65 72 20 73 74 72 69 6e | 67 73 20 6f 72 20 63 6f |er strin|gs or co|
|00000630| 6e 73 65 73 2c 20 69 6e | 20 77 68 69 63 68 20 63 |nses, in| which c|
|00000640| 61 73 65 20 74 68 65 20 | 63 61 72 20 73 68 6f 75 |ase the |car shou|
|00000650| 6c 64 20 62 65 20 0a 73 | 74 72 69 6e 67 20 61 6e |ld be .s|tring an|
|00000660| 64 20 74 68 65 20 63 64 | 72 20 74 68 65 20 76 61 |d the cd|r the va|
|00000670| 6c 75 65 20 74 6f 20 62 | 65 20 69 6e 73 65 72 74 |lue to b|e insert|
|00000680| 65 64 2e 22 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |ed.").(b|yte-code|
|00000690| 20 22 c0 c1 21 84 42 00 | c2 20 1b c4 c5 c6 0b 23 | "..!.B.|. .....#|
|000006a0| 88 c4 c7 c8 0b 23 88 c4 | c9 ca 0b 23 88 c4 cb cc |.....#..|...#....|
|000006b0| 0b 23 88 c4 cd cc 0b 23 | 88 c4 ce cf 0b 23 88 c4 |.#.....#|.....#..|
|000006c0| d0 d1 0b 23 88 c4 d2 d1 | 0b 23 88 c4 d3 d4 0b 23 |...#....|.#.....#|
|000006d0| 88 0b 29 11 c0 87 22 20 | 5b 62 6f 75 6e 64 70 20 |..)..." |[boundp |
|000006e0| 62 69 62 74 65 78 2d 6d | 6f 64 65 2d 73 79 6e 74 |bibtex-m|ode-synt|
|000006f0| 61 78 2d 74 61 62 6c 65 | 20 6d 61 6b 65 2d 73 79 |ax-table| make-sy|
|00000700| 6e 74 61 78 2d 74 61 62 | 6c 65 20 73 74 20 6d 6f |ntax-tab|le st mo|
|00000710| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|00000720| 79 20 33 34 20 22 5c 22 | 22 20 33 36 20 22 24 24 |y 34 "\"|" 36 "$$|
|00000730| 20 20 22 20 33 37 20 22 | 3c 20 20 20 22 20 33 39 | " 37 "|< " 39|
|00000740| 20 22 77 20 20 20 22 20 | 36 34 20 39 32 20 22 5c | "w " |64 92 "\|
|00000750| 5c 22 20 31 32 20 22 3e | 20 20 20 22 20 31 30 20 |\" 12 ">| " 10 |
|00000760| 31 32 36 20 22 20 22 5d | 20 34 29 0a 28 64 65 66 |126 " "]| 4).(def|
|00000770| 76 61 72 20 62 69 62 74 | 65 78 2d 6d 6f 64 65 2d |var bibt|ex-mode-|
|00000780| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 6e 69 6c |abbrev-t|able nil|
|00000790| 20 22 5c 0a 22 29 0a 28 | 62 79 74 65 2d 63 6f 64 | "\.").(|byte-cod|
|000007a0| 65 20 22 c0 c1 c2 5c 22 | 88 c3 c4 21 84 eb 00 c5 |e "...\"|...!....|
|000007b0| 20 1e 06 c7 0e 06 c8 c9 | 23 88 c7 0e 06 ca cb 23 | .......|#......#|
|000007c0| 88 c7 0e 06 cc cd 23 88 | c7 0e 06 ce cf 23 88 c7 |......#.|.....#..|
|000007d0| 0e 06 d0 d1 23 88 c7 0e | 06 d2 d3 23 88 c7 0e 06 |....#...|...#....|
|000007e0| d4 d5 23 88 c7 0e 06 d6 | d7 23 88 c7 0e 06 d8 d9 |..#.....|.#......|
|000007f0| 23 88 c7 0e 06 da db 23 | 88 c7 0e 06 dc dd 23 88 |#......#|......#.|
|00000800| c7 0e 06 de df 23 88 c7 | 0e 06 e0 e1 23 88 c7 0e |.....#..|....#...|
|00000810| 06 e2 e3 23 88 c7 0e 06 | e4 e5 23 88 c7 0e 06 e6 |...#....|..#.....|
|00000820| e7 23 88 c7 0e 06 e8 e9 | 23 88 c7 0e 06 ea eb 23 |.#......|#......#|
|00000830| 88 c7 0e 06 ec ed 23 88 | c7 0e 06 ee e9 23 88 c7 |......#.|.....#..|
|00000840| 0e 06 ef f0 23 88 c7 0e | 06 f1 f2 23 88 c7 0e 06 |....#...|...#....|
|00000850| f3 f4 23 88 c7 0e 06 f5 | f6 23 88 c7 0e 06 f7 f8 |..#.....|.#......|
|00000860| 23 88 c7 0e 06 f9 fa 23 | 88 c7 0e 06 fb fc 23 88 |#......#|......#.|
|00000870| c7 0e 06 fd fe 23 88 c7 | 0e 06 ff 81 40 00 23 88 |.....#..|....@.#.|
|00000880| c7 0e 06 81 41 00 81 42 | 00 23 88 0e 06 29 14 c2 |....A..B|.#...)..|
|00000890| 87 22 20 5b 64 65 66 69 | 6e 65 2d 61 62 62 72 65 |." [defi|ne-abbre|
|000008a0| 76 2d 74 61 62 6c 65 20 | 62 69 62 74 65 78 2d 6d |v-table |bibtex-m|
|000008b0| 6f 64 65 2d 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |ode-abbr|ev-table|
|000008c0| 20 6e 69 6c 20 62 6f 75 | 6e 64 70 20 62 69 62 74 | nil bou|ndp bibt|
|000008d0| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 6d 61 6b 65 |ex-mode-|map make|
|000008e0| 2d 73 70 61 72 73 65 2d | 6b 65 79 6d 61 70 20 6b |-sparse-|keymap k|
|000008f0| 6d 20 64 65 66 69 6e 65 | 2d 6b 65 79 20 22 09 22 |m define|-key "."|
|00000900| 20 62 69 62 74 65 78 2d | 66 69 6e 64 2d 74 65 78 | bibtex-|find-tex|
|00000910| 74 20 22 5c 6e 22 20 62 | 69 62 74 65 78 2d 6e 65 |t "\n" b|ibtex-ne|
|00000920| 78 74 2d 66 69 65 6c 64 | 20 22 03 5c 22 22 20 62 |xt-field| ".\"" b|
|00000930| 69 62 74 65 78 2d 72 65 | 6d 6f 76 65 2d 64 6f 75 |ibtex-re|move-dou|
|00000940| 62 6c 65 2d 71 75 6f 74 | 65 73 20 22 03 03 22 20 |ble-quot|es ".." |
|00000950| 62 69 62 74 65 78 2d 63 | 6c 65 61 6e 2d 65 6e 74 |bibtex-c|lean-ent|
|00000960| 72 79 20 22 03 3f 22 20 | 64 65 73 63 72 69 62 65 |ry ".?" |describe|
|00000970| 2d 6d 6f 64 65 20 22 03 | 10 22 20 62 69 62 74 65 |-mode ".|." bibte|
|00000980| 78 2d 70 6f 70 2d 70 72 | 65 76 69 6f 75 73 20 22 |x-pop-pr|evious "|
|00000990| 03 0e 22 20 62 69 62 74 | 65 78 2d 70 6f 70 2d 6e |.." bibt|ex-pop-n|
|000009a0| 65 78 74 20 22 03 0b 22 | 20 62 69 62 74 65 78 2d |ext ".."| bibtex-|
|000009b0| 6b 69 6c 6c 2d 6f 70 74 | 69 6f 6e 61 6c 2d 66 69 |kill-opt|ional-fi|
|000009c0| 65 6c 64 20 22 03 04 22 | 20 62 69 62 74 65 78 2d |eld ".."| bibtex-|
|000009d0| 65 6d 70 74 79 2d 66 69 | 65 6c 64 20 22 5c 22 22 |empty-fi|eld "\""|
|000009e0| 20 74 65 78 2d 69 6e 73 | 65 72 74 2d 71 75 6f 74 | tex-ins|ert-quot|
|000009f0| 65 20 22 03 24 22 20 69 | 73 70 65 6c 6c 2d 62 69 |e ".$" i|spell-bi|
|00000a00| 62 74 65 78 2d 65 6e 74 | 72 79 20 22 81 22 20 62 |btex-ent|ry "." b|
|00000a10| 65 67 69 6e 6e 69 6e 67 | 2d 6f 66 2d 62 69 62 74 |eginning|-of-bibt|
|00000a20| 65 78 2d 65 6e 74 72 79 | 20 22 85 22 20 65 6e 64 |ex-entry| "." end|
|00000a30| 2d 6f 66 2d 62 69 62 74 | 65 78 2d 65 6e 74 72 79 |-of-bibt|ex-entry|
|00000a40| 20 22 03 02 22 20 62 69 | 62 74 65 78 2d 65 6e 74 | ".." bi|btex-ent|
|00000a50| 72 79 20 22 03 05 01 22 | 20 62 69 62 74 65 78 2d |ry "..."| bibtex-|
|00000a60| 41 72 74 69 63 6c 65 20 | 22 03 05 02 22 20 62 69 |Article |"..." bi|
|00000a70| 62 74 65 78 2d 42 6f 6f | 6b 20 22 03 05 03 22 20 |btex-Boo|k "..." |
|00000a80| 62 69 62 74 65 78 2d 49 | 6e 50 72 6f 63 65 65 64 |bibtex-I|nProceed|
|00000a90| 69 6e 67 73 20 22 03 05 | 09 22 20 62 69 62 74 65 |ings "..|." bibte|
|00000aa0| 78 2d 49 6e 42 6f 6f 6b | 20 22 03 05 69 22 20 62 |x-InBook| "..i" b|
|00000ab0| 69 62 74 65 78 2d 49 6e | 43 6f 6c 6c 65 63 74 69 |ibtex-In|Collecti|
|00000ac0| 6f 6e 20 22 03 05 49 22 | 20 22 03 05 0d 22 20 62 |on "..I"| "..." b|
|00000ad0| 69 62 74 65 78 2d 4d 61 | 6e 75 61 6c 20 22 03 05 |ibtex-Ma|nual "..|
|00000ae0| 6d 22 20 62 69 62 74 65 | 78 2d 4d 61 73 74 65 72 |m" bibte|x-Master|
|00000af0| 73 54 68 65 73 69 73 20 | 22 03 05 4d 22 20 62 69 |sThesis |"..M" bi|
|00000b00| 62 74 65 78 2d 4d 69 73 | 63 20 22 03 0f 22 20 62 |btex-Mis|c ".." b|
|00000b10| 69 62 74 65 78 2d 72 65 | 6d 6f 76 65 2d 4f 50 54 |ibtex-re|move-OPT|
|00000b20| 20 22 03 05 10 22 20 62 | 69 62 74 65 78 2d 50 68 | "..." b|ibtex-Ph|
|00000b30| 64 54 68 65 73 69 73 20 | 22 03 05 70 22 20 62 69 |dThesis |"..p" bi|
|00000b40| 62 74 65 78 2d 50 72 6f | 63 65 65 64 69 6e 67 73 |btex-Pro|ceedings|
|00000b50| 20 22 03 05 50 22 20 62 | 69 62 74 65 78 2d 70 72 | "..P" b|ibtex-pr|
|00000b60| 65 61 6d 62 6c 65 20 22 | 03 05 14 22 20 62 69 62 |eamble "|..." bib|
|00000b70| 74 65 78 2d 54 65 63 68 | 52 65 70 6f 72 74 20 22 |tex-Tech|Report "|
|00000b80| 03 05 13 22 20 62 69 62 | 74 65 78 2d 73 74 72 69 |..." bib|tex-stri|
|00000b90| 6e 67 20 22 03 05 15 22 | 20 62 69 62 74 65 78 2d |ng "..."| bibtex-|
|00000ba0| 55 6e 70 75 62 6c 69 73 | 68 65 64 5d 20 34 29 0a |Unpublis|hed] 4).|
|00000bb0| 28 64 65 66 76 61 72 20 | 62 69 62 74 65 78 2d 70 |(defvar |bibtex-p|
|00000bc0| 6f 70 2d 70 72 65 76 69 | 6f 75 73 2d 73 65 61 72 |op-previ|ous-sear|
|00000bd0| 63 68 2d 70 6f 69 6e 74 | 20 6e 69 6c 20 22 5c 0a |ch-point| nil "\.|
|00000be0| 4e 65 78 74 20 70 6f 69 | 6e 74 20 77 68 65 72 65 |Next poi|nt where|
|00000bf0| 20 62 69 62 74 65 78 2d | 70 6f 70 2d 70 72 65 76 | bibtex-|pop-prev|
|00000c00| 69 6f 75 73 20 73 68 6f | 75 6c 64 20 73 74 61 72 |ious sho|uld star|
|00000c10| 74 20 6c 6f 6f 6b 69 6e | 67 20 66 6f 72 20 61 20 |t lookin|g for a |
|00000c20| 73 69 6d 69 6c 61 72 0a | 65 6e 74 72 79 2e 22 29 |similar.|entry.")|
|00000c30| 0a 28 64 65 66 76 61 72 | 20 62 69 62 74 65 78 2d |.(defvar| bibtex-|
|00000c40| 70 6f 70 2d 6e 65 78 74 | 2d 73 65 61 72 63 68 2d |pop-next|-search-|
|00000c50| 70 6f 69 6e 74 20 6e 69 | 6c 20 22 5c 0a 4e 65 78 |point ni|l "\.Nex|
|00000c60| 74 20 70 6f 69 6e 74 20 | 77 68 65 72 65 20 62 69 |t point |where bi|
|00000c70| 62 74 65 78 2d 70 6f 70 | 2d 6e 65 78 74 20 73 68 |btex-pop|-next sh|
|00000c80| 6f 75 6c 64 20 73 74 61 | 72 74 20 6c 6f 6f 6b 69 |ould sta|rt looki|
|00000c90| 6e 67 20 66 6f 72 20 61 | 20 73 69 6d 69 6c 61 72 |ng for a| similar|
|00000ca0| 0a 65 6e 74 72 79 2e 22 | 29 0a 28 64 65 66 76 61 |.entry."|).(defva|
|00000cb0| 72 20 62 69 62 74 65 78 | 2d 65 6e 74 72 79 2d 66 |r bibtex|-entry-f|
|00000cc0| 69 65 6c 64 2d 61 6c 69 | 73 74 20 28 71 75 6f 74 |ield-ali|st (quot|
|00000cd0| 65 20 28 28 22 41 72 74 | 69 63 6c 65 22 20 28 28 |e (("Art|icle" ((|
|00000ce0| 22 61 75 74 68 6f 72 22 | 20 22 74 69 74 6c 65 22 |"author"| "title"|
|00000cf0| 20 22 6a 6f 75 72 6e 61 | 6c 22 20 22 79 65 61 72 | "journa|l" "year|
|00000d00| 22 29 20 28 22 76 6f 6c | 75 6d 65 22 20 22 6e 75 |") ("vol|ume" "nu|
|00000d10| 6d 62 65 72 22 20 22 70 | 61 67 65 73 22 20 22 6d |mber" "p|ages" "m|
|00000d20| 6f 6e 74 68 22 20 22 6e | 6f 74 65 22 29 29 20 28 |onth" "n|ote")) (|
|00000d30| 28 22 61 75 74 68 6f 72 | 22 20 22 74 69 74 6c 65 |("author|" "title|
|00000d40| 22 29 20 28 22 6a 6f 75 | 72 6e 61 6c 22 20 22 79 |") ("jou|rnal" "y|
|00000d50| 65 61 72 22 20 22 76 6f | 6c 75 6d 65 22 20 22 6e |ear" "vo|lume" "n|
|00000d60| 75 6d 62 65 72 22 20 22 | 70 61 67 65 73 22 20 22 |umber" "|pages" "|
|00000d70| 6d 6f 6e 74 68 22 20 22 | 6e 6f 74 65 22 29 29 29 |month" "|note")))|
|00000d80| 20 28 22 42 6f 6f 6b 22 | 20 28 28 22 61 75 74 68 | ("Book"| (("auth|
|00000d90| 6f 72 22 20 22 74 69 74 | 6c 65 22 20 22 70 75 62 |or" "tit|le" "pub|
|00000da0| 6c 69 73 68 65 72 22 20 | 22 79 65 61 72 22 29 20 |lisher" |"year") |
|00000db0| 28 22 65 64 69 74 6f 72 | 22 20 22 76 6f 6c 75 6d |("editor|" "volum|
|00000dc0| 65 22 20 22 6e 75 6d 62 | 65 72 22 20 22 73 65 72 |e" "numb|er" "ser|
|00000dd0| 69 65 73 22 20 22 61 64 | 64 72 65 73 73 22 20 22 |ies" "ad|dress" "|
|00000de0| 65 64 69 74 69 6f 6e 22 | 20 22 6d 6f 6e 74 68 22 |edition"| "month"|
|00000df0| 20 22 6e 6f 74 65 22 29 | 29 29 20 28 22 42 6f 6f | "note")|)) ("Boo|
|00000e00| 6b 6c 65 74 22 20 28 28 | 22 74 69 74 6c 65 22 29 |klet" ((|"title")|
|00000e10| 20 28 22 61 75 74 68 6f | 72 22 20 22 68 6f 77 70 | ("autho|r" "howp|
|00000e20| 75 62 6c 69 73 68 65 64 | 22 20 22 61 64 64 72 65 |ublished|" "addre|
|00000e30| 73 73 22 20 22 6d 6f 6e | 74 68 22 20 22 79 65 61 |ss" "mon|th" "yea|
|00000e40| 72 22 20 22 6e 6f 74 65 | 22 29 29 29 20 28 22 49 |r" "note|"))) ("I|
|00000e50| 6e 42 6f 6f 6b 22 20 28 | 28 22 61 75 74 68 6f 72 |nBook" (|("author|
|00000e60| 22 20 22 74 69 74 6c 65 | 22 20 22 63 68 61 70 74 |" "title|" "chapt|
|00000e70| 65 72 22 20 22 70 75 62 | 6c 69 73 68 65 72 22 20 |er" "pub|lisher" |
|00000e80| 22 79 65 61 72 22 29 20 | 28 22 65 64 69 74 6f 72 |"year") |("editor|
|00000e90| 22 20 22 70 61 67 65 73 | 22 20 22 76 6f 6c 75 6d |" "pages|" "volum|
|00000ea0| 65 22 20 22 6e 75 6d 62 | 65 72 22 20 22 73 65 72 |e" "numb|er" "ser|
|00000eb0| 69 65 73 22 20 22 61 64 | 64 72 65 73 73 22 20 22 |ies" "ad|dress" "|
|00000ec0| 65 64 69 74 69 6f 6e 22 | 20 22 6d 6f 6e 74 68 22 |edition"| "month"|
|00000ed0| 20 22 74 79 70 65 22 20 | 22 6e 6f 74 65 22 29 29 | "type" |"note"))|
|00000ee0| 20 28 28 22 61 75 74 68 | 6f 72 22 20 22 74 69 74 | (("auth|or" "tit|
|00000ef0| 6c 65 22 20 22 63 68 61 | 70 74 65 72 22 29 20 28 |le" "cha|pter") (|
|00000f00| 22 70 75 62 6c 69 73 68 | 65 72 22 20 22 79 65 61 |"publish|er" "yea|
|00000f10| 72 22 20 22 65 64 69 74 | 6f 72 22 20 22 70 61 67 |r" "edit|or" "pag|
|00000f20| 65 73 22 20 22 76 6f 6c | 75 6d 65 22 20 22 6e 75 |es" "vol|ume" "nu|
|00000f30| 6d 62 65 72 22 20 22 73 | 65 72 69 65 73 22 20 22 |mber" "s|eries" "|
|00000f40| 61 64 64 72 65 73 73 22 | 20 22 65 64 69 74 69 6f |address"| "editio|
|00000f50| 6e 22 20 22 6d 6f 6e 74 | 68 22 20 22 74 79 70 65 |n" "mont|h" "type|
|00000f60| 22 20 22 6e 6f 74 65 22 | 29 29 29 20 28 22 49 6e |" "note"|))) ("In|
|00000f70| 43 6f 6c 6c 65 63 74 69 | 6f 6e 22 20 28 28 22 61 |Collecti|on" (("a|
|00000f80| 75 74 68 6f 72 22 20 22 | 74 69 74 6c 65 22 20 22 |uthor" "|title" "|
|00000f90| 62 6f 6f 6b 74 69 74 6c | 65 22 20 22 70 75 62 6c |booktitl|e" "publ|
|00000fa0| 69 73 68 65 72 22 20 22 | 79 65 61 72 22 29 20 28 |isher" "|year") (|
|00000fb0| 22 65 64 69 74 6f 72 22 | 20 22 76 6f 6c 75 6d 65 |"editor"| "volume|
|00000fc0| 22 20 22 6e 75 6d 62 65 | 72 22 20 22 73 65 72 69 |" "numbe|r" "seri|
|00000fd0| 65 73 22 20 22 74 79 70 | 65 22 20 22 63 68 61 70 |es" "typ|e" "chap|
|00000fe0| 74 65 72 22 20 22 70 61 | 67 65 73 22 20 22 61 64 |ter" "pa|ges" "ad|
|00000ff0| 64 72 65 73 73 22 20 22 | 65 64 69 74 69 6f 6e 22 |dress" "|edition"|
|00001000| 20 22 6d 6f 6e 74 68 22 | 20 22 6e 6f 74 65 22 29 | "month"| "note")|
|00001010| 29 20 28 28 22 61 75 74 | 68 6f 72 22 20 22 74 69 |) (("aut|hor" "ti|
|00001020| 74 6c 65 22 29 20 28 22 | 62 6f 6f 6b 74 69 74 6c |tle") ("|booktitl|
|00001030| 65 22 20 22 70 75 62 6c | 69 73 68 65 72 22 20 22 |e" "publ|isher" "|
|00001040| 79 65 61 72 22 20 22 65 | 64 69 74 6f 72 22 20 22 |year" "e|ditor" "|
|00001050| 76 6f 6c 75 6d 65 22 20 | 22 6e 75 6d 62 65 72 22 |volume" |"number"|
|00001060| 20 22 73 65 72 69 65 73 | 22 20 22 74 79 70 65 22 | "series|" "type"|
|00001070| 20 22 63 68 61 70 74 65 | 72 22 20 22 70 61 67 65 | "chapte|r" "page|
|00001080| 73 22 20 22 61 64 64 72 | 65 73 73 22 20 22 65 64 |s" "addr|ess" "ed|
|00001090| 69 74 69 6f 6e 22 20 22 | 6d 6f 6e 74 68 22 20 22 |ition" "|month" "|
|000010a0| 6e 6f 74 65 22 29 29 29 | 20 28 22 49 6e 50 72 6f |note")))| ("InPro|
|000010b0| 63 65 65 64 69 6e 67 73 | 22 20 28 28 22 61 75 74 |ceedings|" (("aut|
|000010c0| 68 6f 72 22 20 22 74 69 | 74 6c 65 22 20 22 62 6f |hor" "ti|tle" "bo|
|000010d0| 6f 6b 74 69 74 6c 65 22 | 20 22 79 65 61 72 22 29 |oktitle"| "year")|
|000010e0| 20 28 22 65 64 69 74 6f | 72 22 20 22 76 6f 6c 75 | ("edito|r" "volu|
|000010f0| 6d 65 22 20 22 6e 75 6d | 62 65 72 22 20 22 73 65 |me" "num|ber" "se|
|00001100| 72 69 65 73 22 20 22 70 | 61 67 65 73 22 20 22 6f |ries" "p|ages" "o|
|00001110| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 22 20 22 70 75 |rganizat|ion" "pu|
|00001120| 62 6c 69 73 68 65 72 22 | 20 22 61 64 64 72 65 73 |blisher"| "addres|
|00001130| 73 22 20 22 6d 6f 6e 74 | 68 22 20 22 6e 6f 74 65 |s" "mont|h" "note|
|00001140| 22 29 29 20 28 28 22 61 | 75 74 68 6f 72 22 20 22 |")) (("a|uthor" "|
|00001150| 74 69 74 6c 65 22 29 20 | 28 22 65 64 69 74 6f 72 |title") |("editor|
|00001160| 22 20 22 76 6f 6c 75 6d | 65 22 20 22 6e 75 6d 62 |" "volum|e" "numb|
|00001170| 65 72 22 20 22 73 65 72 | 69 65 73 22 20 22 70 61 |er" "ser|ies" "pa|
|00001180| 67 65 73 22 20 22 62 6f | 6f 6b 74 69 74 6c 65 22 |ges" "bo|oktitle"|
|00001190| 20 22 79 65 61 72 22 20 | 22 6f 72 67 61 6e 69 7a | "year" |"organiz|
|000011a0| 61 74 69 6f 6e 22 20 22 | 70 75 62 6c 69 73 68 65 |ation" "|publishe|
|000011b0| 72 22 20 22 61 64 64 72 | 65 73 73 22 20 22 6d 6f |r" "addr|ess" "mo|
|000011c0| 6e 74 68 22 20 22 6e 6f | 74 65 22 29 29 29 20 28 |nth" "no|te"))) (|
|000011d0| 22 4d 61 6e 75 61 6c 22 | 20 28 28 22 74 69 74 6c |"Manual"| (("titl|
|000011e0| 65 22 29 20 28 22 61 75 | 74 68 6f 72 22 20 22 6f |e") ("au|thor" "o|
|000011f0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 22 20 22 61 64 |rganizat|ion" "ad|
|00001200| 64 72 65 73 73 22 20 22 | 65 64 69 74 69 6f 6e 22 |dress" "|edition"|
|00001210| 20 22 79 65 61 72 22 20 | 22 6d 6f 6e 74 68 22 20 | "year" |"month" |
|00001220| 22 6e 6f 74 65 22 29 29 | 29 20 28 22 4d 61 73 74 |"note"))|) ("Mast|
|00001230| 65 72 73 54 68 65 73 69 | 73 22 20 28 28 22 61 75 |ersThesi|s" (("au|
|00001240| 74 68 6f 72 22 20 22 74 | 69 74 6c 65 22 20 22 73 |thor" "t|itle" "s|
|00001250| 63 68 6f 6f 6c 22 20 22 | 79 65 61 72 22 29 20 28 |chool" "|year") (|
|00001260| 22 61 64 64 72 65 73 73 | 22 20 22 6d 6f 6e 74 68 |"address|" "month|
|00001270| 22 20 22 6e 6f 74 65 22 | 20 22 74 79 70 65 22 29 |" "note"| "type")|
|00001280| 29 29 20 28 22 4d 69 73 | 63 22 20 28 6e 69 6c 20 |)) ("Mis|c" (nil |
|00001290| 28 22 61 75 74 68 6f 72 | 22 20 22 74 69 74 6c 65 |("author|" "title|
|000012a0| 22 20 22 68 6f 77 70 75 | 62 6c 69 73 68 65 64 22 |" "howpu|blished"|
|000012b0| 20 22 79 65 61 72 22 20 | 22 6d 6f 6e 74 68 22 20 | "year" |"month" |
|000012c0| 22 6e 6f 74 65 22 29 29 | 29 20 28 22 50 68 64 54 |"note"))|) ("PhdT|
|000012d0| 68 65 73 69 73 22 20 28 | 28 22 61 75 74 68 6f 72 |hesis" (|("author|
|000012e0| 22 20 22 74 69 74 6c 65 | 22 20 22 73 63 68 6f 6f |" "title|" "schoo|
|000012f0| 6c 22 20 22 79 65 61 72 | 22 29 20 28 22 61 64 64 |l" "year|") ("add|
|00001300| 72 65 73 73 22 20 22 6d | 6f 6e 74 68 22 20 22 74 |ress" "m|onth" "t|
|00001310| 79 70 65 22 20 22 6e 6f | 74 65 22 29 29 29 20 28 |ype" "no|te"))) (|
|00001320| 22 50 72 6f 63 65 65 64 | 69 6e 67 73 22 20 28 28 |"Proceed|ings" ((|
|00001330| 22 74 69 74 6c 65 22 20 | 22 79 65 61 72 22 29 20 |"title" |"year") |
|00001340| 28 22 65 64 69 74 6f 72 | 22 20 22 76 6f 6c 75 6d |("editor|" "volum|
|00001350| 65 22 20 22 6e 75 6d 62 | 65 72 22 20 22 73 65 72 |e" "numb|er" "ser|
|00001360| 69 65 73 22 20 22 70 75 | 62 6c 69 73 68 65 72 22 |ies" "pu|blisher"|
|00001370| 20 22 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 22 20 | "organi|zation" |
|00001380| 22 61 64 64 72 65 73 73 | 22 20 22 6d 6f 6e 74 68 |"address|" "month|
|00001390| 22 20 22 6e 6f 74 65 22 | 29 29 29 20 28 22 54 65 |" "note"|))) ("Te|
|000013a0| 63 68 52 65 70 6f 72 74 | 22 20 28 28 22 61 75 74 |chReport|" (("aut|
|000013b0| 68 6f 72 22 20 22 74 69 | 74 6c 65 22 20 22 69 6e |hor" "ti|tle" "in|
|000013c0| 73 74 69 74 75 74 69 6f | 6e 22 20 22 79 65 61 72 |stitutio|n" "year|
|000013d0| 22 29 20 28 22 74 79 70 | 65 22 20 22 6e 75 6d 62 |") ("typ|e" "numb|
|000013e0| 65 72 22 20 22 61 64 64 | 72 65 73 73 22 20 22 6d |er" "add|ress" "m|
|000013f0| 6f 6e 74 68 22 20 22 6e | 6f 74 65 22 29 29 29 20 |onth" "n|ote"))) |
|00001400| 28 22 55 6e 70 75 62 6c | 69 73 68 65 64 22 20 28 |("Unpubl|ished" (|
|00001410| 28 22 61 75 74 68 6f 72 | 22 20 22 74 69 74 6c 65 |("author|" "title|
|00001420| 22 20 22 6e 6f 74 65 22 | 29 20 28 22 79 65 61 72 |" "note"|) ("year|
|00001430| 22 20 22 6d 6f 6e 74 68 | 22 29 29 29 29 29 20 22 |" "month|"))))) "|
|00001440| 5c 0a 4c 69 73 74 20 6f | 66 20 28 65 6e 74 72 79 |\.List o|f (entry|
|00001450| 2d 6e 61 6d 65 20 28 72 | 65 71 75 69 72 65 64 20 |-name (r|equired |
|00001460| 6f 70 74 69 6f 6e 61 6c | 29 20 28 63 72 6f 73 73 |optional|) (cross|
|00001470| 72 65 66 2d 72 65 71 75 | 69 72 65 64 20 63 72 6f |ref-requ|ired cro|
|00001480| 73 73 72 65 66 2d 6f 70 | 74 69 6f 6e 61 6c 29 29 |ssref-op|tional))|
|00001490| 0a 74 72 69 70 70 6c 65 | 73 2e 20 20 49 66 20 74 |.tripple|s. If t|
|000014a0| 68 65 20 74 68 69 72 64 | 20 65 6c 65 6d 65 6e 74 |he third| element|
|000014b0| 20 69 73 20 6e 69 6c 2c | 20 74 68 65 6e 20 74 68 | is nil,| then th|
|000014c0| 65 20 66 69 72 73 74 20 | 70 61 69 72 20 63 61 6e |e first |pair can|
|000014d0| 20 62 65 20 75 73 65 64 | 2e 20 20 52 65 71 75 69 | be used|. Requi|
|000014e0| 72 65 64 0a 61 6e 64 20 | 6f 70 74 69 6f 6e 61 6c |red.and |optional|
|000014f0| 20 61 72 65 20 6c 69 73 | 74 73 20 6f 66 20 73 74 | are lis|ts of st|
|00001500| 72 69 6e 67 73 2e 20 20 | 41 6c 6c 20 65 6e 74 72 |rings. |All entr|
|00001510| 79 20 63 72 65 61 74 69 | 6f 6e 20 66 75 6e 63 74 |y creati|on funct|
|00001520| 69 6f 6e 73 20 75 73 65 | 20 74 68 69 73 20 76 61 |ions use| this va|
|00001530| 72 69 61 62 6c 65 0a 74 | 6f 20 67 65 6e 65 72 61 |riable.t|o genera|
|00001540| 74 65 20 65 6e 74 72 69 | 65 73 2c 20 61 6e 64 20 |te entri|es, and |
|00001550| 62 69 62 74 65 78 2d 65 | 6e 74 72 79 20 65 6e 73 |bibtex-e|ntry ens|
|00001560| 75 72 65 73 20 74 68 65 | 20 65 6e 74 72 79 20 74 |ures the| entry t|
|00001570| 79 70 65 20 69 73 20 76 | 61 6c 69 64 2e 20 20 54 |ype is v|alid. T|
|00001580| 68 69 73 20 0a 76 61 72 | 69 61 62 6c 65 20 63 61 |his .var|iable ca|
|00001590| 6e 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 65 78 |n be use|d for ex|
|000015a0| 61 6d 70 6c 65 20 74 6f | 20 6d 61 6b 65 20 62 69 |ample to| make bi|
|000015b0| 62 74 65 78 20 6d 61 6e | 69 70 75 6c 61 74 65 20 |btex man|ipulate |
|000015c0| 61 20 64 69 66 66 65 72 | 65 6e 74 20 73 65 74 20 |a differ|ent set |
|000015d0| 6f 66 20 65 6e 74 72 79 | 0a 74 79 70 65 73 2c 20 |of entry|.types, |
|000015e0| 65 2e 67 2e 20 61 20 63 | 72 6f 73 73 72 65 66 65 |e.g. a c|rossrefe|
|000015f0| 72 65 6e 63 65 20 64 6f | 63 75 6d 65 6e 74 20 6f |rence do|cument o|
|00001600| 66 20 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 74 |f organi|zation t|
|00001610| 79 70 65 73 2e 22 29 0a | 28 64 65 66 61 6c 69 61 |ypes.").|(defalia|
|00001620| 73 20 27 62 69 62 74 65 | 78 2d 63 66 69 65 6c 64 |s 'bibte|x-cfield|
|00001630| 20 23 5b 28 6e 61 6d 65 | 20 74 65 78 74 29 20 22 | #[(name| text) "|
|00001640| c0 09 c2 0b c4 b0 05 87 | 22 20 5b 22 2c 5b 20 09 |........|" [",[ .|
|00001650| 5c 6e 5d 2a 5c 5c 28 22 | 20 6e 61 6d 65 20 22 5c |\n]*\\("| name "\|
|00001660| 5c 29 5b 20 09 5c 6e 5d | 2a 3d 5b 20 09 5c 6e 5d |\)[ .\n]|*=[ .\n]|
|00001670| 2a 5c 5c 28 22 20 74 65 | 78 74 20 22 5c 5c 29 22 |*\\(" te|xt "\\)"|
|00001680| 5d 20 35 20 22 5c 0a 43 | 72 65 61 74 65 20 61 20 |] 5 "\.C|reate a |
|00001690| 72 65 67 65 78 70 20 66 | 6f 72 20 61 20 62 69 62 |regexp f|or a bib|
|000016a0| 74 65 78 20 66 69 65 6c | 64 20 6f 66 20 6e 61 6d |tex fiel|d of nam|
|000016b0| 65 20 4e 41 4d 45 20 61 | 6e 64 20 74 65 78 74 20 |e NAME a|nd text |
|000016c0| 54 45 58 54 22 5d 29 0a | 28 64 65 66 63 6f 6e 73 |TEXT"]).|(defcons|
|000016d0| 74 20 62 69 62 74 65 78 | 2d 6e 61 6d 65 2d 69 6e |t bibtex|-name-in|
|000016e0| 2d 63 66 69 65 6c 64 20 | 31 20 22 5c 0a 54 68 65 |-cfield |1 "\.The|
|000016f0| 20 72 65 67 65 78 70 20 | 73 75 62 65 78 70 72 65 | regexp |subexpre|
|00001700| 73 73 69 6f 6e 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ssion nu|mber of |
|00001710| 74 68 65 20 6e 61 6d 65 | 20 70 61 72 74 20 69 6e |the name| part in|
|00001720| 20 62 69 62 74 65 78 2d | 63 66 69 65 6c 64 2e 22 | bibtex-|cfield."|
|00001730| 29 0a 28 64 65 66 63 6f | 6e 73 74 20 62 69 62 74 |).(defco|nst bibt|
|00001740| 65 78 2d 74 65 78 74 2d | 69 6e 2d 63 66 69 65 6c |ex-text-|in-cfiel|
|00001750| 64 20 32 20 22 5c 0a 54 | 68 65 20 72 65 67 65 78 |d 2 "\.T|he regex|
|00001760| 70 20 73 75 62 65 78 70 | 72 65 73 73 69 6f 6e 20 |p subexp|ression |
|00001770| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 74 65 |number o|f the te|
|00001780| 78 74 20 70 61 72 74 20 | 69 6e 20 62 69 62 74 65 |xt part |in bibte|
|00001790| 78 2d 63 66 69 65 6c 64 | 2e 22 29 0a 28 64 65 66 |x-cfield|.").(def|
|000017a0| 63 6f 6e 73 74 20 62 69 | 62 74 65 78 2d 66 69 65 |const bi|btex-fie|
|000017b0| 6c 64 2d 6e 61 6d 65 20 | 22 5b 41 2d 5a 61 2d 7a |ld-name |"[A-Za-z|
|000017c0| 5d 5b 5d 41 2d 5a 61 2d | 7a 30 2d 39 2e 3a 3b 3f |][]A-Za-|z0-9.:;?|
|000017d0| 21 60 27 28 29 2f 2a 40 | 5f 2b 3d 2d 5d 2a 22 20 |!`'()/*@|_+=-]*" |
|000017e0| 22 5c 0a 52 65 67 65 78 | 70 20 64 65 66 69 6e 69 |"\.Regex|p defini|
|000017f0| 6e 67 20 74 68 65 20 6e | 61 6d 65 20 70 61 72 74 |ng the n|ame part|
|00001800| 20 6f 66 20 61 20 62 69 | 62 74 65 78 20 66 69 65 | of a bi|btex fie|
|00001810| 6c 64 2e 22 29 0a 28 64 | 65 66 63 6f 6e 73 74 20 |ld.").(d|efconst |
|00001820| 62 69 62 74 65 78 2d 66 | 69 65 6c 64 2d 63 6f 6e |bibtex-f|ield-con|
|00001830| 73 74 20 22 5b 30 2d 39 | 41 2d 5a 61 2d 7a 5d 5b |st "[0-9|A-Za-z][|
|00001840| 41 2d 5a 61 2d 7a 30 2d | 39 3a 5f 2b 2d 5d 2a 22 |A-Za-z0-|9:_+-]*"|
|00001850| 20 22 5c 0a 46 6f 72 6d | 61 74 20 6f 66 20 61 20 | "\.Form|at of a |
|00001860| 62 69 62 74 65 78 20 66 | 69 65 6c 64 20 63 6f 6e |bibtex f|ield con|
|00001870| 73 74 61 6e 74 2e 22 29 | 0a 28 64 65 66 63 6f 6e |stant.")|.(defcon|
|00001880| 73 74 20 62 69 62 74 65 | 78 2d 66 69 65 6c 64 2d |st bibte|x-field-|
|00001890| 73 74 72 69 6e 67 20 28 | 63 6f 6e 63 61 74 20 22 |string (|concat "|
|000018a0| 5c 22 5b 5e 5c 22 5d 2a | 5b 5e 5c 5c 5c 5c 5d 5c |\"[^\"]*|[^\\\\]\|
|000018b0| 22 5c 5c 7c 5c 22 5c 22 | 22 29 20 22 5c 0a 4d 61 |"\\|\"\"|") "\.Ma|
|000018c0| 74 63 68 20 65 69 74 68 | 65 72 20 61 20 73 74 72 |tch eith|er a str|
|000018d0| 69 6e 67 20 6f 72 20 61 | 6e 20 65 6d 70 74 79 20 |ing or a|n empty |
|000018e0| 73 74 72 69 6e 67 2e 22 | 29 0a 28 64 65 66 63 6f |string."|).(defco|
|000018f0| 6e 73 74 20 62 69 62 74 | 65 78 2d 66 69 65 6c 64 |nst bibt|ex-field|
|00001900| 2d 73 74 72 69 6e 67 2d | 6f 72 2d 63 6f 6e 73 74 |-string-|or-const|
|00001910| 20 28 63 6f 6e 63 61 74 | 20 62 69 62 74 65 78 2d | (concat| bibtex-|
|00001920| 66 69 65 6c 64 2d 63 6f | 6e 73 74 20 22 5c 5c 7c |field-co|nst "\\||
|00001930| 22 20 62 69 62 74 65 78 | 2d 66 69 65 6c 64 2d 73 |" bibtex|-field-s|
|00001940| 74 72 69 6e 67 29 20 22 | 5c 0a 4d 61 74 63 68 20 |tring) "|\.Match |
|00001950| 65 69 74 68 65 72 20 62 | 69 62 74 65 78 2d 66 69 |either b|ibtex-fi|
|00001960| 65 6c 64 2d 73 74 72 69 | 6e 67 20 6f 72 20 62 69 |eld-stri|ng or bi|
|00001970| 62 74 65 78 2d 66 69 65 | 6c 64 2d 63 6f 6e 73 74 |btex-fie|ld-const|
|00001980| 2e 22 29 0a 28 64 65 66 | 63 6f 6e 73 74 20 62 69 |.").(def|const bi|
|00001990| 62 74 65 78 2d 66 69 65 | 6c 64 2d 74 65 78 74 20 |btex-fie|ld-text |
|000019a0| 28 63 6f 6e 63 61 74 20 | 22 5c 5c 28 22 20 62 69 |(concat |"\\(" bi|
|000019b0| 62 74 65 78 2d 66 69 65 | 6c 64 2d 73 74 72 69 6e |btex-fie|ld-strin|
|000019c0| 67 2d 6f 72 2d 63 6f 6e | 73 74 20 22 5c 5c 29 22 |g-or-con|st "\\)"|
|000019d0| 20 22 5c 5c 28 5b 20 09 | 5c 6e 5d 2b 23 5b 20 09 | "\\([ .|\n]+#[ .|
|000019e0| 5c 6e 5d 2b 5c 5c 28 22 | 20 62 69 62 74 65 78 2d |\n]+\\("| bibtex-|
|000019f0| 66 69 65 6c 64 2d 73 74 | 72 69 6e 67 2d 6f 72 2d |field-st|ring-or-|
|00001a00| 63 6f 6e 73 74 20 22 5c | 5c 29 5c 5c 29 2a 5c 5c |const "\|\)\\)*\\|
|00001a10| 7c 22 20 22 7b 5b 5e 7b | 7d 5d 2a 5b 5e 5c 5c 5c ||" "{[^{|}]*[^\\\|
|00001a20| 5c 5d 7d 22 29 20 22 5c | 0a 52 65 67 65 78 70 20 |\]}") "\|.Regexp |
|00001a30| 64 65 66 69 6e 69 6e 67 | 20 74 68 65 20 74 65 78 |defining| the tex|
|00001a40| 74 20 70 61 72 74 20 6f | 66 20 61 20 62 69 62 74 |t part o|f a bibt|
|00001a50| 65 78 20 66 69 65 6c 64 | 3a 20 65 69 74 68 65 72 |ex field|: either|
|00001a60| 20 61 20 73 74 72 69 6e | 67 2c 20 6f 72 0a 61 6e | a strin|g, or.an|
|00001a70| 20 65 6d 70 74 79 20 73 | 74 72 69 6e 67 2c 20 6f | empty s|tring, o|
|00001a80| 72 20 61 20 63 6f 6e 73 | 74 61 6e 74 20 66 6f 6c |r a cons|tant fol|
|00001a90| 6c 6f 77 65 64 20 62 79 | 20 6f 6e 65 20 6f 72 20 |lowed by| one or |
|00001aa0| 6d 6f 72 65 20 23 20 2f | 20 63 6f 6e 73 74 61 6e |more # /| constan|
|00001ab0| 74 20 70 61 69 72 73 2e | 0a 41 6c 73 6f 20 6d 61 |t pairs.|.Also ma|
|00001ac0| 74 63 68 65 73 20 73 69 | 6d 70 6c 65 20 7b 2e 2e |tches si|mple {..|
|00001ad0| 2e 7d 20 70 61 74 74 65 | 72 6e 73 2e 22 29 0a 28 |.} patte|rns.").(|
|00001ae0| 64 65 66 63 6f 6e 73 74 | 20 62 69 62 74 65 78 2d |defconst| bibtex-|
|00001af0| 66 69 65 6c 64 20 28 62 | 69 62 74 65 78 2d 63 66 |field (b|ibtex-cf|
|00001b00| 69 65 6c 64 20 62 69 62 | 74 65 78 2d 66 69 65 6c |ield bib|tex-fiel|
|00001b10| 64 2d 6e 61 6d 65 20 62 | 69 62 74 65 78 2d 66 69 |d-name b|ibtex-fi|
|00001b20| 65 6c 64 2d 74 65 78 74 | 29 20 22 5c 0a 52 65 67 |eld-text|) "\.Reg|
|00001b30| 65 78 70 20 64 65 66 69 | 6e 69 6e 67 20 74 68 65 |exp defi|ning the|
|00001b40| 20 66 6f 72 6d 61 74 20 | 6f 66 20 61 20 62 69 62 | format |of a bib|
|00001b50| 74 65 78 20 66 69 65 6c | 64 22 29 0a 28 64 65 66 |tex fiel|d").(def|
|00001b60| 63 6f 6e 73 74 20 62 69 | 62 74 65 78 2d 6e 61 6d |const bi|btex-nam|
|00001b70| 65 2d 69 6e 2d 66 69 65 | 6c 64 20 62 69 62 74 65 |e-in-fie|ld bibte|
|00001b80| 78 2d 6e 61 6d 65 2d 69 | 6e 2d 63 66 69 65 6c 64 |x-name-i|n-cfield|
|00001b90| 20 22 5c 0a 54 68 65 20 | 72 65 67 65 78 70 20 73 | "\.The |regexp s|
|00001ba0| 75 62 65 78 70 72 65 73 | 73 69 6f 6e 20 6e 75 6d |ubexpres|sion num|
|00001bb0| 62 65 72 20 6f 66 20 74 | 68 65 20 6e 61 6d 65 20 |ber of t|he name |
|00001bc0| 70 61 72 74 20 69 6e 20 | 62 69 62 74 65 78 2d 66 |part in |bibtex-f|
|00001bd0| 69 65 6c 64 22 29 0a 28 | 64 65 66 63 6f 6e 73 74 |ield").(|defconst|
|00001be0| 20 62 69 62 74 65 78 2d | 74 65 78 74 2d 69 6e 2d | bibtex-|text-in-|
|00001bf0| 66 69 65 6c 64 20 62 69 | 62 74 65 78 2d 74 65 78 |field bi|btex-tex|
|00001c00| 74 2d 69 6e 2d 63 66 69 | 65 6c 64 20 22 5c 0a 54 |t-in-cfi|eld "\.T|
|00001c10| 68 65 20 72 65 67 65 78 | 70 20 73 75 62 65 78 70 |he regex|p subexp|
|00001c20| 72 65 73 73 69 6f 6e 20 | 6e 75 6d 62 65 72 20 6f |ression |number o|
|00001c30| 66 20 74 68 65 20 74 65 | 78 74 20 70 61 72 74 20 |f the te|xt part |
|00001c40| 69 6e 20 62 69 62 74 65 | 78 2d 66 69 65 6c 64 22 |in bibte|x-field"|
|00001c50| 29 0a 28 64 65 66 63 6f | 6e 73 74 20 62 69 62 74 |).(defco|nst bibt|
|00001c60| 65 78 2d 72 65 66 65 72 | 65 6e 63 65 2d 74 79 70 |ex-refer|ence-typ|
|00001c70| 65 20 22 40 5b 41 2d 5a | 61 2d 7a 5d 2b 22 20 22 |e "@[A-Z|a-z]+" "|
|00001c80| 5c 0a 52 65 67 65 78 70 | 20 64 65 66 69 6e 69 6e |\.Regexp| definin|
|00001c90| 67 20 74 68 65 20 74 79 | 70 65 20 70 61 72 74 20 |g the ty|pe part |
|00001ca0| 6f 66 20 61 20 62 69 62 | 74 65 78 20 72 65 66 65 |of a bib|tex refe|
|00001cb0| 72 65 6e 63 65 20 65 6e | 74 72 79 22 29 0a 28 64 |rence en|try").(d|
|00001cc0| 65 66 63 6f 6e 73 74 20 | 62 69 62 74 65 78 2d 72 |efconst |bibtex-r|
|00001cd0| 65 66 65 72 65 6e 63 65 | 2d 68 65 61 64 20 28 63 |eference|-head (c|
|00001ce0| 6f 6e 63 61 74 20 22 5e | 5b 20 09 5d 2a 5c 5c 28 |oncat "^|[ .]*\\(|
|00001cf0| 22 20 62 69 62 74 65 78 | 2d 72 65 66 65 72 65 6e |" bibtex|-referen|
|00001d00| 63 65 2d 74 79 70 65 20 | 22 5c 5c 29 5b 20 09 5d |ce-type |"\\)[ .]|
|00001d10| 2a 5b 28 7b 5d 5c 5c 28 | 22 20 62 69 62 74 65 78 |*[({]\\(|" bibtex|
|00001d20| 2d 66 69 65 6c 64 2d 6e | 61 6d 65 20 22 5c 5c 29 |-field-n|ame "\\)|
|00001d30| 22 29 20 22 5c 0a 52 65 | 67 65 78 70 20 64 65 66 |") "\.Re|gexp def|
|00001d40| 69 6e 69 6e 67 20 66 6f | 72 6d 61 74 20 6f 66 20 |ining fo|rmat of |
|00001d50| 74 68 65 20 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |the head|er line |
|00001d60| 6f 66 20 61 20 62 69 62 | 74 65 78 20 72 65 66 65 |of a bib|tex refe|
|00001d70| 72 65 6e 63 65 20 65 6e | 74 72 79 22 29 0a 28 64 |rence en|try").(d|
|00001d80| 65 66 63 6f 6e 73 74 20 | 62 69 62 74 65 78 2d 74 |efconst |bibtex-t|
|00001d90| 79 70 65 2d 69 6e 2d 68 | 65 61 64 20 31 20 22 5c |ype-in-h|ead 1 "\|
|00001da0| 0a 54 68 65 20 72 65 67 | 65 78 70 20 73 75 62 65 |.The reg|exp sube|
|00001db0| 78 70 72 65 73 73 69 6f | 6e 20 6e 75 6d 62 65 72 |xpressio|n number|
|00001dc0| 20 6f 66 20 74 68 65 20 | 74 79 70 65 20 70 61 72 | of the |type par|
|00001dd0| 74 20 69 6e 20 62 69 62 | 74 65 78 2d 72 65 66 65 |t in bib|tex-refe|
|00001de0| 72 65 6e 63 65 2d 68 65 | 61 64 22 29 0a 28 64 65 |rence-he|ad").(de|
|00001df0| 66 63 6f 6e 73 74 20 62 | 69 62 74 65 78 2d 6b 65 |fconst b|ibtex-ke|
|00001e00| 79 2d 69 6e 2d 68 65 61 | 64 20 32 20 22 5c 0a 54 |y-in-hea|d 2 "\.T|
|00001e10| 68 65 20 72 65 67 65 78 | 70 20 73 75 62 65 78 70 |he regex|p subexp|
|00001e20| 72 65 73 73 69 6f 6e 20 | 6e 75 6d 62 65 72 20 6f |ression |number o|
|00001e30| 66 20 74 68 65 20 6b 65 | 79 20 70 61 72 74 20 69 |f the ke|y part i|
|00001e40| 6e 0a 62 69 62 74 65 78 | 2d 72 65 66 65 72 65 6e |n.bibtex|-referen|
|00001e50| 63 65 2d 68 65 61 64 22 | 29 0a 28 64 65 66 63 6f |ce-head"|).(defco|
|00001e60| 6e 73 74 20 62 69 62 74 | 65 78 2d 72 65 66 65 72 |nst bibt|ex-refer|
|00001e70| 65 6e 63 65 20 28 63 6f | 6e 63 61 74 20 22 5e 5b |ence (co|ncat "^[|
|00001e80| 20 09 5d 2a 22 20 62 69 | 62 74 65 78 2d 72 65 66 | .]*" bi|btex-ref|
|00001e90| 65 72 65 6e 63 65 2d 74 | 79 70 65 20 22 5b 20 09 |erence-t|ype "[ .|
|00001ea0| 5d 2a 5b 28 7b 5d 5c 5c | 28 22 20 62 69 62 74 65 |]*[({]\\|(" bibte|
|00001eb0| 78 2d 66 69 65 6c 64 2d | 6e 61 6d 65 20 22 5c 5c |x-field-|name "\\|
|00001ec0| 29 22 20 22 5c 5c 28 5b | 20 09 5c 6e 5d 2a 22 20 |)" "\\([| .\n]*" |
|00001ed0| 62 69 62 74 65 78 2d 66 | 69 65 6c 64 20 22 5c 5c |bibtex-f|ield "\\|
|00001ee0| 29 2a 22 20 22 5b 20 09 | 5c 6e 5d 2a 5b 7d 29 5d |)*" "[ .|\n]*[})]|
|00001ef0| 22 29 20 22 5c 0a 52 65 | 67 65 78 70 20 64 65 66 |") "\.Re|gexp def|
|00001f00| 69 6e 69 6e 67 20 74 68 | 65 20 66 6f 72 6d 61 74 |ining th|e format|
|00001f10| 20 6f 66 20 61 20 62 69 | 62 74 65 78 20 72 65 66 | of a bi|btex ref|
|00001f20| 65 72 65 6e 63 65 20 65 | 6e 74 72 79 22 29 0a 28 |erence e|ntry").(|
|00001f30| 64 65 66 63 6f 6e 73 74 | 20 62 69 62 74 65 78 2d |defconst| bibtex-|
|00001f40| 74 79 70 65 2d 69 6e 2d | 72 65 66 65 72 65 6e 63 |type-in-|referenc|
|00001f50| 65 20 62 69 62 74 65 78 | 2d 74 79 70 65 2d 69 6e |e bibtex|-type-in|
|00001f60| 2d 68 65 61 64 20 22 5c | 0a 54 68 65 20 72 65 67 |-head "\|.The reg|
|00001f70| 65 78 70 20 73 75 62 65 | 78 70 72 65 73 73 69 6f |exp sube|xpressio|
|00001f80| 6e 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |n number| of the |
|00001f90| 74 79 70 65 20 70 61 72 | 74 20 69 6e 20 62 69 62 |type par|t in bib|
|00001fa0| 74 65 78 2d 72 65 66 65 | 72 65 6e 63 65 22 29 0a |tex-refe|rence").|
|00001fb0| 28 64 65 66 63 6f 6e 73 | 74 20 62 69 62 74 65 78 |(defcons|t bibtex|
|00001fc0| 2d 6b 65 79 2d 69 6e 2d | 72 65 66 65 72 65 6e 63 |-key-in-|referenc|
|00001fd0| 65 20 62 69 62 74 65 78 | 2d 6b 65 79 2d 69 6e 2d |e bibtex|-key-in-|
|00001fe0| 68 65 61 64 20 22 5c 0a | 54 68 65 20 72 65 67 65 |head "\.|The rege|
|00001ff0| 78 70 20 73 75 62 65 78 | 70 72 65 73 73 69 6f 6e |xp subex|pression|
|00002000| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 6b | number |of the k|
|00002010| 65 79 20 70 61 72 74 20 | 69 6e 0a 62 69 62 74 65 |ey part |in.bibte|
|00002020| 78 2d 72 65 66 65 72 65 | 6e 63 65 22 29 0a 28 64 |x-refere|nce").(d|
|00002030| 65 66 63 6f 6e 73 74 20 | 62 69 62 74 65 78 2d 73 |efconst |bibtex-s|
|00002040| 74 72 69 6e 67 20 28 63 | 6f 6e 63 61 74 20 22 5e |tring (c|oncat "^|
|00002050| 5b 20 09 5d 2a 40 5b 73 | 53 5d 5b 74 54 5d 5b 72 |[ .]*@[s|S][tT][r|
|00002060| 52 5d 5b 69 49 5d 5b 6e | 4e 5d 5b 67 47 5d 5b 20 |R][iI][n|N][gG][ |
|00002070| 09 5c 6e 5d 2a 5b 28 7b | 5d 5b 20 09 5c 6e 5d 2a |.\n]*[({|][ .\n]*|
|00002080| 5c 5c 28 22 20 62 69 62 | 74 65 78 2d 66 69 65 6c |\\(" bib|tex-fiel|
|00002090| 64 2d 6e 61 6d 65 20 22 | 5c 5c 29 5b 20 09 5c 6e |d-name "|\\)[ .\n|
|000020a0| 5d 2a 3d 5b 20 09 5c 6e | 5d 2a 5c 5c 28 22 20 62 |]*=[ .\n|]*\\(" b|
|000020b0| 69 62 74 65 78 2d 66 69 | 65 6c 64 2d 74 65 78 74 |ibtex-fi|eld-text|
|000020c0| 20 22 5c 5c 29 5b 20 09 | 5c 6e 5d 2a 5b 7d 29 5d | "\\)[ .|\n]*[})]|
|000020d0| 22 29 20 22 5c 0a 52 65 | 67 65 78 70 20 64 65 66 |") "\.Re|gexp def|
|000020e0| 69 6e 69 6e 67 20 74 68 | 65 20 66 6f 72 6d 61 74 |ining th|e format|
|000020f0| 20 6f 66 20 61 20 62 69 | 62 74 65 78 20 73 74 72 | of a bi|btex str|
|00002100| 69 6e 67 20 65 6e 74 72 | 79 22 29 0a 28 64 65 66 |ing entr|y").(def|
|00002110| 63 6f 6e 73 74 20 62 69 | 62 74 65 78 2d 6e 61 6d |const bi|btex-nam|
|00002120| 65 2d 69 6e 2d 73 74 72 | 69 6e 67 20 31 20 22 5c |e-in-str|ing 1 "\|
|00002130| 0a 54 68 65 20 72 65 67 | 65 78 70 20 73 75 62 65 |.The reg|exp sube|
|00002140| 78 70 72 65 73 73 69 6f | 6e 20 6f 66 20 74 68 65 |xpressio|n of the|
|00002150| 20 6e 61 6d 65 20 70 61 | 72 74 20 69 6e 20 62 69 | name pa|rt in bi|
|00002160| 62 74 65 78 2d 73 74 72 | 69 6e 67 22 29 0a 28 64 |btex-str|ing").(d|
|00002170| 65 66 63 6f 6e 73 74 20 | 62 69 62 74 65 78 2d 74 |efconst |bibtex-t|
|00002180| 65 78 74 2d 69 6e 2d 73 | 74 72 69 6e 67 20 32 20 |ext-in-s|tring 2 |
|00002190| 22 5c 0a 54 68 65 20 72 | 65 67 65 78 70 20 73 75 |"\.The r|egexp su|
|000021a0| 62 65 78 70 72 65 73 73 | 69 6f 6e 20 6f 66 20 74 |bexpress|ion of t|
|000021b0| 68 65 20 74 65 78 74 20 | 70 61 72 74 20 69 6e 20 |he text |part in |
|000021c0| 62 69 62 74 65 78 2d 73 | 74 72 69 6e 67 22 29 0a |bibtex-s|tring").|
|000021d0| 28 64 65 66 63 6f 6e 73 | 74 20 62 69 62 74 65 78 |(defcons|t bibtex|
|000021e0| 2d 6e 61 6d 65 2d 61 6c | 69 67 6e 6d 65 6e 74 20 |-name-al|ignment |
|000021f0| 32 20 22 5c 0a 41 6c 69 | 67 6e 6d 65 6e 74 20 66 |2 "\.Ali|gnment f|
|00002200| 6f 72 20 74 68 65 20 6e | 61 6d 65 20 70 61 72 74 |or the n|ame part|
|00002210| 20 69 6e 20 42 69 62 54 | 65 58 20 66 69 65 6c 64 | in BibT|eX field|
|00002220| 73 2e 0a 43 68 6f 73 65 | 6e 20 6f 6e 20 61 65 73 |s..Chose|n on aes|
|00002230| 74 68 65 74 69 63 20 67 | 72 6f 75 6e 64 73 20 6f |thetic g|rounds o|
|00002240| 6e 6c 79 2e 22 29 0a 28 | 64 65 66 63 6f 6e 73 74 |nly.").(|defconst|
|00002250| 20 62 69 62 74 65 78 2d | 74 65 78 74 2d 61 6c 69 | bibtex-|text-ali|
|00002260| 67 6e 6d 65 6e 74 20 28 | 6c 65 6e 67 74 68 20 22 |gnment (|length "|
|00002270| 20 20 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 3d | organi|zation =|
|00002280| 20 22 29 20 22 5c 0a 41 | 6c 69 67 6e 6d 65 6e 74 | ") "\.A|lignment|
|00002290| 20 66 6f 72 20 74 68 65 | 20 74 65 78 74 20 70 61 | for the| text pa|
|000022a0| 72 74 20 69 6e 20 42 69 | 62 54 65 58 20 66 69 65 |rt in Bi|bTeX fie|
|000022b0| 6c 64 73 2e 0a 45 71 75 | 61 6c 20 74 6f 20 74 68 |lds..Equ|al to th|
|000022c0| 65 20 73 70 61 63 65 20 | 6e 65 65 64 65 64 20 66 |e space |needed f|
|000022d0| 6f 72 20 74 68 65 20 6c | 6f 6e 67 65 73 74 20 6e |or the l|ongest n|
|000022e0| 61 6d 65 20 70 61 72 74 | 2e 22 29 0a 28 64 65 66 |ame part|.").(def|
|000022f0| 61 6c 69 61 73 20 27 62 | 69 62 74 65 78 2d 63 75 |alias 'b|ibtex-cu|
|00002300| 72 72 65 6e 74 2d 65 6e | 74 72 79 2d 6c 61 62 65 |rrent-en|try-labe|
|00002310| 6c 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 69 |l #[(&op|tional i|
|00002320| 6e 63 6c 75 64 65 2d 63 | 69 74 65 20 6b 69 6c 6c |nclude-c|ite kill|
|00002330| 29 20 22 8a c0 20 88 c1 | 5c 6e 8a c3 20 88 60 29 |) ".. ..|\n.. .`)|
|00002340| 5c 22 88 5c 66 94 5c 66 | 95 7b 1d 0e 06 83 20 00 |\".\f.\f|.{.... .|
|00002350| c7 c8 0d 5c 22 82 21 00 | 0d 1e 09 0e 5c 6e 83 2d |...\".!.|....\n.-|
|00002360| 00 cb 0e 09 21 88 0e 09 | 2b 87 22 20 5b 62 65 67 |....!...|+." [beg|
|00002370| 69 6e 6e 69 6e 67 2d 6f | 66 2d 62 69 62 74 65 78 |inning-o|f-bibtex|
|00002380| 2d 65 6e 74 72 79 20 72 | 65 2d 73 65 61 72 63 68 |-entry r|e-search|
|00002390| 2d 66 6f 72 77 61 72 64 | 20 62 69 62 74 65 78 2d |-forward| bibtex-|
|000023a0| 72 65 66 65 72 65 6e 63 | 65 2d 68 65 61 64 20 65 |referenc|e-head e|
|000023b0| 6e 64 2d 6f 66 2d 62 69 | 62 74 65 78 2d 65 6e 74 |nd-of-bi|btex-ent|
|000023c0| 72 79 20 62 69 62 74 65 | 78 2d 6b 65 79 2d 69 6e |ry bibte|x-key-in|
|000023d0| 2d 68 65 61 64 20 6b 65 | 79 20 69 6e 63 6c 75 64 |-head ke|y includ|
|000023e0| 65 2d 63 69 74 65 20 66 | 6f 72 6d 61 74 20 22 5c |e-cite f|ormat "\|
|000023f0| 5c 63 69 74 65 7b 25 73 | 7d 22 20 76 61 6c 20 6b |\cite{%s|}" val k|
|00002400| 69 6c 6c 20 70 75 74 2d | 73 74 72 69 6e 67 2d 6f |ill put-|string-o|
|00002410| 6e 2d 6b 69 6c 6c 2d 72 | 69 6e 67 5d 20 33 20 22 |n-kill-r|ing] 3 "|
|00002420| 5c 0a 52 65 74 75 72 6e | 20 74 68 65 20 6c 61 62 |\.Return| the lab|
|00002430| 65 6c 20 6f 66 20 74 68 | 65 20 62 69 62 74 65 78 |el of th|e bibtex|
|00002440| 20 65 6e 74 72 79 20 63 | 6f 6e 74 61 69 6e 69 6e | entry c|ontainin|
|00002450| 67 2c 20 6f 72 20 70 72 | 65 63 65 64 69 6e 67 20 |g, or pr|eceding |
|00002460| 70 6f 69 6e 74 2e 0a 4f | 70 74 69 6f 6e 61 6c 20 |point..O|ptional |
|00002470| 61 72 67 75 6d 65 6e 74 | 20 49 4e 43 4c 55 44 45 |argument| INCLUDE|
|00002480| 2d 43 49 54 45 2c 20 69 | 66 20 74 72 75 65 20 6d |-CITE, i|f true m|
|00002490| 65 61 6e 73 20 70 75 74 | 20 61 20 27 5c 5c 63 69 |eans put| a '\\ci|
|000024a0| 74 65 7b 7d 27 20 61 72 | 6f 75 6e 64 20 74 68 65 |te{}' ar|ound the|
|000024b0| 0a 72 65 74 75 72 6e 65 | 64 20 76 61 6c 75 65 2e |.returne|d value.|
|000024c0| 20 20 53 65 63 6f 6e 64 | 20 6f 70 74 69 6f 6e 61 | Second| optiona|
|000024d0| 6c 20 61 72 67 75 6d 65 | 6e 74 20 4b 49 4c 4c 2c |l argume|nt KILL,|
|000024e0| 20 69 66 20 74 72 75 65 | 2c 20 6d 65 61 6e 73 20 | if true|, means |
|000024f0| 70 6c 61 63 65 20 74 68 | 65 0a 72 65 74 75 72 6e |place th|e.return|
|00002500| 65 64 20 76 61 6c 75 65 | 20 69 6e 20 74 68 65 20 |ed value| in the |
|00002510| 6b 69 6c 6c 20 62 75 66 | 66 65 72 2e 20 20 49 6e |kill buf|fer. In|
|00002520| 74 65 72 61 63 74 69 76 | 65 6c 79 3b 20 70 72 6f |teractiv|ely; pro|
|00002530| 76 69 64 69 6e 67 20 70 | 72 65 66 69 78 0a 61 72 |viding p|refix.ar|
|00002540| 67 75 6d 65 6e 74 20 6d | 61 6b 65 73 20 49 4e 43 |gument m|akes INC|
|00002550| 4c 55 44 45 2d 43 49 54 | 45 20 74 72 75 65 2c 20 |LUDE-CIT|E true, |
|00002560| 61 6e 64 20 6b 69 6c 6c | 20 69 73 20 74 72 75 65 |and kill| is true|
|00002570| 20 62 79 20 64 65 66 61 | 75 6c 74 2e 0a 0a 52 61 | by defa|ult...Ra|
|00002580| 74 69 6f 6e 61 6c 65 3a | 0a 54 68 65 20 69 6e 74 |tionale:|.The int|
|00002590| 65 6e 74 69 6f 6e 20 69 | 73 20 74 68 61 74 20 73 |ention i|s that s|
|000025a0| 6f 6d 65 6f 6e 65 20 77 | 69 6c 6c 20 77 72 69 74 |omeone w|ill writ|
|000025b0| 65 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 74 68 61 |e a func|tion tha|
|000025c0| 74 20 63 61 6e 20 62 65 | 20 62 6f 75 6e 64 20 74 |t can be| bound t|
|000025d0| 6f 0a 61 20 6d 6f 75 73 | 65 20 6b 65 79 20 73 6f |o.a mous|e key so|
|000025e0| 20 74 68 61 74 20 70 65 | 6f 70 6c 65 20 65 6e 74 | that pe|ople ent|
|000025f0| 65 72 69 6e 67 20 54 65 | 58 20 63 61 6e 20 6a 75 |ering Te|X can ju|
|00002600| 73 74 20 6d 6f 75 73 65 | 20 6f 6e 20 74 68 65 20 |st mouse| on the |
|00002610| 62 69 62 74 65 78 20 65 | 6e 74 72 79 0a 61 6e 64 |bibtex e|ntry.and|
|00002620| 20 68 61 76 65 20 74 68 | 65 20 63 69 74 61 74 69 | have th|e citati|
|00002630| 6f 6e 20 6b 65 79 20 69 | 6e 73 65 72 74 65 64 20 |on key i|nserted |
|00002640| 61 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 70 |at the c|urrent p|
|00002650| 6f 69 6e 74 20 28 77 68 | 69 63 68 20 77 69 6c 6c |oint (wh|ich will|
|00002660| 20 61 6c 6d 6f 73 74 0a | 63 65 72 74 61 69 6e 6c | almost.|certainl|
|00002670| 79 20 62 65 20 69 6e 20 | 73 6f 6d 65 20 6f 74 68 |y be in |some oth|
|00002680| 65 72 20 62 75 66 66 65 | 72 29 2e 20 20 49 6e 20 |er buffe|r). In |
|00002690| 74 68 65 20 69 6e 74 65 | 72 69 6d 20 74 68 69 73 |the inte|rim this|
|000026a0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 0a 6d 61 | functio|n is .ma|
|000026b0| 72 67 69 6e 61 6c 6c 79 | 20 75 73 65 66 75 6c 20 |rginally| useful |
|000026c0| 66 6f 72 20 6b 65 79 62 | 6f 61 72 64 20 62 69 6e |for keyb|oard bin|
|000026d0| 64 69 6e 67 20 61 6e 64 | 20 69 73 20 6e 6f 74 20 |ding and| is not |
|000026e0| 62 6f 75 6e 64 20 62 79 | 20 64 65 66 61 75 6c 74 |bound by| default|
|000026f0| 2e 20 20 0a 53 75 67 67 | 65 73 74 65 64 20 62 69 |. .Sugg|ested bi|
|00002700| 6e 64 69 6e 67 20 69 73 | 20 5e 43 2d 6b 2e 22 20 |nding is| ^C-k." |
|00002710| 28 6c 69 73 74 20 63 75 | 72 72 65 6e 74 2d 70 72 |(list cu|rrent-pr|
|00002720| 65 66 69 78 2d 61 72 67 | 20 74 29 5d 29 0a 28 64 |efix-arg| t)]).(d|
|00002730| 65 66 61 6c 69 61 73 20 | 27 62 69 62 74 65 78 2d |efalias |'bibtex-|
|00002740| 6d 6f 64 65 20 23 5b 6e | 69 6c 20 22 c0 20 88 c1 |mode #[n|il ". ..|
|00002750| 5c 6e 21 88 c3 5c 66 21 | 88 c5 16 06 c7 16 08 c1 |\n!..\f!|........|
|00002760| 5c 6e 21 88 0e 09 16 5c | 6e cb cc 21 88 cd 16 5c |\n!....\|n..!...\|
|00002770| 66 ce cf 21 88 0e 10 cf | 5c 5c 16 11 d2 d3 21 87 |f..!....|\\....!.|
|00002780| 22 20 5b 6b 69 6c 6c 2d | 61 6c 6c 2d 6c 6f 63 61 |" [kill-|all-loca|
|00002790| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 73 65 74 2d |l-variab|les set-|
|000027a0| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 20 62 69 62 |syntax-t|able bib|
|000027b0| 74 65 78 2d 6d 6f 64 65 | 2d 73 79 6e 74 61 78 2d |tex-mode|-syntax-|
|000027c0| 74 61 62 6c 65 20 75 73 | 65 2d 6c 6f 63 61 6c 2d |table us|e-local-|
|000027d0| 6d 61 70 20 62 69 62 74 | 65 78 2d 6d 6f 64 65 2d |map bibt|ex-mode-|
|000027e0| 6d 61 70 20 62 69 62 74 | 65 78 2d 6d 6f 64 65 20 |map bibt|ex-mode |
|000027f0| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 22 42 69 62 54 |major-mo|de "BibT|
|00002800| 65 58 22 20 6d 6f 64 65 | 2d 6e 61 6d 65 20 62 69 |eX" mode|-name bi|
|00002810| 62 74 65 78 2d 6d 6f 64 | 65 2d 61 62 62 72 65 76 |btex-mod|e-abbrev|
|00002820| 2d 74 61 62 6c 65 20 6c | 6f 63 61 6c 2d 61 62 62 |-table l|ocal-abb|
|00002830| 72 65 76 2d 74 61 62 6c | 65 20 6d 61 6b 65 2d 6c |rev-tabl|e make-l|
|00002840| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 70 61 |ocal-var|iable pa|
|00002850| 72 61 67 72 61 70 68 2d | 73 74 61 72 74 20 22 5e |ragraph-|start "^|
|00002860| 5b 20 5c 66 5c 6e 09 5d | 2a 24 22 20 61 75 74 6f |[ \f\n.]|*$" auto|
|00002870| 2d 66 69 6c 6c 2d 6d 6f | 64 65 20 31 20 62 69 62 |-fill-mo|de 1 bib|
|00002880| 74 65 78 2d 74 65 78 74 | 2d 61 6c 69 67 6e 6d 65 |tex-text|-alignme|
|00002890| 6e 74 20 6c 65 66 74 2d | 6d 61 72 67 69 6e 20 72 |nt left-|margin r|
|000028a0| 75 6e 2d 68 6f 6f 6b 73 | 20 62 69 62 74 65 78 2d |un-hooks| bibtex-|
|000028b0| 6d 6f 64 65 2d 68 6f 6f | 6b 5d 20 32 20 22 5c 0a |mode-hoo|k] 2 "\.|
|000028c0| 4d 61 6a 6f 72 20 6d 6f | 64 65 20 66 6f 72 20 65 |Major mo|de for e|
|000028d0| 64 69 74 69 6e 67 20 62 | 69 62 74 65 78 20 66 69 |diting b|ibtex fi|
|000028e0| 6c 65 73 2e 0a 0a 5c 5c | 7b 62 69 62 74 65 78 2d |les...\\|{bibtex-|
|000028f0| 6d 6f 64 65 2d 6d 61 70 | 7d 0a 0a 41 20 63 6f 6d |mode-map|}..A com|
|00002900| 6d 61 6e 64 20 73 75 63 | 68 20 61 73 20 5c 5c 5b |mand suc|h as \\[|
|00002910| 62 69 62 74 65 78 2d 42 | 6f 6f 6b 5d 20 77 69 6c |bibtex-B|ook] wil|
|00002920| 6c 20 6f 75 74 6c 69 6e | 65 20 74 68 65 20 66 69 |l outlin|e the fi|
|00002930| 65 6c 64 73 20 66 6f 72 | 20 61 20 42 69 62 54 65 |elds for| a BibTe|
|00002940| 58 20 62 6f 6f 6b 20 65 | 6e 74 72 79 2e 0a 0a 54 |X book e|ntry...T|
|00002950| 68 65 20 6f 70 74 69 6f | 6e 61 6c 20 66 69 65 6c |he optio|nal fiel|
|00002960| 64 73 20 73 74 61 72 74 | 20 77 69 74 68 20 74 68 |ds start| with th|
|00002970| 65 20 73 74 72 69 6e 67 | 20 4f 50 54 2c 20 61 6e |e string| OPT, an|
|00002980| 64 20 74 68 75 73 20 69 | 67 6e 6f 72 65 64 20 62 |d thus i|gnored b|
|00002990| 79 20 42 69 62 54 65 58 | 2e 0a 54 68 65 20 4f 50 |y BibTeX|..The OP|
|000029a0| 54 20 73 74 72 69 6e 67 | 20 6d 61 79 20 62 65 20 |T string| may be |
|000029b0| 72 65 6d 6f 76 65 64 20 | 66 72 6f 6d 20 61 20 66 |removed |from a f|
|000029c0| 69 65 6c 64 20 77 69 74 | 68 20 5c 5c 5b 62 69 62 |ield wit|h \\[bib|
|000029d0| 74 65 78 2d 72 65 6d 6f | 76 65 2d 4f 50 54 5d 2e |tex-remo|ve-OPT].|
|000029e0| 0a 5c 5c 5b 62 69 62 74 | 65 78 2d 6b 69 6c 6c 2d |.\\[bibt|ex-kill-|
|000029f0| 6f 70 74 69 6f 6e 61 6c | 2d 66 69 65 6c 64 5d 20 |optional|-field] |
|00002a00| 6b 69 6c 6c 73 20 74 68 | 65 20 63 75 72 72 65 6e |kills th|e curren|
|00002a10| 74 20 6f 70 74 69 6f 6e | 61 6c 20 66 69 65 6c 64 |t option|al field|
|00002a20| 20 65 6e 74 69 72 65 6c | 79 2e 0a 5c 5c 5b 62 69 | entirel|y..\\[bi|
|00002a30| 62 74 65 78 2d 72 65 6d | 6f 76 65 2d 64 6f 75 62 |btex-rem|ove-doub|
|00002a40| 6c 65 2d 71 75 6f 74 65 | 73 5d 20 72 65 6d 6f 76 |le-quote|s] remov|
|00002a50| 65 73 20 74 68 65 20 64 | 6f 75 62 6c 65 2d 71 75 |es the d|ouble-qu|
|00002a60| 6f 74 65 73 20 61 72 6f | 75 6e 64 20 74 68 65 20 |otes aro|und the |
|00002a70| 74 65 78 74 20 6f 66 0a | 74 68 65 20 63 75 72 72 |text of.|the curr|
|00002a80| 65 6e 74 20 66 69 65 6c | 64 2e 20 20 5c 5c 5b 62 |ent fiel|d. \\[b|
|00002a90| 69 62 74 65 78 2d 65 6d | 70 74 79 2d 66 69 65 6c |ibtex-em|pty-fiel|
|00002aa0| 64 5d 20 72 65 70 6c 61 | 63 65 73 20 74 68 65 20 |d] repla|ces the |
|00002ab0| 74 65 78 74 20 6f 66 20 | 74 68 65 20 63 75 72 72 |text of |the curr|
|00002ac0| 65 6e 74 0a 66 69 65 6c | 64 20 77 69 74 68 20 74 |ent.fiel|d with t|
|00002ad0| 68 65 20 64 65 66 61 75 | 6c 74 20 5c 22 5c 22 2e |he defau|lt \"\".|
|00002ae0| 0a 0a 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 5c 5c |..The co|mmand \\|
|00002af0| 5b 62 69 62 74 65 78 2d | 63 6c 65 61 6e 2d 65 6e |[bibtex-|clean-en|
|00002b00| 74 72 79 5d 20 63 6c 65 | 61 6e 73 20 74 68 65 20 |try] cle|ans the |
|00002b10| 63 75 72 72 65 6e 74 20 | 65 6e 74 72 79 2c 20 69 |current |entry, i|
|00002b20| 2e 65 2e 20 28 69 29 20 | 72 65 6d 6f 76 65 73 0a |.e. (i) |removes.|
|00002b30| 64 6f 75 62 6c 65 2d 71 | 75 6f 74 65 73 20 66 72 |double-q|uotes fr|
|00002b40| 6f 6d 20 65 6e 74 69 72 | 65 6c 79 20 6e 75 6d 65 |om entir|ely nume|
|00002b50| 72 69 63 61 6c 20 66 69 | 65 6c 64 73 2c 20 28 69 |rical fi|elds, (i|
|00002b60| 69 29 20 72 65 6d 6f 76 | 65 73 20 4f 50 54 20 66 |i) remov|es OPT f|
|00002b70| 72 6f 6d 20 61 6c 6c 0a | 6e 6f 6e 2d 65 6d 70 74 |rom all.|non-empt|
|00002b80| 79 20 6f 70 74 69 6f 6e | 61 6c 20 66 69 65 6c 64 |y option|al field|
|00002b90| 73 2c 20 28 69 69 69 29 | 20 72 65 6d 6f 76 65 73 |s, (iii)| removes|
|00002ba0| 20 61 6c 6c 20 65 6d 70 | 74 79 20 6f 70 74 69 6f | all emp|ty optio|
|00002bb0| 6e 61 6c 20 66 69 65 6c | 64 73 2c 20 61 6e 64 20 |nal fiel|ds, and |
|00002bc0| 28 69 76 29 0a 63 68 65 | 63 6b 73 20 74 68 61 74 |(iv).che|cks that|
|00002bd0| 20 6e 6f 20 6e 6f 6e 2d | 6f 70 74 69 6f 6e 61 6c | no non-|optional|
|00002be0| 20 66 69 65 6c 64 73 20 | 61 72 65 20 65 6d 70 74 | fields |are empt|
|00002bf0| 79 2e 0a 0a 55 73 65 20 | 5c 5c 5b 62 69 62 74 65 |y...Use |\\[bibte|
|00002c00| 78 2d 66 69 6e 64 2d 74 | 65 78 74 5d 20 74 6f 20 |x-find-t|ext] to |
|00002c10| 70 6f 73 69 74 69 6f 6e | 20 74 68 65 20 64 6f 74 |position| the dot|
|00002c20| 20 61 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | at the |end of t|
|00002c30| 68 65 20 63 75 72 72 65 | 6e 74 20 66 69 65 6c 64 |he curre|nt field|
|00002c40| 2e 0a 55 73 65 20 5c 5c | 5b 62 69 62 74 65 78 2d |..Use \\|[bibtex-|
|00002c50| 6e 65 78 74 2d 66 69 65 | 6c 64 5d 20 74 6f 20 6d |next-fie|ld] to m|
|00002c60| 6f 76 65 20 74 6f 20 65 | 6e 64 20 6f 66 20 74 68 |ove to e|nd of th|
|00002c70| 65 20 6e 65 78 74 20 66 | 69 65 6c 64 2e 0a 0a 54 |e next f|ield...T|
|00002c80| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 61 79 |he follo|wing may|
|00002c90| 20 62 65 20 6f 66 20 69 | 6e 74 65 72 65 73 74 20 | be of i|nterest |
|00002ca0| 61 73 20 77 65 6c 6c 3a | 0a 0a 20 20 46 75 6e 63 |as well:|.. Func|
|00002cb0| 74 69 6f 6e 73 3a 0a 20 | 20 20 20 66 69 6e 64 2d |tions:. | find-|
|00002cc0| 62 69 62 74 65 78 2d 64 | 75 70 6c 69 63 61 74 65 |bibtex-d|uplicate|
|00002cd0| 73 0a 20 20 20 20 66 69 | 6e 64 2d 62 69 62 74 65 |s. fi|nd-bibte|
|00002ce0| 78 2d 65 6e 74 72 79 2d | 6c 6f 63 61 74 69 6f 6e |x-entry-|location|
|00002cf0| 0a 20 20 20 20 68 69 64 | 65 2d 62 69 62 74 65 78 |. hid|e-bibtex|
|00002d00| 2d 65 6e 74 72 79 2d 62 | 6f 64 69 65 73 0a 20 20 |-entry-b|odies. |
|00002d10| 20 20 73 6f 72 74 2d 62 | 69 62 74 65 78 2d 65 6e | sort-b|ibtex-en|
|00002d20| 74 72 69 65 73 0a 20 20 | 20 20 76 61 6c 69 64 61 |tries. | valida|
|00002d30| 74 65 2d 62 69 62 74 65 | 78 2d 62 75 66 66 65 72 |te-bibte|x-buffer|
|00002d40| 0a 0a 20 20 56 61 72 69 | 61 62 6c 65 73 3a 0a 20 |.. Vari|ables:. |
|00002d50| 20 20 20 62 69 62 74 65 | 78 2d 63 6c 65 61 6e 2d | bibte|x-clean-|
|00002d60| 65 6e 74 72 79 2d 7a 61 | 70 2d 65 6d 70 74 79 2d |entry-za|p-empty-|
|00002d70| 6f 70 74 73 0a 20 20 20 | 20 62 69 62 74 65 78 2d |opts. | bibtex-|
|00002d80| 65 6e 74 72 79 2d 66 69 | 65 6c 64 2d 61 6c 69 73 |entry-fi|eld-alis|
|00002d90| 74 0a 20 20 20 20 62 69 | 62 74 65 78 2d 69 6e 63 |t. bi|btex-inc|
|00002da0| 6c 75 64 65 2d 4f 50 54 | 61 6e 6e 6f 74 65 0a 20 |lude-OPT|annote. |
|00002db0| 20 20 20 62 69 62 74 65 | 78 2d 69 6e 63 6c 75 64 | bibte|x-includ|
|00002dc0| 65 2d 4f 50 54 63 72 6f | 73 73 72 65 66 0a 20 20 |e-OPTcro|ssref. |
|00002dd0| 20 20 62 69 62 74 65 78 | 2d 69 6e 63 6c 75 64 65 | bibtex|-include|
|00002de0| 2d 4f 50 54 6b 65 79 0a | 20 20 20 20 62 69 62 74 |-OPTkey.| bibt|
|00002df0| 65 78 2d 6d 61 69 6e 74 | 61 69 6e 2d 73 6f 72 74 |ex-maint|ain-sort|
|00002e00| 65 64 2d 65 6e 74 72 69 | 65 73 0a 20 20 20 20 62 |ed-entri|es. b|
|00002e10| 69 62 74 65 78 2d 6d 6f | 64 65 2d 75 73 65 72 2d |ibtex-mo|de-user-|
|00002e20| 6f 70 74 69 6f 6e 61 6c | 2d 66 69 65 6c 64 73 0a |optional|-fields.|
|00002e30| 0a 46 69 65 6c 64 73 3a | 0a 20 20 20 20 61 64 64 |.Fields:|. add|
|00002e40| 72 65 73 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ress. | |
|00002e50| 50 75 62 6c 69 73 68 65 | 72 27 73 20 61 64 64 72 |Publishe|r's addr|
|00002e60| 65 73 73 0a 20 20 20 20 | 61 6e 6e 6f 74 65 0a 20 |ess. |annote. |
|00002e70| 20 20 20 20 20 20 20 20 | 20 20 4c 6f 6e 67 20 61 | | Long a|
|00002e80| 6e 6e 6f 74 61 74 69 6f | 6e 20 75 73 65 64 20 66 |nnotatio|n used f|
|00002e90| 6f 72 20 61 6e 6e 6f 74 | 61 74 65 64 20 62 69 62 |or annot|ated bib|
|00002ea0| 6c 69 6f 67 72 61 70 68 | 69 65 73 20 28 62 65 67 |liograph|ies (beg|
|00002eb0| 69 6e 73 20 73 65 6e 74 | 65 6e 63 65 29 0a 20 20 |ins sent|ence). |
|00002ec0| 20 20 61 75 74 68 6f 72 | 0a 20 20 20 20 20 20 20 | author|. |
|00002ed0| 20 20 20 20 4e 61 6d 65 | 28 73 29 20 6f 66 20 61 | Name|(s) of a|
|00002ee0| 75 74 68 6f 72 28 73 29 | 2c 20 69 6e 20 42 69 62 |uthor(s)|, in Bib|
|00002ef0| 54 65 58 20 6e 61 6d 65 | 20 66 6f 72 6d 61 74 0a |TeX name| format.|
|00002f00| 20 20 20 20 62 6f 6f 6b | 74 69 74 6c 65 0a 20 20 | book|title. |
|00002f10| 20 20 20 20 20 20 20 20 | 20 42 6f 6f 6b 20 74 69 | | Book ti|
|00002f20| 74 6c 65 20 77 68 65 6e | 20 74 68 65 20 74 68 69 |tle when| the thi|
|00002f30| 6e 67 20 62 65 69 6e 67 | 20 72 65 66 65 72 65 6e |ng being| referen|
|00002f40| 63 65 64 20 69 73 6e 27 | 74 20 74 68 65 20 77 68 |ced isn'|t the wh|
|00002f50| 6f 6c 65 20 62 6f 6f 6b | 2e 0a 20 20 20 20 20 20 |ole book|.. |
|00002f60| 20 20 20 20 20 46 6f 72 | 20 62 6f 6f 6b 20 65 6e | For| book en|
|00002f70| 74 72 69 65 73 2c 20 74 | 68 65 20 74 69 74 6c 65 |tries, t|he title|
|00002f80| 20 66 69 65 6c 64 20 73 | 68 6f 75 6c 64 20 62 65 | field s|hould be|
|00002f90| 20 75 73 65 64 20 69 6e | 73 74 65 61 64 2e 0a 20 | used in|stead.. |
|00002fa0| 20 20 20 63 68 61 70 74 | 65 72 0a 20 20 20 20 20 | chapt|er. |
|00002fb0| 20 20 20 20 20 20 43 68 | 61 70 74 65 72 20 6e 75 | Ch|apter nu|
|00002fc0| 6d 62 65 72 0a 20 20 20 | 20 63 72 6f 73 73 72 65 |mber. | crossre|
|00002fd0| 66 0a 09 20 20 20 54 68 | 65 20 64 61 74 61 62 61 |f.. Th|e databa|
|00002fe0| 73 65 20 6b 65 79 20 6f | 66 20 74 68 65 20 65 6e |se key o|f the en|
|00002ff0| 74 72 79 20 62 65 69 6e | 67 20 63 72 6f 73 73 20 |try bein|g cross |
|00003000| 72 65 66 65 72 65 6e 63 | 65 64 2e 0a 20 20 20 20 |referenc|ed.. |
|00003010| 65 64 69 74 69 6f 6e 0a | 20 20 20 20 20 20 20 20 |edition.| |
|00003020| 20 20 20 45 64 69 74 69 | 6f 6e 20 6f 66 20 61 20 | Editi|on of a |
|00003030| 62 6f 6f 6b 20 28 65 2e | 67 2e 2c 20 5c 22 73 65 |book (e.|g., \"se|
|00003040| 63 6f 6e 64 5c 22 29 0a | 20 20 20 20 65 64 69 74 |cond\").| edit|
|00003050| 6f 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 4e 61 |or. | Na|
|00003060| 6d 65 28 73 29 20 6f 66 | 20 65 64 69 74 6f 72 28 |me(s) of| editor(|
|00003070| 73 29 2c 20 69 6e 20 42 | 69 62 54 65 58 20 6e 61 |s), in B|ibTeX na|
|00003080| 6d 65 20 66 6f 72 6d 61 | 74 2e 0a 20 20 20 20 20 |me forma|t.. |
|00003090| 20 20 20 20 20 20 49 66 | 20 74 68 65 72 65 20 69 | If| there i|
|000030a0| 73 20 61 6c 73 6f 20 61 | 6e 20 61 75 74 68 6f 72 |s also a|n author|
|000030b0| 20 66 69 65 6c 64 2c 20 | 74 68 65 6e 20 74 68 65 | field, |then the|
|000030c0| 20 65 64 69 74 6f 72 20 | 66 69 65 6c 64 20 73 68 | editor |field sh|
|000030d0| 6f 75 6c 64 20 62 65 0a | 20 20 20 20 20 20 20 20 |ould be.| |
|000030e0| 20 20 20 66 6f 72 20 74 | 68 65 20 62 6f 6f 6b 20 | for t|he book |
|000030f0| 6f 72 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 74 68 |or colle|ction th|
|00003100| 61 74 20 74 68 65 20 77 | 6f 72 6b 20 61 70 70 65 |at the w|ork appe|
|00003110| 61 72 73 20 69 6e 0a 20 | 20 20 20 68 6f 77 70 75 |ars in. | howpu|
|00003120| 62 6c 69 73 68 65 64 0a | 20 20 20 20 20 20 20 20 |blished.| |
|00003130| 20 20 20 20 48 6f 77 20 | 73 6f 6d 65 74 68 69 6e | How |somethin|
|00003140| 67 20 73 74 72 61 6e 67 | 65 20 68 61 73 20 62 65 |g strang|e has be|
|00003150| 65 6e 20 70 75 62 6c 69 | 73 68 65 64 20 28 62 65 |en publi|shed (be|
|00003160| 67 69 6e 73 20 73 65 6e | 74 65 6e 63 65 29 0a 20 |gins sen|tence). |
|00003170| 20 20 20 69 6e 73 74 69 | 74 75 74 69 6f 6e 0a 20 | insti|tution. |
|00003180| 20 20 20 20 20 20 20 20 | 20 20 53 70 6f 6e 73 6f | | Sponso|
|00003190| 72 69 6e 67 20 69 6e 73 | 74 69 74 75 74 69 6f 6e |ring ins|titution|
|000031a0| 0a 20 20 20 20 6a 6f 75 | 72 6e 61 6c 0a 20 20 20 |. jou|rnal. |
|000031b0| 20 20 20 20 20 20 20 20 | 4a 6f 75 72 6e 61 6c 20 | |Journal |
|000031c0| 6e 61 6d 65 20 28 6d 61 | 63 72 6f 73 20 61 72 65 |name (ma|cros are|
|000031d0| 20 70 72 6f 76 69 64 65 | 64 20 66 6f 72 20 6d 61 | provide|d for ma|
|000031e0| 6e 79 29 0a 20 20 20 20 | 6b 65 79 0a 20 20 20 20 |ny). |key. |
|000031f0| 20 20 20 20 20 20 20 41 | 6c 70 68 61 62 65 74 69 | A|lphabeti|
|00003200| 7a 69 6e 67 20 61 6e 64 | 20 6c 61 62 65 6c 69 6e |zing and| labelin|
|00003210| 67 20 6b 65 79 20 28 6e | 65 65 64 65 64 20 77 68 |g key (n|eeded wh|
|00003220| 65 6e 20 6e 6f 20 61 75 | 74 68 6f 72 20 6f 72 20 |en no au|thor or |
|00003230| 65 64 69 74 6f 72 29 0a | 20 20 20 20 6d 6f 6e 74 |editor).| mont|
|00003240| 68 0a 20 20 20 20 20 20 | 20 20 20 20 20 4d 6f 6e |h. | Mon|
|00003250| 74 68 20 28 6d 61 63 72 | 6f 73 20 61 72 65 20 70 |th (macr|os are p|
|00003260| 72 6f 76 69 64 65 64 29 | 0a 20 20 20 20 6e 6f 74 |rovided)|. not|
|00003270| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 54 6f 20 |e. | To |
|00003280| 68 65 6c 70 20 74 68 65 | 20 72 65 61 64 65 72 20 |help the| reader |
|00003290| 66 69 6e 64 20 61 20 72 | 65 66 65 72 65 6e 63 65 |find a r|eference|
|000032a0| 20 28 62 65 67 69 6e 73 | 20 73 65 6e 74 65 6e 63 | (begins| sentenc|
|000032b0| 65 29 0a 20 20 20 20 6e | 75 6d 62 65 72 0a 20 20 |e). n|umber. |
|000032c0| 20 20 20 20 20 20 20 20 | 20 4e 75 6d 62 65 72 20 | | Number |
|000032d0| 6f 66 20 61 20 6a 6f 75 | 72 6e 61 6c 20 6f 72 20 |of a jou|rnal or |
|000032e0| 74 65 63 68 6e 69 63 61 | 6c 20 72 65 70 6f 72 74 |technica|l report|
|000032f0| 0a 20 20 20 20 6f 72 67 | 61 6e 69 7a 61 74 69 6f |. org|anizatio|
|00003300| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 4f 72 67 |n. | Org|
|00003310| 61 6e 69 7a 61 74 69 6f | 6e 20 28 73 70 6f 6e 73 |anizatio|n (spons|
|00003320| 6f 72 69 6e 67 20 61 20 | 63 6f 6e 66 65 72 65 6e |oring a |conferen|
|00003330| 63 65 29 0a 20 20 20 20 | 70 61 67 65 73 0a 20 20 |ce). |pages. |
|00003340| 20 20 20 20 20 20 20 20 | 20 50 61 67 65 20 6e 75 | | Page nu|
|00003350| 6d 62 65 72 20 6f 72 20 | 6e 75 6d 62 65 72 73 20 |mber or |numbers |
|00003360| 28 75 73 65 20 60 2d 2d | 27 20 74 6f 20 73 65 70 |(use `--|' to sep|
|00003370| 61 72 61 74 65 20 61 20 | 72 61 6e 67 65 29 0a 20 |arate a |range). |
|00003380| 20 20 20 70 75 62 6c 69 | 73 68 65 72 0a 20 20 20 | publi|sher. |
|00003390| 20 20 20 20 20 20 20 20 | 50 75 62 6c 69 73 68 65 | |Publishe|
|000033a0| 72 20 6e 61 6d 65 0a 20 | 20 20 20 73 63 68 6f 6f |r name. | schoo|
|000033b0| 6c 0a 20 20 20 20 20 20 | 20 20 20 20 20 53 63 68 |l. | Sch|
|000033c0| 6f 6f 6c 20 6e 61 6d 65 | 20 28 66 6f 72 20 74 68 |ool name| (for th|
|000033d0| 65 73 65 73 29 0a 20 20 | 20 20 73 65 72 69 65 73 |eses). | series|
|000033e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 |. | The |
|000033f0| 6e 61 6d 65 20 6f 66 20 | 61 20 73 65 72 69 65 73 |name of |a series|
|00003400| 20 6f 72 20 73 65 74 20 | 6f 66 20 62 6f 6f 6b 73 | or set |of books|
|00003410| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 20 41 6e 20 |.. | An |
|00003420| 69 6e 64 69 76 69 64 75 | 61 6c 20 62 6f 6f 6b 20 |individu|al book |
|00003430| 77 69 6c 6c 20 77 69 6c | 6c 20 61 6c 73 6f 20 68 |will wil|l also h|
|00003440| 61 76 65 20 69 74 27 73 | 20 6f 77 6e 20 74 69 74 |ave it's| own tit|
|00003450| 6c 65 0a 20 20 20 20 74 | 69 74 6c 65 0a 20 20 20 |le. t|itle. |
|00003460| 20 20 20 20 20 20 20 20 | 54 68 65 20 74 69 74 6c | |The titl|
|00003470| 65 20 6f 66 20 74 68 65 | 20 74 68 69 6e 67 20 62 |e of the| thing b|
|00003480| 65 69 6e 67 20 72 65 66 | 65 72 65 6e 63 65 64 0a |eing ref|erenced.|
|00003490| 20 20 20 20 74 79 70 65 | 0a 20 20 20 20 20 20 20 | type|. |
|000034a0| 20 20 20 20 54 79 70 65 | 20 6f 66 20 61 20 74 65 | Type| of a te|
|000034b0| 63 68 6e 69 63 61 6c 20 | 72 65 70 6f 72 74 20 28 |chnical |report (|
|000034c0| 65 2e 67 2e 2c 20 5c 22 | 52 65 73 65 61 72 63 68 |e.g., \"|Research|
|000034d0| 20 4e 6f 74 65 5c 22 29 | 20 74 6f 20 62 65 20 75 | Note\")| to be u|
|000034e0| 73 65 64 0a 20 20 20 20 | 20 20 20 20 20 20 20 69 |sed. | i|
|000034f0| 6e 73 74 65 61 64 20 6f | 66 20 74 68 65 20 64 65 |nstead o|f the de|
|00003500| 66 61 75 6c 74 20 5c 22 | 54 65 63 68 6e 69 63 61 |fault \"|Technica|
|00003510| 6c 20 52 65 70 6f 72 74 | 5c 22 0a 20 20 20 20 76 |l Report|\". v|
|00003520| 6f 6c 75 6d 65 0a 20 20 | 20 20 20 20 20 20 20 20 |olume. | |
|00003530| 20 56 6f 6c 75 6d 65 20 | 6f 66 20 61 20 6a 6f 75 | Volume |of a jou|
|00003540| 72 6e 61 6c 20 6f 72 20 | 6d 75 6c 74 69 76 6f 6c |rnal or |multivol|
|00003550| 75 6d 65 20 77 6f 72 6b | 0a 20 20 20 20 79 65 61 |ume work|. yea|
|00003560| 72 0a 20 20 20 20 20 20 | 20 20 20 20 20 59 65 61 |r. | Yea|
|00003570| 72 2d 2d 2d 73 68 6f 75 | 6c 64 20 63 6f 6e 74 61 |r---shou|ld conta|
|00003580| 69 6e 20 6f 6e 6c 79 20 | 6e 75 6d 65 72 61 6c 73 |in only |numerals|
|00003590| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|000035a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000035b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000035c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 45 6e 74 72 79 |--------|--.Entry|
|000035d0| 20 74 6f 20 74 68 69 73 | 20 6d 6f 64 65 20 63 61 | to this| mode ca|
|000035e0| 6c 6c 73 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |lls the |value of|
|000035f0| 20 62 69 62 74 65 78 2d | 6d 6f 64 65 2d 68 6f 6f | bibtex-|mode-hoo|
|00003600| 6b 20 69 66 20 74 68 61 | 74 20 76 61 6c 75 65 20 |k if tha|t value |
|00003610| 69 73 0a 6e 6f 6e 2d 6e | 69 6c 2e 22 20 6e 69 6c |is.non-n|il." nil|
|00003620| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 62 69 |]).(defa|lias 'bi|
|00003630| 62 74 65 78 2d 6d 6f 76 | 65 2d 6f 75 74 73 69 64 |btex-mov|e-outsid|
|00003640| 65 2d 6f 66 2d 65 6e 74 | 72 79 20 23 5b 6e 69 6c |e-of-ent|ry #[nil|
|00003650| 20 22 60 64 55 84 18 00 | 60 65 55 84 18 00 c0 c1 | "`dU...|`eU.....|
|00003660| 21 84 18 00 c2 20 88 c3 | 20 88 c4 c5 64 c6 23 87 |!.... ..| ...d.#.|
|00003670| 22 20 5b 6c 6f 6f 6b 69 | 6e 67 2d 61 74 20 22 5b |" [looki|ng-at "[|
|00003680| 20 5c 6e 5d 2a 40 22 20 | 62 61 63 6b 77 61 72 64 | \n]*@" |backward|
|00003690| 2d 70 61 72 61 67 72 61 | 70 68 20 66 6f 72 77 61 |-paragra|ph forwa|
|000036a0| 72 64 2d 70 61 72 61 67 | 72 61 70 68 20 72 65 2d |rd-parag|raph re-|
|000036b0| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|000036c0| 5b 20 09 5c 6e 5d 2a 22 | 20 74 5d 20 34 20 22 5c |[ .\n]*"| t] 4 "\|
|000036d0| 0a 4d 61 6b 65 20 73 75 | 72 65 20 77 65 20 61 72 |.Make su|re we ar|
|000036e0| 65 20 6f 75 74 73 69 64 | 65 20 6f 66 20 61 20 62 |e outsid|e of a b|
|000036f0| 69 62 20 65 6e 74 72 79 | 22 5d 29 0a 28 62 79 74 |ib entry|"]).(byt|
|00003700| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 5c 22 88 c0 c3 |e-code "|...\"...|
|00003710| c4 5c 22 88 c0 c5 c6 5c | 22 87 22 20 5b 64 65 66 |.\"....\|"." [def|
|00003720| 61 6c 69 61 73 20 69 73 | 70 65 6c 6c 2d 61 62 73 |alias is|pell-abs|
|00003730| 74 72 61 63 74 20 23 5b | 6e 69 6c 20 22 c0 20 88 |tract #[|nil ". .|
|00003740| c1 c2 21 88 c3 60 8a c4 | 20 88 60 29 5c 22 87 22 |..!..`..| .`)\"."|
|00003750| 20 5b 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 62 | [beginn|ing-of-b|
|00003760| 69 62 74 65 78 2d 65 6e | 74 72 79 20 72 65 2d 73 |ibtex-en|try re-s|
|00003770| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 5e |earch-fo|rward "^|
|00003780| 5b 20 09 5d 2a 5b 4f 50 | 54 5d 2a 61 62 73 74 72 |[ .]*[OP|T]*abstr|
|00003790| 61 63 74 5b 20 09 5d 2a | 3d 22 20 69 73 70 65 6c |act[ .]*|=" ispel|
|000037a0| 6c 2d 72 65 67 69 6f 6e | 20 66 6f 72 77 61 72 64 |l-region| forward|
|000037b0| 2d 73 65 78 70 5d 20 33 | 20 6e 69 6c 20 6e 69 6c |-sexp] 3| nil nil|
|000037c0| 5d 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 62 |] beginn|ing-of-b|
|000037d0| 69 62 74 65 78 2d 65 6e | 74 72 79 20 23 5b 6e 69 |ibtex-en|try #[ni|
|000037e0| 6c 20 22 c0 c1 c2 c3 23 | 87 22 20 5b 72 65 2d 73 |l "....#|." [re-s|
|000037f0| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|00003800| 5e 40 22 20 6e 69 6c 20 | 6d 6f 76 65 5d 20 34 20 |^@" nil |move] 4 |
|00003810| 6e 69 6c 20 6e 69 6c 5d | 20 73 6b 69 70 2d 77 68 |nil nil]| skip-wh|
|00003820| 69 74 65 73 70 61 63 65 | 2d 61 6e 64 2d 63 6f 6d |itespace|-and-com|
|00003830| 6d 65 6e 74 73 20 23 5b | 6e 69 6c 20 22 c0 20 19 |ments #[|nil ". .|
|00003840| c2 8e c3 c4 21 83 11 00 | c5 95 62 82 1a 00 c3 c6 |....!...|..b.....|
|00003850| 21 85 20 00 c7 c8 21 85 | 20 00 82 05 00 2a 87 22 |!. ...!.| ....*."|
|00003860| 20 5b 6d 61 74 63 68 2d | 64 61 74 61 20 6d 64 20 | [match-|data md |
|00003870| 28 28 73 74 6f 72 65 2d | 6d 61 74 63 68 2d 64 61 |((store-|match-da|
|00003880| 74 61 20 6d 64 29 29 20 | 6c 6f 6f 6b 69 6e 67 2d |ta md)) |looking-|
|00003890| 61 74 20 22 5c 5c 73 3e | 2b 5c 5c 7c 5c 5c 73 20 |at "\\s>|+\\|\\s |
|000038a0| 2b 22 20 30 20 22 5c 5c | 73 3c 22 20 72 65 2d 73 |+" 0 "\\|s<" re-s|
|000038b0| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 5c |earch-fo|rward "\|
|000038c0| 5c 73 3e 22 5d 20 32 5d | 5d 20 33 29 0a 28 64 65 |\s>"] 2]|] 3).(de|
|000038d0| 66 61 6c 69 61 73 20 27 | 65 6e 64 2d 6f 66 2d 62 |falias '|end-of-b|
|000038e0| 69 62 74 65 78 2d 65 6e | 74 72 79 20 23 5b 6e 69 |ibtex-en|try #[ni|
|000038f0| 6c 20 22 c0 20 88 c1 7f | 88 c2 20 88 c3 1c c5 20 |l ". ...|.. .... |
|00003900| 88 c5 20 29 87 22 20 5b | 73 6b 69 70 2d 77 68 69 |.. )." [|skip-whi|
|00003910| 74 65 73 70 61 63 65 2d | 61 6e 64 2d 63 6f 6d 6d |tespace-|and-comm|
|00003920| 65 6e 74 73 20 6e 69 6c | 20 62 65 67 69 6e 6e 69 |ents nil| beginni|
|00003930| 6e 67 2d 6f 66 2d 62 69 | 62 74 65 78 2d 65 6e 74 |ng-of-bi|btex-ent|
|00003940| 72 79 20 74 20 70 61 72 | 73 65 2d 73 65 78 70 2d |ry t par|se-sexp-|
|00003950| 69 67 6e 6f 72 65 2d 63 | 6f 6d 6d 65 6e 74 73 20 |ignore-c|omments |
|00003960| 66 6f 72 77 61 72 64 2d | 73 65 78 70 5d 20 31 20 |forward-|sexp] 1 |
|00003970| 22 5c 0a 49 66 20 69 6e | 73 69 64 65 20 61 6e 20 |"\.If in|side an |
|00003980| 65 6e 74 72 79 2c 20 6d | 6f 76 65 20 74 6f 20 74 |entry, m|ove to t|
|00003990| 68 65 20 65 6e 64 20 6f | 66 20 69 74 2c 20 6f 74 |he end o|f it, ot|
|000039a0| 68 65 72 77 69 73 65 20 | 6d 6f 76 65 20 74 6f 20 |herwise |move to |
|000039b0| 74 68 65 20 65 6e 64 0a | 6f 66 20 74 68 65 20 6e |the end.|of the n|
|000039c0| 65 78 74 20 65 6e 74 72 | 79 2e 22 20 6e 69 6c 5d |ext entr|y." nil]|
|000039d0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000039e0| c2 5c 22 88 c0 c3 c4 5c | 22 88 c0 c5 c6 5c 22 87 |.\"....\|"....\".|
|000039f0| 22 20 5b 64 65 66 61 6c | 69 61 73 20 69 73 70 65 |" [defal|ias ispe|
|00003a00| 6c 6c 2d 62 69 62 74 65 | 78 2d 65 6e 74 72 79 20 |ll-bibte|x-entry |
|00003a10| 23 5b 6e 69 6c 20 22 c0 | c1 20 88 60 c2 20 88 60 |#[nil ".|. .`. .`|
|00003a20| 5c 22 87 22 20 5b 69 73 | 70 65 6c 6c 2d 72 65 67 |\"." [is|pell-reg|
|00003a30| 69 6f 6e 20 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |ion begi|nning-of|
|00003a40| 2d 62 69 62 74 65 78 2d | 65 6e 74 72 79 20 65 6e |-bibtex-|entry en|
|00003a50| 64 2d 6f 66 2d 62 69 62 | 74 65 78 2d 65 6e 74 72 |d-of-bib|tex-entr|
|00003a60| 79 5d 20 33 20 6e 69 6c | 20 6e 69 6c 5d 20 6e 61 |y] 3 nil| nil] na|
|00003a70| 72 72 6f 77 2d 74 6f 2d | 62 69 62 74 65 78 2d 65 |rrow-to-|bibtex-e|
|00003a80| 6e 74 72 79 20 23 5b 6e | 69 6c 20 22 8a c0 20 88 |ntry #[n|il ".. .|
|00003a90| 60 c1 20 88 60 7d 29 87 | 22 20 5b 62 65 67 69 6e |`. .`}).|" [begin|
|00003aa0| 6e 69 6e 67 2d 6f 66 2d | 62 69 62 74 65 78 2d 65 |ning-of-|bibtex-e|
|00003ab0| 6e 74 72 79 20 65 6e 64 | 2d 6f 66 2d 62 69 62 74 |ntry end|-of-bibt|
|00003ac0| 65 78 2d 65 6e 74 72 79 | 5d 20 32 20 6e 69 6c 20 |ex-entry|] 2 nil |
|00003ad0| 6e 69 6c 5d 20 62 65 67 | 69 6e 6e 69 6e 67 2d 6f |nil] beg|inning-o|
|00003ae0| 66 2d 66 69 72 73 74 2d | 62 69 62 74 65 78 2d 65 |f-first-|bibtex-e|
|00003af0| 6e 74 72 79 20 23 5b 6e | 69 6c 20 22 65 62 88 c0 |ntry #[n|il "eb..|
|00003b00| c1 c2 c3 23 83 10 00 c4 | 79 88 c2 87 6f 83 1a 00 |...#....|y...o...|
|00003b10| 6d 83 1a 00 c2 87 c5 c6 | 21 87 22 20 5b 72 65 2d |m.......|!." [re-|
|00003b20| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00003b30| 5e 40 22 20 6e 69 6c 20 | 6d 6f 76 65 20 30 20 6d |^@" nil |move 0 m|
|00003b40| 65 73 73 61 67 65 20 22 | 57 61 72 6e 69 6e 67 3a |essage "|Warning:|
|00003b50| 20 4e 6f 20 62 69 62 74 | 65 78 20 65 6e 74 72 69 | No bibt|ex entri|
|00003b60| 65 73 20 66 6f 75 6e 64 | 21 22 5d 20 34 5d 5d 20 |es found|!"] 4]] |
|00003b70| 33 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 68 69 |3).(defa|lias 'hi|
|00003b80| 64 65 2d 62 69 62 74 65 | 78 2d 65 6e 74 72 79 2d |de-bibte|x-entry-|
|00003b90| 62 6f 64 69 65 73 20 23 | 5b 28 26 6f 70 74 69 6f |bodies #|[(&optio|
|00003ba0| 6e 61 6c 20 61 72 67 29 | 20 22 8a c0 20 88 c1 20 |nal arg)| ".. .. |
|00003bb0| c2 1b 1c 0d 83 18 00 c6 | 60 64 c7 c8 c9 25 88 82 |........|`d...%..|
|00003bc0| 38 00 8a ca cb 64 c9 23 | 29 83 38 00 8a ca cc c2 |8....d.#|).8.....|
|00003bd0| c9 23 83 34 00 cd ce c2 | 89 23 88 82 23 00 29 82 |.#.4....|.#..#.).|
|00003be0| 18 00 0d 3f 16 0f d0 5c | 66 21 2b 87 22 20 5b 62 |...?...\|f!+." [b|
|00003bf0| 65 67 69 6e 6e 69 6e 67 | 2d 6f 66 2d 66 69 72 73 |eginning|-of-firs|
|00003c00| 74 2d 62 69 62 74 65 78 | 2d 65 6e 74 72 79 20 62 |t-bibtex|-entry b|
|00003c10| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|00003c20| 20 6e 69 6c 20 62 75 66 | 66 65 72 2d 72 65 61 64 | nil buf|fer-read|
|00003c30| 2d 6f 6e 6c 79 20 6d 6f | 64 69 66 69 65 64 70 20 |-only mo|difiedp |
|00003c40| 61 72 67 20 73 75 62 73 | 74 2d 63 68 61 72 2d 69 |arg subs|t-char-i|
|00003c50| 6e 2d 72 65 67 69 6f 6e | 20 31 33 20 31 30 20 74 |n-region| 13 10 t|
|00003c60| 20 72 65 2d 73 65 61 72 | 63 68 2d 66 6f 72 77 61 | re-sear|ch-forwa|
|00003c70| 72 64 20 22 5c 6e 5b 5e | 40 5d 22 20 22 5c 6e 5c |rd "\n[^|@]" "\n\|
|00003c80| 5c 28 5b 5e 40 5d 5c 5c | 29 22 20 72 65 70 6c 61 |\([^@]\\|)" repla|
|00003c90| 63 65 2d 6d 61 74 63 68 | 20 22 0d 5c 5c 31 22 20 |ce-match| ".\\1" |
|00003ca0| 73 65 6c 65 63 74 69 76 | 65 2d 64 69 73 70 6c 61 |selectiv|e-displa|
|00003cb0| 79 20 73 65 74 2d 62 75 | 66 66 65 72 2d 6d 6f 64 |y set-bu|ffer-mod|
|00003cc0| 69 66 69 65 64 2d 70 5d | 20 36 20 22 5c 0a 48 69 |ified-p]| 6 "\.Hi|
|00003cd0| 64 65 20 61 6c 6c 20 6c | 69 6e 65 73 20 62 65 74 |de all l|ines bet|
|00003ce0| 77 65 65 6e 20 66 69 72 | 73 74 20 61 6e 64 20 6c |ween fir|st and l|
|00003cf0| 61 73 74 20 62 69 62 74 | 65 78 20 65 6e 74 72 69 |ast bibt|ex entri|
|00003d00| 65 73 20 6e 6f 74 20 62 | 65 67 69 6e 6e 69 6e 67 |es not b|eginning|
|00003d10| 20 77 69 74 68 20 40 2e | 0a 57 69 74 68 20 61 72 | with @.|.With ar|
|00003d20| 67 75 6d 65 6e 74 2c 20 | 73 68 6f 77 20 61 6c 6c |gument, |show all|
|00003d30| 20 74 65 78 74 2e 22 20 | 22 50 22 5d 29 0a 28 64 | text." |"P"]).(d|
|00003d40| 65 66 76 61 72 20 62 69 | 62 74 65 78 2d 73 6f 72 |efvar bi|btex-sor|
|00003d50| 74 2d 69 67 6e 6f 72 65 | 2d 73 74 72 69 6e 67 2d |t-ignore|-string-|
|00003d60| 65 6e 74 72 69 65 73 20 | 6e 69 6c 20 22 5c 0a 2a |entries |nil "\.*|
|00003d70| 49 66 20 74 72 75 65 2c | 20 62 69 62 74 65 78 20 |If true,| bibtex |
|00003d80| 40 53 54 52 49 4e 47 20 | 65 6e 74 72 69 65 73 20 |@STRING |entries |
|00003d90| 61 72 65 20 69 67 6e 6f | 72 65 64 20 77 68 65 6e |are igno|red when|
|00003da0| 20 64 65 74 65 72 6d 69 | 6e 69 6e 67 20 6f 72 64 | determi|ning ord|
|00003db0| 65 72 69 6e 67 0a 6f 66 | 20 74 68 65 20 62 75 66 |ering.of| the buf|
|00003dc0| 66 65 72 20 28 65 2e 67 | 2e 20 73 6f 72 74 69 6e |fer (e.g|. sortin|
|00003dd0| 67 2c 20 6c 6f 63 61 74 | 69 6e 67 20 61 6c 70 68 |g, locat|ing alph|
|00003de0| 61 62 65 74 69 63 61 6c | 20 70 6f 73 69 74 69 6f |abetical| positio|
|00003df0| 6e 20 66 6f 72 20 6e 65 | 77 20 65 6e 74 72 69 65 |n for ne|w entrie|
|00003e00| 73 2c 0a 65 74 63 2e 29 | 22 29 0a 28 64 65 66 61 |s,.etc.)|").(defa|
|00003e10| 6c 69 61 73 20 27 73 6f | 72 74 2d 62 69 62 74 65 |lias 'so|rt-bibte|
|00003e20| 78 2d 65 6e 74 72 69 65 | 73 20 23 5b 6e 69 6c 20 |x-entrie|s #[nil |
|00003e30| 22 8c c0 20 88 60 8a 64 | 62 88 c1 20 88 c2 20 88 |".. .`.d|b.. .. .|
|00003e40| 60 29 7d 88 c3 c4 c5 c6 | 0e 07 83 20 00 c8 82 21 |`)}.....|... ...!|
|00003e50| 00 c9 ca 25 29 87 22 20 | 5b 62 65 67 69 6e 6e 69 |...%)." |[beginni|
|00003e60| 6e 67 2d 6f 66 2d 66 69 | 72 73 74 2d 62 69 62 74 |ng-of-fi|rst-bibt|
|00003e70| 65 78 2d 65 6e 74 72 79 | 20 62 65 67 69 6e 6e 69 |ex-entry| beginni|
|00003e80| 6e 67 2d 6f 66 2d 62 69 | 62 74 65 78 2d 65 6e 74 |ng-of-bi|btex-ent|
|00003e90| 72 79 20 65 6e 64 2d 6f | 66 2d 62 69 62 74 65 78 |ry end-o|f-bibtex|
|00003ea0| 2d 65 6e 74 72 79 20 73 | 6f 72 74 2d 73 75 62 72 |-entry s|ort-subr|
|00003eb0| 20 6e 69 6c 20 66 6f 72 | 77 61 72 64 2d 6c 69 6e | nil for|ward-lin|
|00003ec0| 65 20 23 5b 6e 69 6c 20 | 22 c0 c1 c2 c3 23 85 5c |e #[nil |"....#.\|
|00003ed0| 6e 00 c4 75 87 22 20 5b | 72 65 2d 73 65 61 72 63 |n..u." [|re-searc|
|00003ee0| 68 2d 66 6f 72 77 61 72 | 64 20 22 7d 5c 5c 73 2d |h-forwar|d "}\\s-|
|00003ef0| 2a 5c 6e 5b 5c 6e 20 09 | 5d 2a 40 22 20 6e 69 6c |*\n[\n .|]*@" nil|
|00003f00| 20 6d 6f 76 65 20 2d 32 | 5d 20 34 5d 20 62 69 62 | move -2|] 4] bib|
|00003f10| 74 65 78 2d 73 6f 72 74 | 2d 69 67 6e 6f 72 65 2d |tex-sort|-ignore-|
|00003f20| 73 74 72 69 6e 67 2d 65 | 6e 74 72 69 65 73 20 23 |string-e|ntries #|
|00003f30| 5b 6e 69 6c 20 22 c0 c1 | 21 83 11 00 c2 c3 c4 94 |[nil "..|!.......|
|00003f40| c4 95 7b 5c 22 84 00 00 | c5 87 22 20 5b 72 65 2d |..{\"...|.." [re-|
|00003f50| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00003f60| 5e 5c 5c 73 2d 2a 5c 5c | 28 5b 40 61 2d 7a 41 2d |^\\s-*\\|([@a-zA-|
|00003f70| 5a 5d 2a 5c 5c 29 5c 5c | 73 2d 2a 7b 5c 5c 73 2d |Z]*\\)\\|s-*{\\s-|
|00003f80| 2a 22 20 73 74 72 69 6e | 67 2d 65 71 75 61 6c 70 |*" strin|g-equalp|
|00003f90| 20 22 40 73 74 72 69 6e | 67 22 20 31 20 6e 69 6c | "@strin|g" 1 nil|
|00003fa0| 5d 20 34 5d 20 23 5b 6e | 69 6c 20 22 c0 c1 21 88 |] 4] #[n|il "..!.|
|00003fb0| c2 87 22 20 5b 72 65 2d | 73 65 61 72 63 68 2d 66 |.." [re-|search-f|
|00003fc0| 6f 72 77 61 72 64 20 22 | 7b 5c 5c 73 2d 2a 22 20 |orward "|{\\s-*" |
|00003fd0| 6e 69 6c 5d 20 32 5d 20 | 23 5b 6e 69 6c 20 22 c0 |nil] 2] |#[nil ".|
|00003fe0| c1 21 87 22 20 5b 73 65 | 61 72 63 68 2d 66 6f 72 |.!." [se|arch-for|
|00003ff0| 77 61 72 64 20 22 2c 22 | 5d 20 32 5d 5d 20 36 20 |ward ","|] 2]] 6 |
|00004000| 22 5c 0a 53 6f 72 74 20 | 62 69 62 74 65 78 20 65 |"\.Sort |bibtex e|
|00004010| 6e 74 72 69 65 73 20 61 | 6c 70 68 61 62 65 74 69 |ntries a|lphabeti|
|00004020| 63 61 6c 6c 79 20 62 79 | 20 6b 65 79 2e 0a 54 65 |cally by| key..Te|
|00004030| 78 74 20 62 65 66 6f 72 | 65 20 74 68 65 20 66 69 |xt befor|e the fi|
|00004040| 72 73 74 20 62 69 62 74 | 65 78 20 65 6e 74 72 79 |rst bibt|ex entry|
|00004050| 2c 20 61 6e 64 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |, and fo|llowing |
|00004060| 74 68 65 20 6c 61 73 74 | 20 69 73 20 6e 6f 74 20 |the last| is not |
|00004070| 61 66 66 65 63 74 65 64 | 2e 0a 49 66 20 62 69 62 |affected|..If bib|
|00004080| 74 65 78 2d 73 6f 72 74 | 2d 69 67 6e 6f 72 65 2d |tex-sort|-ignore-|
|00004090| 73 74 72 69 6e 67 2d 65 | 6e 74 72 69 65 73 20 69 |string-e|ntries i|
|000040a0| 73 20 74 72 75 65 2c 20 | 40 73 74 72 69 6e 67 20 |s true, |@string |
|000040b0| 65 6e 74 72 69 65 73 20 | 77 69 6c 6c 20 62 65 20 |entries |will be |
|000040c0| 69 67 6e 6f 72 65 64 2e | 0a 0a 42 75 67 73 3a 0a |ignored.|..Bugs:.|
|000040d0| 20 20 31 2e 20 54 65 78 | 74 20 62 65 74 77 65 65 | 1. Tex|t betwee|
|000040e0| 6e 20 74 68 65 20 63 6c | 6f 73 69 6e 67 20 62 72 |n the cl|osing br|
|000040f0| 61 63 65 20 65 6e 64 69 | 6e 67 20 6f 6e 65 20 62 |ace endi|ng one b|
|00004100| 69 62 74 65 78 20 65 6e | 74 72 79 2c 20 61 6e 64 |ibtex en|try, and|
|00004110| 20 74 68 65 20 40 20 73 | 74 61 72 74 69 6e 67 20 | the @ s|tarting |
|00004120| 0a 20 20 20 20 20 74 68 | 65 20 6e 65 78 74 2c 20 |. th|e next, |
|00004130| 69 73 20 63 6f 6e 73 69 | 64 65 72 65 64 20 70 61 |is consi|dered pa|
|00004140| 72 74 20 6f 66 20 74 68 | 65 20 50 52 45 43 45 44 |rt of th|e PRECED|
|00004150| 49 4e 47 20 65 6e 74 72 | 79 2e 20 20 50 65 72 68 |ING entr|y. Perh|
|00004160| 61 70 73 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |aps it s|hould be|
|00004170| 0a 20 20 20 20 20 70 61 | 72 74 20 6f 66 20 74 68 |. pa|rt of th|
|00004180| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 65 6e 74 72 |e follow|ing entr|
|00004190| 79 2e 22 20 6e 69 6c 5d | 29 0a 28 64 65 66 61 6c |y." nil]|).(defal|
|000041a0| 69 61 73 20 27 6d 61 70 | 2d 62 69 62 74 65 78 2d |ias 'map|-bibtex-|
|000041b0| 65 6e 74 72 69 65 73 20 | 23 5b 28 66 75 6e 29 20 |entries |#[(fun) |
|000041c0| 22 c0 20 88 c1 c2 c3 c4 | 23 85 26 00 0d 83 1a 00 |". .....|#.&.....|
|000041d0| c6 c7 c8 94 c9 94 7b 5c | 22 84 03 00 0e 5c 6e c9 |......{\|"....\n.|
|000041e0| 94 c9 95 7b 21 88 82 03 | 00 87 22 20 5b 62 65 67 |...{!...|.." [beg|
|000041f0| 69 6e 6e 69 6e 67 2d 6f | 66 2d 62 69 62 74 65 78 |inning-o|f-bibtex|
|00004200| 2d 65 6e 74 72 79 20 72 | 65 2d 73 65 61 72 63 68 |-entry r|e-search|
|00004210| 2d 66 6f 72 77 61 72 64 | 20 22 5e 40 5b 5e 7b 5d |-forward| "^@[^{]|
|00004220| 2a 7b 5b 20 09 5d 2a 5c | 5c 28 5b 5e 2c 20 5d 2a |*{[ .]*\|\([^, ]*|
|00004230| 5c 5c 29 22 20 6e 69 6c | 20 74 20 62 69 62 74 65 |\\)" nil| t bibte|
|00004240| 78 2d 73 6f 72 74 2d 69 | 67 6e 6f 72 65 2d 73 74 |x-sort-i|gnore-st|
|00004250| 72 69 6e 67 2d 65 6e 74 | 72 69 65 73 20 73 74 72 |ring-ent|ries str|
|00004260| 69 6e 67 2d 65 71 75 61 | 6c 70 20 22 40 73 74 72 |ing-equa|lp "@str|
|00004270| 69 6e 67 7b 22 20 30 20 | 31 20 66 75 6e 5d 20 34 |ing{" 0 |1 fun] 4|
|00004280| 20 22 5c 0a 43 61 6c 6c | 20 46 55 4e 20 66 6f 72 | "\.Call| FUN for|
|00004290| 20 65 61 63 68 20 62 69 | 62 74 65 78 20 65 6e 74 | each bi|btex ent|
|000042a0| 72 79 20 73 74 61 72 74 | 69 6e 67 20 77 69 74 68 |ry start|ing with|
|000042b0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 2c 20 74 6f | the cur|rent, to|
|000042c0| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|000042d0| 66 69 6c 65 2e 0a 46 55 | 4e 20 69 73 20 63 61 6c |file..FU|N is cal|
|000042e0| 6c 65 64 20 77 69 74 68 | 20 6f 6e 65 20 61 72 67 |led with| one arg|
|000042f0| 75 6d 65 6e 74 2c 20 74 | 68 65 20 6b 65 79 20 6f |ument, t|he key o|
|00004300| 66 20 74 68 65 20 65 6e | 74 72 79 2c 20 61 6e 64 |f the en|try, and|
|00004310| 20 77 69 74 68 20 70 6f | 69 6e 74 20 69 6e 73 69 | with po|int insi|
|00004320| 64 65 20 74 68 65 20 65 | 6e 74 72 79 2e 0a 49 66 |de the e|ntry..If|
|00004330| 20 62 69 62 74 65 78 2d | 73 6f 72 74 2d 69 67 6e | bibtex-|sort-ign|
|00004340| 6f 72 65 2d 73 74 72 69 | 6e 67 2d 65 6e 74 72 69 |ore-stri|ng-entri|
|00004350| 65 73 20 69 73 20 74 72 | 75 65 2c 20 46 55 4e 20 |es is tr|ue, FUN |
|00004360| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 63 61 6c 6c |will not| be call|
|00004370| 65 64 20 66 6f 72 20 40 | 73 74 72 69 6e 67 20 65 |ed for @|string e|
|00004380| 6e 74 72 69 65 73 2e 22 | 5d 29 0a 28 64 65 66 61 |ntries."|]).(defa|
|00004390| 6c 69 61 73 20 27 66 69 | 6e 64 2d 62 69 62 74 65 |lias 'fi|nd-bibte|
|000043a0| 78 2d 65 6e 74 72 79 2d | 6c 6f 63 61 74 69 6f 6e |x-entry-|location|
|000043b0| 20 23 5b 28 65 6e 74 72 | 79 2d 6e 61 6d 65 29 20 | #[(entr|y-name) |
|000043c0| 22 c0 89 19 1a c3 20 88 | c4 c5 8d 86 0f 00 c6 20 |"..... .|....... |
|000043d0| 2a 87 22 20 5b 6e 69 6c | 20 70 6f 69 6e 74 20 70 |*." [nil| point p|
|000043e0| 72 65 76 69 6f 75 73 20 | 62 65 67 69 6e 6e 69 6e |revious |beginnin|
|000043f0| 67 2d 6f 66 2d 66 69 72 | 73 74 2d 62 69 62 74 65 |g-of-fir|st-bibte|
|00004400| 78 2d 65 6e 74 72 79 20 | 64 6f 6e 65 20 28 6d 61 |x-entry |done (ma|
|00004410| 70 2d 62 69 62 74 65 78 | 2d 65 6e 74 72 69 65 73 |p-bibtex|-entries|
|00004420| 20 23 5b 28 63 75 72 72 | 65 6e 74 29 20 22 08 09 | #[(curr|ent) "..|
|00004430| 98 83 5c 6e 00 c2 c3 21 | 87 5c 66 83 14 00 5c 66 |..\n...!|.\f...\f|
|00004440| 09 99 83 45 00 09 14 60 | 15 08 09 99 85 52 00 c6 |...E...`|.....R..|
|00004450| 20 88 c7 c8 08 21 09 5c | 22 89 1e 09 a8 83 3f 00 | ....!.\|".....?.|
|00004460| 0e 09 ca 55 83 3f 00 cb | cc 08 09 23 88 cd ce 21 |...U.?..|...#...!|
|00004470| 88 29 cf d0 ce 5c 22 87 | 5c 66 09 98 83 4f 00 c2 |.)...\".|\f...O..|
|00004480| d1 21 87 c2 d2 21 87 22 | 20 5b 65 6e 74 72 79 2d |.!...!."| [entry-|
|00004490| 6e 61 6d 65 20 63 75 72 | 72 65 6e 74 20 65 72 72 |name cur|rent err|
|000044a0| 6f 72 20 22 45 6e 74 72 | 79 20 64 75 70 6c 69 63 |or "Entr|y duplic|
|000044b0| 61 74 65 73 20 65 78 69 | 73 74 69 6e 67 21 22 20 |ates exi|sting!" |
|000044c0| 70 72 65 76 69 6f 75 73 | 20 70 6f 69 6e 74 20 62 |previous| point b|
|000044d0| 65 67 69 6e 6e 69 6e 67 | 2d 6f 66 2d 62 69 62 74 |eginning|-of-bibt|
|000044e0| 65 78 2d 65 6e 74 72 79 | 20 73 74 72 69 6e 67 2d |ex-entry| string-|
|000044f0| 6d 61 74 63 68 20 72 65 | 67 65 78 70 2d 71 75 6f |match re|gexp-quo|
|00004500| 74 65 20 69 64 78 20 30 | 20 6d 65 73 73 61 67 65 |te idx 0| message|
|00004510| 20 22 57 61 72 6e 69 6e | 67 3a 20 45 6e 74 72 79 | "Warnin|g: Entry|
|00004520| 20 25 73 20 6d 61 79 20 | 62 65 20 61 20 64 75 70 | %s may |be a dup|
|00004530| 6c 69 63 61 74 65 20 6f | 66 20 25 73 21 22 20 64 |licate o|f %s!" d|
|00004540| 69 6e 67 20 74 20 74 68 | 72 6f 77 20 64 6f 6e 65 |ing t th|row done|
|00004550| 20 22 44 75 70 6c 69 63 | 61 74 65 20 68 65 72 65 | "Duplic|ate here|
|00004560| 20 77 69 74 68 20 70 72 | 65 76 69 6f 75 73 21 22 | with pr|evious!"|
|00004570| 20 22 45 6e 74 72 69 65 | 73 20 6f 75 74 20 6f 66 | "Entrie|s out of|
|00004580| 20 6f 72 64 65 72 20 68 | 65 72 65 21 22 5d 20 35 | order h|ere!"] 5|
|00004590| 5d 29 20 65 6e 64 2d 6f | 66 2d 62 69 62 74 65 78 |]) end-o|f-bibtex|
|000045a0| 2d 65 6e 74 72 79 5d 20 | 32 20 22 5c 0a 53 65 61 |-entry] |2 "\.Sea|
|000045b0| 72 63 68 65 73 20 66 72 | 6f 6d 20 62 65 67 69 6e |rches fr|om begin|
|000045c0| 6e 69 6e 67 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |ning of |current |
|000045d0| 62 75 66 66 65 72 20 6c | 6f 6f 6b 69 6e 67 20 66 |buffer l|ooking f|
|000045e0| 6f 72 20 70 6c 61 63 65 | 20 74 6f 20 70 75 74 20 |or place| to put |
|000045f0| 74 68 65 0a 62 69 62 74 | 65 78 20 65 6e 74 72 79 |the.bibt|ex entry|
|00004600| 20 6e 61 6d 65 64 20 45 | 4e 54 52 59 2d 4e 41 4d | named E|NTRY-NAM|
|00004610| 45 2e 20 20 42 75 66 66 | 65 72 20 69 73 20 61 73 |E. Buff|er is as|
|00004620| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 73 |sumed to| be in s|
|00004630| 6f 72 74 65 64 20 6f 72 | 64 65 72 2c 0a 77 69 74 |orted or|der,.wit|
|00004640| 68 6f 75 74 20 64 75 70 | 6c 69 63 61 74 65 73 20 |hout dup|licates |
|00004650| 28 73 65 65 20 5c 5c 5b | 73 6f 72 74 2d 62 69 62 |(see \\[|sort-bib|
|00004660| 74 65 78 2d 65 6e 74 72 | 69 65 73 5d 29 2c 20 69 |tex-entr|ies]), i|
|00004670| 66 20 69 74 20 69 73 20 | 6e 6f 74 2c 20 61 6e 20 |f it is |not, an |
|00004680| 65 72 72 6f 72 20 77 69 | 6c 6c 0a 62 65 20 73 69 |error wi|ll.be si|
|00004690| 67 6e 61 6c 6c 65 64 2e | 22 20 22 73 42 69 62 74 |gnalled.|" "sBibt|
|000046a0| 65 78 20 65 6e 74 72 79 | 20 6b 65 79 3a 20 22 5d |ex entry| key: "]|
|000046b0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 76 61 6c |).(defal|ias 'val|
|000046c0| 69 64 61 74 65 2d 62 69 | 62 74 65 78 2d 62 75 66 |idate-bi|btex-buf|
|000046d0| 66 65 72 20 23 5b 6e 69 | 6c 20 22 60 18 c1 c2 c3 |fer #[ni|l "`....|
|000046e0| c4 23 83 27 00 c5 8a c6 | 20 88 60 29 60 5c 22 1e |.#.'....| .`)`\".|
|000046f0| 07 c8 0e 07 38 89 1e 09 | 84 23 00 ca cb 21 88 2a |....8...|.#...!.*|
|00004700| 82 02 00 08 62 88 cc cd | c3 c4 23 83 5c 5c 00 ce |....b...|..#.\\..|
|00004710| cf 21 84 2a 00 d0 68 d1 | 5c 22 84 2a 00 ce d2 21 |.!.*..h.|\".*...!|
|00004720| 84 2a 00 8a 8c 60 d3 79 | 88 60 7d 88 ce d4 21 2a |.*...`.y|.`}...!*|
|00004730| 84 2a 00 ca d5 21 88 82 | 2a 00 08 62 88 cc d6 c3 |.*...!..|*..b....|
|00004740| c4 23 83 6e 00 ca d7 21 | 88 82 5f 00 08 62 88 d8 |.#.n...!|.._..b..|
|00004750| d9 21 29 87 22 20 5b 70 | 6f 69 6e 74 20 72 65 2d |.!)." [p|oint re-|
|00004760| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00004770| 2e 40 22 20 6e 69 6c 20 | 74 20 70 61 72 73 65 2d |.@" nil |t parse-|
|00004780| 70 61 72 74 69 61 6c 2d | 73 65 78 70 20 62 65 67 |partial-|sexp beg|
|00004790| 69 6e 6e 69 6e 67 2d 6f | 66 2d 62 69 62 74 65 78 |inning-o|f-bibtex|
|000047a0| 2d 65 6e 74 72 79 20 66 | 6f 6f 20 33 20 69 6e 2d |-entry f|oo 3 in-|
|000047b0| 61 2d 73 74 72 69 6e 67 | 20 65 72 72 6f 72 20 22 |a-string| error "|
|000047c0| 41 74 20 73 69 67 6e 20 | 28 40 29 20 6f 75 74 20 |At sign |(@) out |
|000047d0| 6f 66 20 70 6c 61 63 65 | 21 22 20 73 65 61 72 63 |of place|!" searc|
|000047e0| 68 2d 66 6f 72 77 61 72 | 64 20 22 5c 22 22 20 6c |h-forwar|d "\"" l|
|000047f0| 6f 6f 6b 69 6e 67 2d 61 | 74 20 22 5b 2c 7d 5d 5b |ooking-a|t "[,}][|
|00004800| 20 09 5d 2a 24 22 20 63 | 68 61 72 2d 65 71 75 61 | .]*$" c|har-equa|
|00004810| 6c 20 33 34 20 22 5b 20 | 09 5d 2a 5c 6e 7d 22 20 |l 34 "[ |.]*\n}" |
|00004820| 30 20 22 5e 5b 20 09 5d | 2a 5b 61 2d 7a 41 2d 5a |0 "^[ .]|*[a-zA-Z|
|00004830| 5d 2b 5b 20 09 5d 2a 3d | 5b 20 09 5d 2a 5c 22 24 |]+[ .]*=|[ .]*\"$|
|00004840| 22 20 22 51 75 6f 74 65 | 20 6f 75 74 20 6f 66 20 |" "Quote| out of |
|00004850| 70 6c 61 63 65 2c 20 6f | 72 20 6d 69 73 73 69 6e |place, o|r missin|
|00004860| 67 20 5c 22 2c 5c 22 20 | 6f 72 20 5c 22 7d 5c 22 |g \",\" |or \"}\"|
|00004870| 21 22 20 22 7d 5b 20 09 | 5d 2b 24 22 20 22 42 72 |!" "}[ .|]+$" "Br|
|00004880| 61 63 65 20 6e 6f 74 20 | 6c 61 73 74 20 63 68 61 |ace not |last cha|
|00004890| 72 20 6f 66 20 6c 69 6e | 65 21 22 20 6d 65 73 73 |r of lin|e!" mess|
|000048a0| 61 67 65 20 22 42 69 62 | 74 65 78 20 62 75 66 66 |age "Bib|tex buff|
|000048b0| 65 72 20 61 70 70 65 61 | 72 73 20 6f 2e 6b 2e 22 |er appea|rs o.k."|
|000048c0| 5d 20 35 20 22 5c 0a 46 | 69 6e 64 20 73 6f 6d 65 |] 5 "\.F|ind some|
|000048d0| 20 74 79 70 69 63 61 6c | 20 65 72 72 6f 72 73 20 | typical| errors |
|000048e0| 69 6e 20 62 69 62 74 65 | 78 20 66 69 6c 65 73 2e |in bibte|x files.|
|000048f0| 0a 20 20 31 2e 20 41 74 | 20 73 69 67 6e 73 20 28 |. 1. At| signs (|
|00004900| 40 29 20 6e 6f 74 20 61 | 73 20 66 69 72 73 74 20 |@) not a|s first |
|00004910| 63 68 61 72 20 6f 66 20 | 61 20 6c 69 6e 65 2e 0a |char of |a line..|
|00004920| 20 20 32 2e 20 44 6f 75 | 62 6c 65 20 71 75 6f 74 | 2. Dou|ble quot|
|00004930| 65 73 20 28 5c 22 29 20 | 69 6e 73 69 64 65 20 73 |es (\") |inside s|
|00004940| 74 72 69 6e 67 73 2e 0a | 20 20 33 2e 20 43 6c 6f |trings..| 3. Clo|
|00004950| 73 69 6e 67 20 62 72 61 | 63 65 73 20 28 7d 29 20 |sing bra|ces (}) |
|00004960| 6e 6f 74 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |not the |last cha|
|00004970| 72 61 63 74 65 72 20 6f | 66 20 61 20 6c 69 6e 65 |racter o|f a line|
|00004980| 2e 22 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |." nil])|.(defali|
|00004990| 61 73 20 27 66 69 6e 64 | 2d 62 69 62 74 65 78 2d |as 'find|-bibtex-|
|000049a0| 64 75 70 6c 69 63 61 74 | 65 73 20 23 5b 6e 69 6c |duplicat|es #[nil|
|000049b0| 20 22 60 18 c1 c2 c3 c4 | 5c 22 21 88 08 62 88 c5 | "`.....|\"!..b..|
|000049c0| c6 21 29 87 22 20 5b 70 | 6f 69 6e 74 20 66 69 6e |.!)." [p|oint fin|
|000049d0| 64 2d 62 69 62 74 65 78 | 2d 65 6e 74 72 79 2d 6c |d-bibtex|-entry-l|
|000049e0| 6f 63 61 74 69 6f 6e 20 | 6d 61 6b 65 2d 73 74 72 |ocation |make-str|
|000049f0| 69 6e 67 20 31 30 20 32 | 35 35 20 6d 65 73 73 61 |ing 10 2|55 messa|
|00004a00| 67 65 20 22 4e 6f 20 64 | 75 70 6c 69 63 61 74 65 |ge "No d|uplicate|
|00004a10| 73 20 66 6f 75 6e 64 21 | 22 5d 20 34 20 22 5c 0a |s found!|"] 4 "\.|
|00004a20| 53 65 61 72 63 68 65 73 | 20 66 6f 72 77 61 72 64 |Searches| forward|
|00004a30| 20 69 6e 20 63 75 72 72 | 65 6e 74 20 62 75 66 66 | in curr|ent buff|
|00004a40| 65 72 20 6c 6f 6f 6b 69 | 6e 67 20 66 6f 72 20 64 |er looki|ng for d|
|00004a50| 75 70 6c 69 63 61 74 65 | 20 62 69 62 74 65 78 20 |uplicate| bibtex |
|00004a60| 65 6e 74 72 69 65 73 2e | 0a 42 75 66 66 65 72 20 |entries.|.Buffer |
|00004a70| 69 73 20 61 73 73 75 6d | 65 64 20 74 6f 20 62 65 |is assum|ed to be|
|00004a80| 20 73 6f 72 74 65 64 2c | 20 73 65 65 20 5c 5c 5b | sorted,| see \\[|
|00004a90| 73 6f 72 74 2d 62 69 62 | 74 65 78 2d 65 6e 74 72 |sort-bib|tex-entr|
|00004aa0| 69 65 73 5d 22 20 6e 69 | 6c 5d 29 0a 28 64 65 66 |ies]" ni|l]).(def|
|00004ab0| 61 6c 69 61 73 20 28 71 | 75 6f 74 65 20 61 73 73 |alias (q|uote ass|
|00004ac0| 6f 63 2d 73 74 72 69 6e | 67 2d 65 71 75 61 6c 70 |oc-strin|g-equalp|
|00004ad0| 29 20 23 5b 28 74 68 69 | 6e 67 20 61 6c 69 73 74 |) #[(thi|ng alist|
|00004ae0| 29 20 22 c0 09 5c 6e 5c | 22 86 1d 00 5c 6e 83 1b |) "..\n\|"...\n..|
|00004af0| 00 c3 09 5c 6e 40 40 5c | 22 84 1b 00 5c 6e 41 89 |...\n@@\|"...\nA.|
|00004b00| 12 84 0b 00 5c 6e 40 87 | 22 20 5b 61 73 73 6f 63 |....\n@.|" [assoc|
|00004b10| 20 74 68 69 6e 67 20 61 | 6c 69 73 74 20 73 74 72 | thing a|list str|
|00004b20| 69 6e 67 2d 65 71 75 61 | 6c 70 5d 20 34 5d 29 0a |ing-equa|lp] 4]).|
|00004b30| 28 64 65 66 76 61 72 20 | 62 69 62 74 65 78 2d 6d |(defvar |bibtex-m|
|00004b40| 61 69 6e 74 61 69 6e 2d | 73 6f 72 74 65 64 2d 65 |aintain-|sorted-e|
|00004b50| 6e 74 72 69 65 73 20 6e | 69 6c 20 22 5c 0a 2a 49 |ntries n|il "\.*I|
|00004b60| 66 20 74 72 75 65 2c 20 | 62 69 62 74 65 78 2d 6d |f true, |bibtex-m|
|00004b70| 6f 64 65 20 77 69 6c 6c | 20 61 74 74 65 6d 70 74 |ode will| attempt|
|00004b80| 20 74 6f 20 6d 61 69 6e | 74 61 69 6e 20 61 6c 6c | to main|tain all|
|00004b90| 20 62 69 62 74 65 78 20 | 65 6e 74 72 69 65 73 20 | bibtex |entries |
|00004ba0| 69 6e 20 0a 73 6f 72 74 | 65 64 20 6f 72 64 65 72 |in .sort|ed order|
|00004bb0| 2e 20 20 0a 0a 4e 6f 74 | 65 20 74 68 61 74 20 74 |. ..Not|e that t|
|00004bc0| 68 69 73 20 69 73 20 6d | 6f 72 65 20 61 20 70 72 |his is m|ore a pr|
|00004bd0| 6f 70 65 72 74 79 20 6f | 66 20 61 20 66 69 6c 65 |operty o|f a file|
|00004be0| 20 74 68 61 6e 20 61 20 | 70 65 72 73 6f 6e 61 6c | than a |personal|
|00004bf0| 20 70 72 65 66 65 72 65 | 6e 63 65 20 61 6e 64 0a | prefere|nce and.|
|00004c00| 61 73 20 73 75 63 68 20 | 73 68 6f 75 6c 64 20 6e |as such |should n|
|00004c10| 6f 72 6d 61 6c 6c 79 20 | 62 65 20 73 65 74 20 76 |ormally |be set v|
|00004c20| 69 61 20 61 20 66 69 6c | 65 20 6c 6f 63 61 6c 20 |ia a fil|e local |
|00004c30| 76 61 72 69 61 62 6c 65 | 20 65 6e 74 72 79 2e 22 |variable| entry."|
|00004c40| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|00004c50| c2 5c 22 88 c0 c3 c4 5c | 22 88 c0 c5 c6 5c 22 88 |.\"....\|"....\".|
|00004c60| c0 c7 c8 5c 22 88 c0 c9 | ca 5c 22 88 c0 cb cc 5c |...\"...|.\"....\|
|00004c70| 22 88 c0 cd ce 5c 22 88 | c0 cf d0 5c 22 88 c0 d1 |"....\".|...\"...|
|00004c80| d2 5c 22 88 c0 d3 d4 5c | 22 88 c0 d5 d6 5c 22 88 |.\"....\|"....\".|
|00004c90| c0 d7 d8 5c 22 88 c0 d9 | da 5c 22 88 c0 db dc 5c |...\"...|.\"....\|
|00004ca0| 22 88 c0 dd de 5c 22 88 | c0 df e0 5c 22 88 c0 e1 |"....\".|...\"...|
|00004cb0| e2 5c 22 88 c0 e3 e4 5c | 22 87 22 20 5b 64 65 66 |.\"....\|"." [def|
|00004cc0| 61 6c 69 61 73 20 62 69 | 62 74 65 78 2d 65 6e 74 |alias bi|btex-ent|
|00004cd0| 72 79 20 23 5b 28 65 6e | 74 72 79 2d 74 79 70 65 |ry #[(en|try-type|
|00004ce0| 20 26 6f 70 74 69 6f 6e | 61 6c 20 72 65 71 75 69 | &option|al requi|
|00004cf0| 72 65 64 20 6f 70 74 69 | 6f 6e 61 6c 29 20 22 08 |red opti|onal) ".|
|00004d00| 84 41 00 09 84 41 00 c2 | 0b 5c 66 5c 22 89 1d c6 |.A...A..|.\f\"...|
|00004d10| 9c 1e 07 0d c8 9c 1e 09 | 0d 84 1f 00 ca cb 21 88 |........|......!.|
|00004d20| 0e 5c 66 83 36 00 0e 09 | 83 36 00 0e 09 cd 9c 10 |.\f.6...|.6......|
|00004d30| 0e 09 c6 9c 11 82 40 00 | 0e 07 cd 9c 10 0e 07 c6 |......@.|........|
|00004d40| 9c 11 2b 0e 0e 85 4c 00 | cf d0 d1 0b 5c 22 21 89 |..+...L.|....\"!.|
|00004d50| 1e 12 83 57 00 d3 0e 12 | 21 88 d4 20 88 d5 0b d6 |...W....|!.. ....|
|00004d60| b1 03 88 0e 12 83 69 00 | 0e 12 63 88 8a d7 d8 08 |......i.|..c.....|
|00004d70| 5c 22 88 0e 5c 66 83 78 | 00 d9 da 21 88 0e 1b 83 |\"..\f.x|...!....|
|00004d80| 81 00 d9 dc 21 88 d7 d9 | 09 5c 22 88 d7 d9 0e 1d |....!...|.\".....|
|00004d90| 5c 22 88 0e 1e 83 95 00 | d9 df 21 88 e0 63 88 29 |\"......|..!..c.)|
|00004da0| 0e 12 83 a2 00 e1 e2 21 | 88 e3 e4 21 29 87 22 20 |.......!|...!)." |
|00004db0| 5b 72 65 71 75 69 72 65 | 64 20 6f 70 74 69 6f 6e |[require|d option|
|00004dc0| 61 6c 20 61 73 73 6f 63 | 2d 73 74 72 69 6e 67 2d |al assoc|-string-|
|00004dd0| 65 71 75 61 6c 70 20 65 | 6e 74 72 79 2d 74 79 70 |equalp e|ntry-typ|
|00004de0| 65 20 62 69 62 74 65 78 | 2d 65 6e 74 72 79 2d 66 |e bibtex|-entry-f|
|00004df0| 69 65 6c 64 2d 61 6c 69 | 73 74 20 65 20 31 20 72 |ield-ali|st e 1 r|
|00004e00| 2d 6e 2d 6f 20 32 20 63 | 2d 72 65 66 20 65 72 72 |-n-o 2 c|-ref err|
|00004e10| 6f 72 20 22 42 69 62 74 | 65 78 20 65 6e 74 72 79 |or "Bibt|ex entry|
|00004e20| 20 74 79 70 65 20 25 73 | 20 6e 6f 74 20 64 65 66 | type %s| not def|
|00004e30| 69 6e 65 64 21 22 20 62 | 69 62 74 65 78 2d 69 6e |ined!" b|ibtex-in|
|00004e40| 63 6c 75 64 65 2d 4f 50 | 54 63 72 6f 73 73 72 65 |clude-OP|Tcrossre|
|00004e50| 66 20 30 20 62 69 62 74 | 65 78 2d 6d 61 69 6e 74 |f 0 bibt|ex-maint|
|00004e60| 61 69 6e 2d 73 6f 72 74 | 65 64 2d 65 6e 74 72 69 |ain-sort|ed-entri|
|00004e70| 65 73 20 72 65 61 64 2d | 73 74 72 69 6e 67 20 66 |es read-|string f|
|00004e80| 6f 72 6d 61 74 20 22 25 | 73 20 6b 65 79 3a 20 22 |ormat "%|s key: "|
|00004e90| 20 6b 65 79 20 66 69 6e | 64 2d 62 69 62 74 65 78 | key fin|d-bibtex|
|00004ea0| 2d 65 6e 74 72 79 2d 6c | 6f 63 61 74 69 6f 6e 20 |-entry-l|ocation |
|00004eb0| 62 69 62 74 65 78 2d 6d | 6f 76 65 2d 6f 75 74 73 |bibtex-m|ove-outs|
|00004ec0| 69 64 65 2d 6f 66 2d 65 | 6e 74 72 79 20 22 40 22 |ide-of-e|ntry "@"|
|00004ed0| 20 22 7b 22 20 6d 61 70 | 63 61 72 20 62 69 62 74 | "{" map|car bibt|
|00004ee0| 65 78 2d 6d 61 6b 65 2d | 66 69 65 6c 64 20 62 69 |ex-make-|field bi|
|00004ef0| 62 74 65 78 2d 6d 61 6b | 65 2d 6f 70 74 69 6f 6e |btex-mak|e-option|
|00004f00| 61 6c 2d 66 69 65 6c 64 | 20 22 63 72 6f 73 73 72 |al-field| "crossr|
|00004f10| 65 66 22 20 62 69 62 74 | 65 78 2d 69 6e 63 6c 75 |ef" bibt|ex-inclu|
|00004f20| 64 65 2d 4f 50 54 6b 65 | 79 20 22 6b 65 79 22 20 |de-OPTke|y "key" |
|00004f30| 62 69 62 74 65 78 2d 6d | 6f 64 65 2d 75 73 65 72 |bibtex-m|ode-user|
|00004f40| 2d 6f 70 74 69 6f 6e 61 | 6c 2d 66 69 65 6c 64 73 |-optiona|l-fields|
|00004f50| 20 62 69 62 74 65 78 2d | 69 6e 63 6c 75 64 65 2d | bibtex-|include-|
|00004f60| 4f 50 54 61 6e 6e 6f 74 | 65 20 22 61 6e 6e 6f 74 |OPTannot|e "annot|
|00004f70| 65 22 20 22 5c 6e 7d 5c | 6e 5c 6e 22 20 62 69 62 |e" "\n}\|n\n" bib|
|00004f80| 74 65 78 2d 6e 65 78 74 | 2d 66 69 65 6c 64 20 74 |tex-next|-field t|
|00004f90| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 62 69 62 74 65 | run-hoo|ks bibte|
|00004fa0| 78 2d 61 64 64 2d 65 6e | 74 72 79 2d 68 6f 6f 6b |x-add-en|try-hook|
|00004fb0| 5d 20 35 20 6e 69 6c 20 | 28 62 79 74 65 2d 63 6f |] 5 nil |(byte-co|
|00004fc0| 64 65 20 22 c0 19 c2 c3 | 5c 66 c5 c0 24 29 43 87 |de "....|\f..$)C.|
|00004fd0| 22 20 5b 74 20 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |" [t com|pletion-|
|00004fe0| 69 67 6e 6f 72 65 2d 63 | 61 73 65 20 63 6f 6d 70 |ignore-c|ase comp|
|00004ff0| 6c 65 74 69 6e 67 2d 72 | 65 61 64 20 22 45 6e 74 |leting-r|ead "Ent|
|00005000| 72 79 20 54 79 70 65 3a | 20 22 20 62 69 62 74 65 |ry Type:| " bibte|
|00005010| 78 2d 65 6e 74 72 79 2d | 66 69 65 6c 64 2d 61 6c |x-entry-|field-al|
|00005020| 69 73 74 20 6e 69 6c 5d | 20 36 29 5d 20 62 69 62 |ist nil]| 6)] bib|
|00005030| 74 65 78 2d 6d 61 6b 65 | 2d 66 69 65 6c 64 20 23 |tex-make|-field #|
|00005040| 5b 28 65 2d 74 29 20 22 | 08 3a 83 5c 6e 00 08 40 |[(e-t) "|.:.\n..@|
|00005050| 82 0b 00 08 08 3a 83 15 | 00 08 41 82 16 00 c1 1a |.....:..|..A.....|
|00005060| 1b c4 63 88 0d 6a 88 0b | c6 b1 02 88 0e 07 6a 88 |..c..j..|......j.|
|00005070| c8 5c 6e 3b 83 31 00 c9 | 82 32 00 ca 5c 6e 5c 22 |.\n;.1..|.2..\n\"|
|00005080| 63 88 2a cb 87 22 20 5b | 65 2d 74 20 22 22 20 76 |c.*.." [|e-t "" v|
|00005090| 61 6c 75 65 20 6e 61 6d | 65 20 22 2c 5c 6e 22 20 |alue nam|e ",\n" |
|000050a0| 62 69 62 74 65 78 2d 6e | 61 6d 65 2d 61 6c 69 67 |bibtex-n|ame-alig|
|000050b0| 6e 6d 65 6e 74 20 22 20 | 3d 20 22 20 62 69 62 74 |nment " |= " bibt|
|000050c0| 65 78 2d 74 65 78 74 2d | 61 6c 69 67 6e 6d 65 6e |ex-text-|alignmen|
|000050d0| 74 20 66 6f 72 6d 61 74 | 20 22 5c 22 25 73 5c 22 |t format| "\"%s\"|
|000050e0| 22 20 22 25 73 22 20 6e | 69 6c 5d 20 33 20 6e 69 |" "%s" n|il] 3 ni|
|000050f0| 6c 20 22 73 42 69 62 54 | 65 58 20 65 6e 74 72 79 |l "sBibT|eX entry|
|00005100| 20 74 79 70 65 3a 20 22 | 5d 20 62 69 62 74 65 78 | type: "|] bibtex|
|00005110| 2d 6d 61 6b 65 2d 6f 70 | 74 69 6f 6e 61 6c 2d 66 |-make-op|tional-f|
|00005120| 69 65 6c 64 20 23 5b 28 | 65 2d 74 29 20 22 08 3a |ield #[(|e-t) ".:|
|00005130| 83 10 00 c1 08 40 50 08 | 41 42 10 82 14 00 c1 08 |.....@P.|AB......|
|00005140| 50 10 c2 08 21 87 22 20 | 5b 65 2d 74 20 22 4f 50 |P...!." |[e-t "OP|
|00005150| 54 22 20 62 69 62 74 65 | 78 2d 6d 61 6b 65 2d 66 |T" bibte|x-make-f|
|00005160| 69 65 6c 64 5d 20 32 20 | 6e 69 6c 20 22 73 4f 70 |ield] 2 |nil "sOp|
|00005170| 74 69 6f 6e 61 6c 20 42 | 69 62 54 65 58 20 65 6e |tional B|ibTeX en|
|00005180| 74 72 79 20 74 79 70 65 | 3a 20 22 5d 20 62 69 62 |try type|: "] bib|
|00005190| 74 65 78 2d 41 72 74 69 | 63 6c 65 20 23 5b 6e 69 |tex-Arti|cle #[ni|
|000051a0| 6c 20 22 c0 c1 21 87 22 | 20 5b 62 69 62 74 65 78 |l "..!."| [bibtex|
|000051b0| 2d 65 6e 74 72 79 20 22 | 41 72 74 69 63 6c 65 22 |-entry "|Article"|
|000051c0| 5d 20 32 20 6e 69 6c 20 | 6e 69 6c 5d 20 62 69 62 |] 2 nil |nil] bib|
|000051d0| 74 65 78 2d 42 6f 6f 6b | 20 23 5b 6e 69 6c 20 22 |tex-Book| #[nil "|
|000051e0| c0 c1 21 87 22 20 5b 62 | 69 62 74 65 78 2d 65 6e |..!." [b|ibtex-en|
|000051f0| 74 72 79 20 22 42 6f 6f | 6b 22 5d 20 32 20 6e 69 |try "Boo|k"] 2 ni|
|00005200| 6c 20 6e 69 6c 5d 20 62 | 69 62 74 65 78 2d 42 6f |l nil] b|ibtex-Bo|
|00005210| 6f 6b 6c 65 74 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |oklet #[|nil "..!|
|00005220| 87 22 20 5b 62 69 62 74 | 65 78 2d 65 6e 74 72 79 |." [bibt|ex-entry|
|00005230| 20 22 42 6f 6f 6b 6c 65 | 74 22 5d 20 32 20 6e 69 | "Bookle|t"] 2 ni|
|00005240| 6c 20 6e 69 6c 5d 20 62 | 69 62 74 65 78 2d 49 6e |l nil] b|ibtex-In|
|00005250| 42 6f 6f 6b 20 23 5b 6e | 69 6c 20 22 c0 c1 21 87 |Book #[n|il "..!.|
|00005260| 22 20 5b 62 69 62 74 65 | 78 2d 65 6e 74 72 79 20 |" [bibte|x-entry |
|00005270| 22 49 6e 42 6f 6f 6b 22 | 5d 20 32 20 6e 69 6c 20 |"InBook"|] 2 nil |
|00005280| 6e 69 6c 5d 20 62 69 62 | 74 65 78 2d 49 6e 43 6f |nil] bib|tex-InCo|
|00005290| 6c 6c 65 63 74 69 6f 6e | 20 23 5b 6e 69 6c 20 22 |llection| #[nil "|
|000052a0| c0 c1 21 87 22 20 5b 62 | 69 62 74 65 78 2d 65 6e |..!." [b|ibtex-en|
|000052b0| 74 72 79 20 22 49 6e 43 | 6f 6c 6c 65 63 74 69 6f |try "InC|ollectio|
|000052c0| 6e 22 5d 20 32 20 6e 69 | 6c 20 6e 69 6c 5d 20 62 |n"] 2 ni|l nil] b|
|000052d0| 69 62 74 65 78 2d 49 6e | 50 72 6f 63 65 65 64 69 |ibtex-In|Proceedi|
|000052e0| 6e 67 73 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 87 22 |ngs #[ni|l "..!."|
|000052f0| 20 5b 62 69 62 74 65 78 | 2d 65 6e 74 72 79 20 22 | [bibtex|-entry "|
|00005300| 49 6e 50 72 6f 63 65 65 | 64 69 6e 67 73 22 5d 20 |InProcee|dings"] |
|00005310| 32 20 6e 69 6c 20 6e 69 | 6c 5d 20 62 69 62 74 65 |2 nil ni|l] bibte|
|00005320| 78 2d 4d 61 6e 75 61 6c | 20 23 5b 6e 69 6c 20 22 |x-Manual| #[nil "|
|00005330| c0 c1 21 87 22 20 5b 62 | 69 62 74 65 78 2d 65 6e |..!." [b|ibtex-en|
|00005340| 74 72 79 20 22 4d 61 6e | 75 61 6c 22 5d 20 32 20 |try "Man|ual"] 2 |
|00005350| 6e 69 6c 20 6e 69 6c 5d | 20 62 69 62 74 65 78 2d |nil nil]| bibtex-|
|00005360| 4d 61 73 74 65 72 73 54 | 68 65 73 69 73 20 23 5b |MastersT|hesis #[|
|00005370| 6e 69 6c 20 22 c0 c1 21 | 87 22 20 5b 62 69 62 74 |nil "..!|." [bibt|
|00005380| 65 78 2d 65 6e 74 72 79 | 20 22 4d 61 73 74 65 72 |ex-entry| "Master|
|00005390| 73 54 68 65 73 69 73 22 | 5d 20 32 20 6e 69 6c 20 |sThesis"|] 2 nil |
|000053a0| 6e 69 6c 5d 20 62 69 62 | 74 65 78 2d 4d 69 73 63 |nil] bib|tex-Misc|
|000053b0| 20 23 5b 6e 69 6c 20 22 | c0 c1 21 87 22 20 5b 62 | #[nil "|..!." [b|
|000053c0| 69 62 74 65 78 2d 65 6e | 74 72 79 20 22 4d 69 73 |ibtex-en|try "Mis|
|000053d0| 63 22 5d 20 32 20 6e 69 | 6c 20 6e 69 6c 5d 20 62 |c"] 2 ni|l nil] b|
|000053e0| 69 62 74 65 78 2d 50 68 | 64 54 68 65 73 69 73 20 |ibtex-Ph|dThesis |
|000053f0| 23 5b 6e 69 6c 20 22 c0 | c1 21 87 22 20 5b 62 69 |#[nil ".|.!." [bi|
|00005400| 62 74 65 78 2d 65 6e 74 | 72 79 20 22 50 68 64 54 |btex-ent|ry "PhdT|
|00005410| 68 65 73 69 73 22 5d 20 | 32 20 6e 69 6c 20 6e 69 |hesis"] |2 nil ni|
|00005420| 6c 5d 20 62 69 62 74 65 | 78 2d 50 72 6f 63 65 65 |l] bibte|x-Procee|
|00005430| 64 69 6e 67 73 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |dings #[|nil "..!|
|00005440| 87 22 20 5b 62 69 62 74 | 65 78 2d 65 6e 74 72 79 |." [bibt|ex-entry|
|00005450| 20 22 50 72 6f 63 65 65 | 64 69 6e 67 73 22 5d 20 | "Procee|dings"] |
|00005460| 32 20 6e 69 6c 20 6e 69 | 6c 5d 20 62 69 62 74 65 |2 nil ni|l] bibte|
|00005470| 78 2d 54 65 63 68 52 65 | 70 6f 72 74 20 23 5b 6e |x-TechRe|port #[n|
|00005480| 69 6c 20 22 c0 c1 21 87 | 22 20 5b 62 69 62 74 65 |il "..!.|" [bibte|
|00005490| 78 2d 65 6e 74 72 79 20 | 22 54 65 63 68 52 65 70 |x-entry |"TechRep|
|000054a0| 6f 72 74 22 5d 20 32 20 | 6e 69 6c 20 6e 69 6c 5d |ort"] 2 |nil nil]|
|000054b0| 20 62 69 62 74 65 78 2d | 55 6e 70 75 62 6c 69 73 | bibtex-|Unpublis|
|000054c0| 68 65 64 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 87 22 |hed #[ni|l "..!."|
|000054d0| 20 5b 62 69 62 74 65 78 | 2d 65 6e 74 72 79 20 22 | [bibtex|-entry "|
|000054e0| 55 6e 70 75 62 6c 69 73 | 68 65 64 22 5d 20 32 20 |Unpublis|hed"] 2 |
|000054f0| 6e 69 6c 20 6e 69 6c 5d | 20 62 69 62 74 65 78 2d |nil nil]| bibtex-|
|00005500| 73 74 72 69 6e 67 20 23 | 5b 6e 69 6c 20 22 c0 20 |string #|[nil ". |
|00005510| 88 c1 63 88 c2 c3 21 88 | c4 75 87 22 20 5b 62 69 |..c...!.|.u." [bi|
|00005520| 62 74 65 78 2d 6d 6f 76 | 65 2d 6f 75 74 73 69 64 |btex-mov|e-outsid|
|00005530| 65 2d 6f 66 2d 65 6e 74 | 72 79 20 22 40 73 74 72 |e-of-ent|ry "@str|
|00005540| 69 6e 67 7b 20 3d 20 5c | 22 5c 22 7d 5c 6e 22 20 |ing{ = \|"\"}\n" |
|00005550| 70 72 65 76 69 6f 75 73 | 2d 6c 69 6e 65 20 31 20 |previous|-line 1 |
|00005560| 38 5d 20 32 20 6e 69 6c | 20 6e 69 6c 5d 20 62 69 |8] 2 nil| nil] bi|
|00005570| 62 74 65 78 2d 70 72 65 | 61 6d 62 6c 65 20 23 5b |btex-pre|amble #[|
|00005580| 6e 69 6c 20 22 c0 20 88 | c1 63 88 c2 c3 21 88 c4 |nil ". .|.c...!..|
|00005590| 75 87 22 20 5b 62 69 62 | 74 65 78 2d 6d 6f 76 65 |u." [bib|tex-move|
|000055a0| 2d 6f 75 74 73 69 64 65 | 2d 6f 66 2d 65 6e 74 72 |-outside|-of-entr|
|000055b0| 79 20 22 40 50 72 65 61 | 6d 62 6c 65 7b 7d 5c 6e |y "@Prea|mble{}\n|
|000055c0| 22 20 70 72 65 76 69 6f | 75 73 2d 6c 69 6e 65 20 |" previo|us-line |
|000055d0| 31 20 31 30 5d 20 32 20 | 6e 69 6c 20 6e 69 6c 5d |1 10] 2 |nil nil]|
|000055e0| 5d 20 33 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |] 3).(de|falias '|
|000055f0| 62 69 62 74 65 78 2d 6e | 65 78 74 2d 66 69 65 6c |bibtex-n|ext-fiel|
|00005600| 64 20 23 5b 28 61 72 67 | 29 20 22 c0 20 88 60 19 |d #[(arg|) ". .`.|
|00005610| c2 c3 c4 8f 88 29 c5 0e | 06 21 87 22 20 5b 62 69 |.....)..|.!." [bi|
|00005620| 62 74 65 78 2d 69 6e 73 | 69 64 65 2d 66 69 65 6c |btex-ins|ide-fiel|
|00005630| 64 20 73 74 61 72 74 20 | 6e 69 6c 20 28 62 79 74 |d start |nil (byt|
|00005640| 65 2d 63 6f 64 65 20 22 | c0 20 88 c1 95 62 88 c2 |e-code "|. ...b..|
|00005650| 75 87 22 20 5b 62 69 62 | 74 65 78 2d 65 6e 63 6c |u." [bib|tex-encl|
|00005660| 6f 73 69 6e 67 2d 66 69 | 65 6c 64 20 30 20 32 5d |osing-fi|eld 0 2]|
|00005670| 20 31 29 20 28 28 65 72 | 72 6f 72 20 28 62 79 74 | 1) ((er|ror (byt|
|00005680| 65 2d 63 6f 64 65 20 22 | 08 62 88 c1 7f 88 c2 75 |e-code "|.b.....u|
|00005690| 87 22 20 5b 73 74 61 72 | 74 20 6e 69 6c 20 31 5d |." [star|t nil 1]|
|000056a0| 20 31 29 29 29 20 62 69 | 62 74 65 78 2d 66 69 6e | 1))) bi|btex-fin|
|000056b0| 64 2d 74 65 78 74 20 61 | 72 67 5d 20 33 20 22 5c |d-text a|rg] 3 "\|
|000056c0| 0a 46 69 6e 64 73 20 65 | 6e 64 20 6f 66 20 74 65 |.Finds e|nd of te|
|000056d0| 78 74 20 6f 66 20 6e 65 | 78 74 20 42 69 62 54 65 |xt of ne|xt BibTe|
|000056e0| 58 20 66 69 65 6c 64 3b | 20 77 69 74 68 20 61 72 |X field;| with ar|
|000056f0| 67 2c 20 74 6f 20 69 74 | 73 20 62 65 67 69 6e 6e |g, to it|s beginn|
|00005700| 69 6e 67 22 20 22 50 22 | 5d 29 0a 28 64 65 66 61 |ing" "P"|]).(defa|
|00005710| 6c 69 61 73 20 27 62 69 | 62 74 65 78 2d 66 69 6e |lias 'bi|btex-fin|
|00005720| 64 2d 74 65 78 74 20 23 | 5b 28 61 72 67 29 20 22 |d-text #|[(arg) "|
|00005730| c0 20 88 c1 20 88 5c 6e | 83 17 00 0b 94 62 88 c4 |. .. .\n|.....b..|
|00005740| c5 21 85 23 00 c6 75 87 | 0b 95 62 88 68 c7 55 85 |.!.#..u.|..b.h.U.|
|00005750| 23 00 c8 75 87 22 20 5b | 62 69 62 74 65 78 2d 69 |#..u." [|bibtex-i|
|00005760| 6e 73 69 64 65 2d 66 69 | 65 6c 64 20 62 69 62 74 |nside-fi|eld bibt|
|00005770| 65 78 2d 65 6e 63 6c 6f | 73 69 6e 67 2d 66 69 65 |ex-enclo|sing-fie|
|00005780| 6c 64 20 61 72 67 20 62 | 69 62 74 65 78 2d 74 65 |ld arg b|ibtex-te|
|00005790| 78 74 2d 69 6e 2d 66 69 | 65 6c 64 20 6c 6f 6f 6b |xt-in-fi|eld look|
|000057a0| 69 6e 67 2d 61 74 20 22 | 5c 22 22 20 31 20 33 34 |ing-at "|\"" 1 34|
|000057b0| 20 2d 31 5d 20 32 20 22 | 5c 0a 47 6f 20 74 6f 20 | -1] 2 "|\.Go to |
|000057c0| 65 6e 64 20 6f 66 20 74 | 65 78 74 20 6f 66 20 63 |end of t|ext of c|
|000057d0| 75 72 72 65 6e 74 20 66 | 69 65 6c 64 3b 20 77 69 |urrent f|ield; wi|
|000057e0| 74 68 20 61 72 67 2c 20 | 67 6f 20 74 6f 20 62 65 |th arg, |go to be|
|000057f0| 67 69 6e 6e 69 6e 67 2e | 22 20 22 50 22 5d 29 0a |ginning.|" "P"]).|
|00005800| 28 64 65 66 61 6c 69 61 | 73 20 27 62 69 62 74 65 |(defalia|s 'bibte|
|00005810| 78 2d 72 65 6d 6f 76 65 | 2d 4f 50 54 20 23 5b 6e |x-remove|-OPT #[n|
|00005820| 69 6c 20 22 c0 20 88 c1 | 20 88 8a 5c 6e 94 62 88 |il ". ..| ..\n.b.|
|00005830| c3 c4 21 83 21 00 c5 c4 | 47 21 88 c6 c7 21 88 c8 |..!.!...|G!...!..|
|00005840| 20 88 0e 09 6a 88 29 c0 | 20 87 22 20 5b 62 69 62 | ...j.).| ." [bib|
|00005850| 74 65 78 2d 69 6e 73 69 | 64 65 2d 66 69 65 6c 64 |tex-insi|de-field|
|00005860| 20 62 69 62 74 65 78 2d | 65 6e 63 6c 6f 73 69 6e | bibtex-|enclosin|
|00005870| 67 2d 66 69 65 6c 64 20 | 62 69 62 74 65 78 2d 6e |g-field |bibtex-n|
|00005880| 61 6d 65 2d 69 6e 2d 66 | 69 65 6c 64 20 6c 6f 6f |ame-in-f|ield loo|
|00005890| 6b 69 6e 67 2d 61 74 20 | 22 4f 50 54 22 20 64 65 |king-at |"OPT" de|
|000058a0| 6c 65 74 65 2d 63 68 61 | 72 20 73 65 61 72 63 68 |lete-cha|r search|
|000058b0| 2d 66 6f 72 77 61 72 64 | 20 22 3d 22 20 64 65 6c |-forward| "=" del|
|000058c0| 65 74 65 2d 68 6f 72 69 | 7a 6f 6e 74 61 6c 2d 73 |ete-hori|zontal-s|
|000058d0| 70 61 63 65 20 62 69 62 | 74 65 78 2d 74 65 78 74 |pace bib|tex-text|
|000058e0| 2d 61 6c 69 67 6e 6d 65 | 6e 74 5d 20 32 20 22 5c |-alignme|nt] 2 "\|
|000058f0| 0a 52 65 6d 6f 76 65 73 | 20 74 68 65 20 27 4f 50 |.Removes| the 'OP|
|00005900| 54 27 20 73 74 61 72 74 | 69 6e 67 20 6f 70 74 69 |T' start|ing opti|
|00005910| 6f 6e 61 6c 20 61 72 67 | 75 6d 65 6e 74 73 20 61 |onal arg|uments a|
|00005920| 6e 64 20 67 6f 65 73 20 | 74 6f 20 65 6e 64 20 6f |nd goes |to end o|
|00005930| 66 20 74 65 78 74 22 20 | 6e 69 6c 5d 29 0a 28 64 |f text" |nil]).(d|
|00005940| 65 66 61 6c 69 61 73 20 | 27 62 69 62 74 65 78 2d |efalias |'bibtex-|
|00005950| 69 6e 73 69 64 65 2d 66 | 69 65 6c 64 20 23 5b 6e |inside-f|ield #[n|
|00005960| 69 6c 20 22 c0 7f 88 c1 | c0 78 88 68 c2 55 83 10 |il "....|.x.h.U..|
|00005970| 00 c3 75 88 68 c4 55 85 | 18 00 c5 75 87 22 20 5b |..u.h.U.|...u." [|
|00005980| 6e 69 6c 20 22 20 09 22 | 20 34 34 20 2d 32 20 33 |nil " ."| 44 -2 3|
|00005990| 34 20 2d 31 5d 20 32 20 | 22 5c 0a 54 72 79 20 74 |4 -1] 2 |"\.Try t|
|000059a0| 6f 20 61 76 6f 69 64 20 | 70 6f 69 6e 74 20 62 65 |o avoid |point be|
|000059b0| 69 6e 67 20 61 74 20 65 | 6e 64 20 6f 66 20 61 20 |ing at e|nd of a |
|000059c0| 62 69 62 74 65 78 20 66 | 69 65 6c 64 2e 22 20 6e |bibtex f|ield." n|
|000059d0| 69 6c 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |il]).(de|falias '|
|000059e0| 62 69 62 74 65 78 2d 72 | 65 6d 6f 76 65 2d 64 6f |bibtex-r|emove-do|
|000059f0| 75 62 6c 65 2d 71 75 6f | 74 65 73 20 23 5b 6e 69 |uble-quo|tes #[ni|
|00005a00| 6c 20 22 8a c0 20 88 c1 | 20 88 5c 6e 94 5c 6e 95 |l ".. ..| .\n.\n.|
|00005a10| 1b 1c 0b 62 88 c5 75 88 | c6 c7 21 83 1d 00 c8 c9 |...b..u.|..!.....|
|00005a20| 21 88 5c 66 62 88 c6 c7 | 21 85 29 00 c8 c9 21 2b |!.\fb...|!.)...!+|
|00005a30| 87 22 20 5b 62 69 62 74 | 65 78 2d 69 6e 73 69 64 |." [bibt|ex-insid|
|00005a40| 65 2d 66 69 65 6c 64 20 | 62 69 62 74 65 78 2d 65 |e-field |bibtex-e|
|00005a50| 6e 63 6c 6f 73 69 6e 67 | 2d 66 69 65 6c 64 20 62 |nclosing|-field b|
|00005a60| 69 62 74 65 78 2d 74 65 | 78 74 2d 69 6e 2d 66 69 |ibtex-te|xt-in-fi|
|00005a70| 65 6c 64 20 73 74 6f 70 | 20 73 74 61 72 74 20 2d |eld stop| start -|
|00005a80| 31 20 6c 6f 6f 6b 69 6e | 67 2d 61 74 20 22 5c 22 |1 lookin|g-at "\"|
|00005a90| 22 20 64 65 6c 65 74 65 | 2d 63 68 61 72 20 31 5d |" delete|-char 1]|
|00005aa0| 20 32 20 22 5c 0a 52 65 | 6d 6f 76 65 73 20 5c 22 | 2 "\.Re|moves \"|
|00005ab0| 5c 22 20 61 72 6f 75 6e | 64 20 73 74 72 69 6e 67 |\" aroun|d string|
|00005ac0| 2e 22 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |." nil])|.(defali|
|00005ad0| 61 73 20 27 62 69 62 74 | 65 78 2d 6b 69 6c 6c 2d |as 'bibt|ex-kill-|
|00005ae0| 6f 70 74 69 6f 6e 61 6c | 2d 66 69 65 6c 64 20 23 |optional|-field #|
|00005af0| 5b 6e 69 6c 20 22 c0 20 | 88 c1 20 88 5c 6e 94 62 |[nil ". |.. .\n.b|
|00005b00| 88 c3 95 c3 94 1c 1d c6 | c7 21 83 24 00 0d 62 88 |........|.!.$..b.|
|00005b10| c8 c9 77 88 ca 5c 66 0d | 5c 22 82 27 00 cb cc 21 |..w..\f.|\".'...!|
|00005b20| 2a 87 22 20 5b 62 69 62 | 74 65 78 2d 69 6e 73 69 |*." [bib|tex-insi|
|00005b30| 64 65 2d 66 69 65 6c 64 | 20 62 69 62 74 65 78 2d |de-field| bibtex-|
|00005b40| 65 6e 63 6c 6f 73 69 6e | 67 2d 66 69 65 6c 64 20 |enclosin|g-field |
|00005b50| 62 69 62 74 65 78 2d 6e | 61 6d 65 2d 69 6e 2d 66 |bibtex-n|ame-in-f|
|00005b60| 69 65 6c 64 20 30 20 74 | 68 65 2d 62 65 67 69 6e |ield 0 t|he-begin|
|00005b70| 6e 69 6e 67 20 74 68 65 | 2d 65 6e 64 20 6c 6f 6f |ning the|-end loo|
|00005b80| 6b 69 6e 67 2d 61 74 20 | 22 4f 50 54 22 20 22 20 |king-at |"OPT" " |
|00005b90| 09 5c 6e 2c 22 20 6e 69 | 6c 20 6b 69 6c 6c 2d 72 |.\n," ni|l kill-r|
|00005ba0| 65 67 69 6f 6e 20 65 72 | 72 6f 72 20 22 4d 61 6e |egion er|ror "Man|
|00005bb0| 64 61 74 6f 72 79 20 66 | 69 65 6c 64 73 20 63 61 |datory f|ields ca|
|00005bc0| 6e 27 74 20 62 65 20 6b | 69 6c 6c 65 64 22 5d 20 |n't be k|illed"] |
|00005bd0| 33 20 22 5c 0a 4b 69 6c | 6c 20 74 68 65 20 65 6e |3 "\.Kil|l the en|
|00005be0| 74 69 72 65 20 65 6e 63 | 6c 6f 73 69 6e 67 20 6f |tire enc|losing o|
|00005bf0| 70 74 69 6f 6e 61 6c 20 | 42 69 62 54 65 58 20 66 |ptional |BibTeX f|
|00005c00| 69 65 6c 64 22 20 6e 69 | 6c 5d 29 0a 28 64 65 66 |ield" ni|l]).(def|
|00005c10| 61 6c 69 61 73 20 27 62 | 69 62 74 65 78 2d 65 6d |alias 'b|ibtex-em|
|00005c20| 70 74 79 2d 66 69 65 6c | 64 20 23 5b 6e 69 6c 20 |pty-fiel|d #[nil |
|00005c30| 22 c0 20 88 c1 20 88 5c | 6e 94 62 88 c3 60 5c 6e |". .. .\|n.b..`\n|
|00005c40| 95 5c 22 88 c4 63 88 c5 | c6 21 87 22 20 5b 62 69 |.\"..c..|.!." [bi|
|00005c50| 62 74 65 78 2d 69 6e 73 | 69 64 65 2d 66 69 65 6c |btex-ins|ide-fiel|
|00005c60| 64 20 62 69 62 74 65 78 | 2d 65 6e 63 6c 6f 73 69 |d bibtex|-enclosi|
|00005c70| 6e 67 2d 66 69 65 6c 64 | 20 62 69 62 74 65 78 2d |ng-field| bibtex-|
|00005c80| 74 65 78 74 2d 69 6e 2d | 66 69 65 6c 64 20 6b 69 |text-in-|field ki|
|00005c90| 6c 6c 2d 72 65 67 69 6f | 6e 20 22 5c 22 5c 22 22 |ll-regio|n "\"\""|
|00005ca0| 20 62 69 62 74 65 78 2d | 66 69 6e 64 2d 74 65 78 | bibtex-|find-tex|
|00005cb0| 74 20 74 5d 20 33 20 22 | 5c 0a 44 65 6c 65 74 65 |t t] 3 "|\.Delete|
|00005cc0| 20 74 68 65 20 74 65 78 | 74 20 70 61 72 74 20 6f | the tex|t part o|
|00005cd0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 69 |f the cu|rrent fi|
|00005ce0| 65 6c 64 2c 20 72 65 70 | 6c 61 63 65 20 77 69 74 |eld, rep|lace wit|
|00005cf0| 68 20 65 6d 70 74 79 20 | 74 65 78 74 22 20 6e 69 |h empty |text" ni|
|00005d00| 6c 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 62 |l]).(def|alias 'b|
|00005d10| 69 62 74 65 78 2d 70 6f | 70 2d 70 72 65 76 69 6f |ibtex-po|p-previo|
|00005d20| 75 73 20 23 5b 28 61 72 | 67 29 20 22 c0 20 88 8a |us #[(ar|g) ". ..|
|00005d30| c1 20 88 5c 6e 94 5c 6e | 95 0b 94 0b 95 c4 1d 1e |. .\n.\n|........|
|00005d40| 06 1e 07 1e 08 1e 09 0e | 07 62 88 ca cb cc 21 83 |........|.b....!.|
|00005d50| 2b 00 60 cc 47 5c 5c 82 | 2c 00 60 0e 06 7b 0e 0d |+.`.G\\.|,.`..{..|
|00005d60| 5c 22 1e 0e 0e 0f d0 3d | 84 4d 00 0e 0f d1 3d 84 |\".....=|.M....=.|
|00005d70| 4d 00 d2 20 88 d3 94 16 | 14 d3 95 16 15 0e 14 62 |M.. ....|.......b|
|00005d80| 88 d6 0e 0e 65 d7 0e 18 | 24 83 7f 00 0e 19 94 0e |....e...|$.......|
|00005d90| 19 95 7b 15 d3 95 16 15 | d3 94 16 14 da 20 88 0e |..{.....|..... ..|
|00005da0| 08 62 88 0e 09 0e 08 7c | 88 0d 63 88 82 83 00 db |.b.....||..c.....|
|00005db0| dc 21 88 2e 07 d0 89 16 | 1d 87 22 20 5b 62 69 62 |.!......|.." [bib|
|00005dc0| 74 65 78 2d 69 6e 73 69 | 64 65 2d 66 69 65 6c 64 |tex-insi|de-field|
|00005dd0| 20 62 69 62 74 65 78 2d | 65 6e 63 6c 6f 73 69 6e | bibtex-|enclosin|
|00005de0| 67 2d 66 69 65 6c 64 20 | 62 69 62 74 65 78 2d 74 |g-field |bibtex-t|
|00005df0| 65 78 74 2d 69 6e 2d 66 | 69 65 6c 64 20 62 69 62 |ext-in-f|ield bib|
|00005e00| 74 65 78 2d 6e 61 6d 65 | 2d 69 6e 2d 66 69 65 6c |tex-name|-in-fiel|
|00005e10| 64 20 6e 69 6c 20 6e 65 | 77 2d 74 65 78 74 20 73 |d nil ne|w-text s|
|00005e20| 74 6f 70 2d 6e 61 6d 65 | 20 73 74 61 72 74 2d 6e |top-name| start-n|
|00005e30| 61 6d 65 20 73 74 6f 70 | 2d 6f 6c 64 2d 74 65 78 |ame stop|-old-tex|
|00005e40| 74 20 73 74 61 72 74 2d | 6f 6c 64 2d 74 65 78 74 |t start-|old-text|
|00005e50| 20 62 69 62 74 65 78 2d | 63 66 69 65 6c 64 20 6c | bibtex-|cfield l|
|00005e60| 6f 6f 6b 69 6e 67 2d 61 | 74 20 22 4f 50 54 22 20 |ooking-a|t "OPT" |
|00005e70| 62 69 62 74 65 78 2d 66 | 69 65 6c 64 2d 74 65 78 |bibtex-f|ield-tex|
|00005e80| 74 20 6d 61 74 63 68 69 | 6e 67 2d 65 6e 74 72 79 |t matchi|ng-entry|
|00005e90| 20 6c 61 73 74 2d 63 6f | 6d 6d 61 6e 64 20 62 69 | last-co|mmand bi|
|00005ea0| 62 74 65 78 2d 70 6f 70 | 2d 70 72 65 76 69 6f 75 |btex-pop|-previou|
|00005eb0| 73 20 62 69 62 74 65 78 | 2d 70 6f 70 2d 6e 65 78 |s bibtex|-pop-nex|
|00005ec0| 74 20 62 69 62 74 65 78 | 2d 65 6e 63 6c 6f 73 69 |t bibtex|-enclosi|
|00005ed0| 6e 67 2d 72 65 66 65 72 | 65 6e 63 65 20 30 20 62 |ng-refer|ence 0 b|
|00005ee0| 69 62 74 65 78 2d 70 6f | 70 2d 70 72 65 76 69 6f |ibtex-po|p-previo|
|00005ef0| 75 73 2d 73 65 61 72 63 | 68 2d 70 6f 69 6e 74 20 |us-searc|h-point |
|00005f00| 62 69 62 74 65 78 2d 70 | 6f 70 2d 6e 65 78 74 2d |bibtex-p|op-next-|
|00005f10| 73 65 61 72 63 68 2d 70 | 6f 69 6e 74 20 72 65 2d |search-p|oint re-|
|00005f20| 73 65 61 72 63 68 2d 62 | 61 63 6b 77 61 72 64 20 |search-b|ackward |
|00005f30| 74 20 61 72 67 20 62 69 | 62 74 65 78 2d 74 65 78 |t arg bi|btex-tex|
|00005f40| 74 2d 69 6e 2d 63 66 69 | 65 6c 64 20 62 69 62 74 |t-in-cfi|eld bibt|
|00005f50| 65 78 2d 66 6c 61 73 68 | 2d 68 65 61 64 20 65 72 |ex-flash|-head er|
|00005f60| 72 6f 72 20 22 4e 6f 20 | 70 72 65 76 69 6f 75 73 |ror "No |previous|
|00005f70| 20 6d 61 74 63 68 69 6e | 67 20 42 69 62 54 65 58 | matchin|g BibTeX|
|00005f80| 20 66 69 65 6c 64 2e 22 | 20 74 68 69 73 2d 63 6f | field."| this-co|
|00005f90| 6d 6d 61 6e 64 5d 20 35 | 20 22 5c 0a 52 65 70 6c |mmand] 5| "\.Repl|
|00005fa0| 61 63 65 20 74 65 78 74 | 20 6f 66 20 63 75 72 72 |ace text| of curr|
|00005fb0| 65 6e 74 20 66 69 65 6c | 64 20 77 69 74 68 20 74 |ent fiel|d with t|
|00005fc0| 68 65 20 74 65 78 74 20 | 6f 66 20 73 69 6d 69 6c |he text |of simil|
|00005fd0| 61 72 20 66 69 65 6c 64 | 20 69 6e 20 70 72 65 76 |ar field| in prev|
|00005fe0| 69 6f 75 73 20 65 6e 74 | 72 79 2e 0a 57 69 74 68 |ious ent|ry..With|
|00005ff0| 20 61 72 67 2c 20 67 6f | 20 75 70 20 41 52 47 20 | arg, go| up ARG |
|00006000| 65 6e 74 72 69 65 73 2e | 20 20 52 65 70 65 61 74 |entries.| Repeat|
|00006010| 65 64 2c 20 67 6f 65 73 | 20 75 70 20 73 6f 20 6d |ed, goes| up so m|
|00006020| 61 6e 79 20 74 69 6d 65 | 73 2e 20 20 4d 61 79 20 |any time|s. May |
|00006030| 62 65 0a 69 6e 74 65 72 | 6d 69 78 65 64 20 77 69 |be.inter|mixed wi|
|00006040| 74 68 20 5c 5c 5b 62 69 | 62 74 65 78 2d 70 6f 70 |th \\[bi|btex-pop|
|00006050| 2d 6e 65 78 74 5d 20 28 | 62 69 62 74 65 78 2d 70 |-next] (|bibtex-p|
|00006060| 6f 70 2d 6e 65 78 74 29 | 2e 22 20 22 70 22 5d 29 |op-next)|." "p"])|
|00006070| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 62 69 62 74 |.(defali|as 'bibt|
|00006080| 65 78 2d 70 6f 70 2d 6e | 65 78 74 20 23 5b 28 61 |ex-pop-n|ext #[(a|
|00006090| 72 67 29 20 22 c0 20 88 | 8a c1 20 88 5c 6e 94 5c |rg) ". .|.. .\n.\|
|000060a0| 6e 95 0b 94 0b 95 c4 1d | 1e 06 1e 07 1e 08 1e 09 |n.......|........|
|000060b0| 0e 07 62 88 ca cb cc 21 | 83 2b 00 60 cc 47 5c 5c |..b....!|.+.`.G\\|
|000060c0| 82 2c 00 60 0e 06 7b 0e | 0d 5c 22 1e 0e 0e 0f d0 |.,.`..{.|.\".....|
|000060d0| 3d 84 4d 00 0e 0f d1 3d | 84 4d 00 d2 20 88 d3 94 |=.M....=|.M.. ...|
|000060e0| 16 14 d3 95 16 15 0e 15 | 62 88 d6 0e 0e 64 d7 0e |........|b....d..|
|000060f0| 18 24 83 7f 00 0e 19 94 | 0e 19 95 7b 15 d3 95 16 |.$......|...{....|
|00006100| 15 d3 94 16 14 da 20 88 | 0e 08 62 88 0e 09 0e 08 |...... .|..b.....|
|00006110| 7c 88 0d 63 88 82 83 00 | db dc 21 88 2e 07 d0 89 ||..c....|..!.....|
|00006120| 16 1d 87 22 20 5b 62 69 | 62 74 65 78 2d 69 6e 73 |..." [bi|btex-ins|
|00006130| 69 64 65 2d 66 69 65 6c | 64 20 62 69 62 74 65 78 |ide-fiel|d bibtex|
|00006140| 2d 65 6e 63 6c 6f 73 69 | 6e 67 2d 66 69 65 6c 64 |-enclosi|ng-field|
|00006150| 20 62 69 62 74 65 78 2d | 74 65 78 74 2d 69 6e 2d | bibtex-|text-in-|
|00006160| 66 69 65 6c 64 20 62 69 | 62 74 65 78 2d 6e 61 6d |field bi|btex-nam|
|00006170| 65 2d 69 6e 2d 66 69 65 | 6c 64 20 6e 69 6c 20 6e |e-in-fie|ld nil n|
|00006180| 65 77 2d 74 65 78 74 20 | 73 74 6f 70 2d 6e 61 6d |ew-text |stop-nam|
|00006190| 65 20 73 74 61 72 74 2d | 6e 61 6d 65 20 73 74 6f |e start-|name sto|
|000061a0| 70 2d 6f 6c 64 2d 74 65 | 78 74 20 73 74 61 72 74 |p-old-te|xt start|
|000061b0| 2d 6f 6c 64 2d 74 65 78 | 74 20 62 69 62 74 65 78 |-old-tex|t bibtex|
|000061c0| 2d 63 66 69 65 6c 64 20 | 6c 6f 6f 6b 69 6e 67 2d |-cfield |looking-|
|000061d0| 61 74 20 22 4f 50 54 22 | 20 62 69 62 74 65 78 2d |at "OPT"| bibtex-|
|000061e0| 66 69 65 6c 64 2d 74 65 | 78 74 20 6d 61 74 63 68 |field-te|xt match|
|000061f0| 69 6e 67 2d 65 6e 74 72 | 79 20 6c 61 73 74 2d 63 |ing-entr|y last-c|
|00006200| 6f 6d 6d 61 6e 64 20 62 | 69 62 74 65 78 2d 70 6f |ommand b|ibtex-po|
|00006210| 70 2d 6e 65 78 74 20 62 | 69 62 74 65 78 2d 70 6f |p-next b|ibtex-po|
|00006220| 70 2d 70 72 65 76 69 6f | 75 73 20 62 69 62 74 65 |p-previo|us bibte|
|00006230| 78 2d 65 6e 63 6c 6f 73 | 69 6e 67 2d 72 65 66 65 |x-enclos|ing-refe|
|00006240| 72 65 6e 63 65 20 30 20 | 62 69 62 74 65 78 2d 70 |rence 0 |bibtex-p|
|00006250| 6f 70 2d 70 72 65 76 69 | 6f 75 73 2d 73 65 61 72 |op-previ|ous-sear|
|00006260| 63 68 2d 70 6f 69 6e 74 | 20 62 69 62 74 65 78 2d |ch-point| bibtex-|
|00006270| 70 6f 70 2d 6e 65 78 74 | 2d 73 65 61 72 63 68 2d |pop-next|-search-|
|00006280| 70 6f 69 6e 74 20 72 65 | 2d 73 65 61 72 63 68 2d |point re|-search-|
|00006290| 66 6f 72 77 61 72 64 20 | 74 20 61 72 67 20 62 69 |forward |t arg bi|
|000062a0| 62 74 65 78 2d 74 65 78 | 74 2d 69 6e 2d 63 66 69 |btex-tex|t-in-cfi|
|000062b0| 65 6c 64 20 62 69 62 74 | 65 78 2d 66 6c 61 73 68 |eld bibt|ex-flash|
|000062c0| 2d 68 65 61 64 20 65 72 | 72 6f 72 20 22 4e 6f 20 |-head er|ror "No |
|000062d0| 6e 65 78 74 20 6d 61 74 | 63 68 69 6e 67 20 42 69 |next mat|ching Bi|
|000062e0| 62 54 65 58 20 66 69 65 | 6c 64 2e 22 20 74 68 69 |bTeX fie|ld." thi|
|000062f0| 73 2d 63 6f 6d 6d 61 6e | 64 5d 20 35 20 22 5c 0a |s-comman|d] 5 "\.|
|00006300| 52 65 70 6c 61 63 65 20 | 74 65 78 74 20 6f 66 20 |Replace |text of |
|00006310| 63 75 72 72 65 6e 74 20 | 66 69 65 6c 64 20 77 69 |current |field wi|
|00006320| 74 68 20 74 68 65 20 74 | 65 78 74 20 6f 66 20 73 |th the t|ext of s|
|00006330| 69 6d 69 6c 61 72 20 66 | 69 65 6c 64 20 69 6e 20 |imilar f|ield in |
|00006340| 6e 65 78 74 20 65 6e 74 | 72 79 2e 0a 57 69 74 68 |next ent|ry..With|
|00006350| 20 61 72 67 2c 20 67 6f | 20 75 70 20 41 52 47 20 | arg, go| up ARG |
|00006360| 65 6e 74 72 69 65 73 2e | 20 20 52 65 70 65 61 74 |entries.| Repeat|
|00006370| 65 64 2c 20 67 6f 65 73 | 20 75 70 20 73 6f 20 6d |ed, goes| up so m|
|00006380| 61 6e 79 20 74 69 6d 65 | 73 2e 20 20 4d 61 79 20 |any time|s. May |
|00006390| 62 65 0a 69 6e 74 65 72 | 6d 69 78 65 64 20 77 69 |be.inter|mixed wi|
|000063a0| 74 68 20 5c 5c 5b 62 69 | 62 74 65 78 2d 70 6f 70 |th \\[bi|btex-pop|
|000063b0| 2d 70 72 65 76 69 6f 75 | 73 5d 20 28 62 69 62 74 |-previou|s] (bibt|
|000063c0| 65 78 2d 70 6f 70 2d 70 | 72 65 76 69 6f 75 73 29 |ex-pop-p|revious)|
|000063d0| 2e 22 20 22 70 22 5d 29 | 0a 28 64 65 66 61 6c 69 |." "p"])|.(defali|
|000063e0| 61 73 20 27 62 69 62 74 | 65 78 2d 66 6c 61 73 68 |as 'bibt|ex-flash|
|000063f0| 2d 68 65 61 64 20 23 5b | 6e 69 6c 20 22 c0 19 c2 |-head #[|nil "...|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.