home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: ArcFS Archive
(archive/arcFS).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| ArcFS Archive (archive/arcFS)
| magic
| Supported |
100%
| file
| RISC OS archive (ArcFS format)
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Acorn ArcFS Archive
| default
| |
100%
| siegfried
| fmt/1616 BibTeX Database File
| default
| |
100%
| gt2
| Kopftext: 'Archive'
| default (weak)
| |
100%
| detectItEasy
| Archive: ArcFS
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 64 02 00 00 54 03 00 00 |Archive.|d...T...|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 62 74 78 64 6f 63 00 | 00 00 00 00 ff ff ff ff |.btxdoc.|........|
|00000070| 45 ff ff ff 81 93 3c c6 | 00 00 00 00 ff ff ff ff |E.....<.|........|
|00000080| fc 00 00 80 82 62 62 6c | 00 26 27 28 29 2a 2b 2c |.....bbl|.&'()*+,|
|00000090| 00 00 00 00 45 ff ff ff | 62 02 13 a4 03 00 00 00 |....E...|b.......|
|000000a0| 00 00 00 00 70 ff ff ff | 82 62 69 62 00 26 27 28 |....p...|.bib.&'(|
|000000b0| 29 2a 2b 2c 14 0a 00 00 | 42 ff ff ff c3 06 df 21 |)*+,....|B......!|
|000000c0| 03 00 bb 1e 14 0a 00 00 | 24 00 00 00 82 62 6c 67 |........|$....blg|
|000000d0| 00 26 27 28 29 2a 2b 2c | 49 00 00 00 45 ff ff ff |.&'()*+,|I...E...|
|000000e0| 61 02 13 a4 03 00 c0 2e | 49 00 00 00 5c 0a 00 00 |a.......|I...\...|
|000000f0| 82 64 6f 63 00 26 27 28 | 29 2a 2b 2c 24 1c 01 00 |.doc.&'(|)*+,$...|
|00000100| 42 ff ff ff 1e 31 0d 23 | 03 00 64 dc 24 1c 01 00 |B....1.#|..d.$...|
|00000110| c9 0a 00 00 82 74 65 78 | 00 26 27 28 29 2a 2b 2c |.....tex|.&'()*+,|
|00000120| 60 a2 00 00 42 a8 f2 ff | d6 56 0d 23 03 00 05 01 |`...B...|.V.#....|
|00000130| 60 a2 00 00 11 27 01 00 | 00 22 23 24 25 26 27 28 |`....'..|."#$%&'(|
|00000140| 29 2a 2b 2c 2d 30 31 32 | 33 34 35 36 38 39 40 41 |)*+,-012|345689@A|
|00000150| 42 43 44 45 46 47 48 49 | f6 47 4c 4d 82 62 74 78 |BCDEFGHI|.GLM.btx|
|00000160| 68 61 6b 00 00 00 00 00 | ff ff ff ff 45 ff ff ff |hak.....|....E...|
|00000170| 48 96 3c c6 00 00 00 00 | ff ff ff ff b0 01 00 80 |H.<.....|........|
|00000180| 82 61 75 78 00 7d 7d 7d | 7d 7d 7d 7d 25 03 00 00 |.aux.}}}|}}}}%...|
|00000190| 42 ff ff ff b4 1f 1d 6f | 03 00 52 be 25 03 00 00 |B......o|..R.%...|
|000001a0| 95 c9 01 00 82 62 62 6c | 00 7d 7d 7d 7d 7d 7d 7d |.....bbl|.}}}}}}}|
|000001b0| fd 03 00 00 42 ff ff ff | 51 49 1e 6f 03 00 cd 2b |....B...|QI.o...+|
|000001c0| fd 03 00 00 de cc 01 00 | 82 74 65 78 00 7d 7d 7d |........|.tex.}}}|
|000001d0| 7d 7d 7d 7d 3f 63 00 00 | 42 ff ff ff f4 63 0d 23 |}}}}?c..|B....c.#|
|000001e0| 03 00 43 54 3f 63 00 00 | ff d0 01 00 00 7d 7d 7d |..CT?c..|.....}}}|
|000001f0| 7d 7d 7d 7d 7d 7d 7d 7d | 7d 7d 7d 7d 7d 7d 7d 7d |}}}}}}}}|}}}}}}}}|
|00000200| 7d 7d 7d 7d 7d 7d 7d 7d | 7d 7d 7d 7d 29 7a 7d 7d |}}}}}}}}|}}}})z}}|
|00000210| 82 43 41 55 47 00 00 00 | 00 00 00 00 ff ff ff ff |.CAUG...|........|
|00000220| 45 ff ff ff 75 97 3c c6 | 00 00 00 00 ff ff ff ff |E...u.<.|........|
|00000230| 40 02 00 80 82 64 76 69 | 00 b7 7a a7 19 97 38 87 |@....dvi|..z...8.|
|00000240| 30 0f 00 00 45 e4 fc ff | 23 72 aa a3 33 00 87 07 |0...E...|#r..3...|
|00000250| 30 0f 00 00 62 34 02 00 | 82 74 65 78 00 b7 7a a7 |0...b4..|.tex..z.|
|00000260| 19 97 38 87 c7 0a 00 00 | 45 a8 f2 ff 3c f7 f0 9f |..8.....|E...<...|
|00000270| 33 00 75 04 c7 0a 00 00 | b6 43 02 00 00 56 b4 46 |3.u.....|.C...V.F|
|00000280| 5b b7 7a a7 19 97 38 87 | df f7 fe e7 9d d7 bc c7 |[.z...8.|........|
|00000290| c4 48 e5 58 86 68 a7 78 | 40 08 61 18 ae 24 23 38 |.H.X.h.x|@.a..$#8|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 46 69 6c 65 | 44 61 74 61 82 62 69 62 |....File|Data.bib|
|00000360| 00 26 27 28 29 2a 2b 2c | 14 0a 00 00 42 ff ff ff |.&'()*+,|....B...|
|00000370| c3 06 df 21 03 00 bb 1e | 43 6f 70 79 72 69 67 68 |...!....|Copyrigh|
|00000380| 74 20 28 43 29 20 31 39 | 38 38 2c 20 61 6c 6c 20 |t (C) 19|88, all |
|00000390| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|000003a0| 0a 0a 40 43 4f 4d 4d 45 | 4e 54 28 59 6f 75 20 6d |..@COMME|NT(You m|
|000003b0| 61 79 20 70 75 74 20 61 | 20 63 6f 6d 6d 65 6e 74 |ay put a| comment|
|000003c0| 20 69 6e 20 61 20 60 63 | 6f 6d 6d 65 6e 74 27 20 | in a `c|omment' |
|000003d0| 63 6f 6d 6d 61 6e 64 2c | 0a 20 20 20 20 20 20 20 |command,|. |
|000003e0| 20 74 68 65 20 77 61 79 | 20 79 6f 75 20 77 6f 75 | the way| you wou|
|000003f0| 6c 64 20 77 69 74 68 20 | 53 43 52 49 42 45 2e 29 |ld with |SCRIBE.)|
|00000400| 0a 0a 4f 72 20 79 6f 75 | 20 6d 61 79 20 64 69 73 |..Or you| may dis|
|00000410| 70 65 6e 73 65 20 77 69 | 74 68 20 74 68 65 20 63 |pense wi|th the c|
|00000420| 6f 6d 6d 61 6e 64 20 61 | 6e 64 20 73 69 6d 70 6c |ommand a|nd simpl|
|00000430| 79 20 67 69 76 65 20 74 | 68 65 20 63 6f 6d 6d 65 |y give t|he comme|
|00000440| 6e 74 2c 0a 61 73 20 6c | 6f 6e 67 20 61 73 20 69 |nt,.as l|ong as i|
|00000450| 74 27 73 20 6e 6f 74 20 | 77 69 74 68 69 6e 20 61 |t's not |within a|
|00000460| 6e 20 65 6e 74 72 79 2e | 0a 0a 49 66 20 79 6f 75 |n entry.|..If you|
|00000470| 20 72 65 61 6c 6c 79 20 | 77 61 6e 74 20 74 6f 20 | really |want to |
|00000480| 70 75 74 20 61 20 63 6f | 6d 6d 65 6e 74 20 69 6e |put a co|mment in|
|00000490| 73 69 64 65 20 61 6e 20 | 65 6e 74 72 79 2c 20 73 |side an |entry, s|
|000004a0| 69 6d 70 6c 79 0a 6d 61 | 6b 65 20 75 70 20 61 20 |imply.ma|ke up a |
|000004b0| 6e 65 76 65 72 2d 74 6f | 2d 62 65 2d 75 73 65 64 |never-to|-be-used|
|000004c0| 20 66 69 65 6c 64 2e 0a | 0a 40 46 41 4b 45 2d 45 | field..|.@FAKE-E|
|000004d0| 4e 54 52 59 0a 20 20 20 | 20 20 20 20 20 7b 66 61 |NTRY. | {fa|
|000004e0| 6b 65 2d 64 61 74 61 62 | 61 73 65 2d 6b 65 79 2c |ke-datab|ase-key,|
|000004f0| 0a 20 20 20 20 20 20 20 | 20 6e 65 76 65 72 2d 74 |. | never-t|
|00000500| 6f 2d 62 65 2d 75 73 65 | 64 2d 66 69 65 6c 64 20 |o-be-use|d-field |
|00000510| 3d 20 22 45 76 65 6e 20 | 69 66 20 74 68 69 73 20 |= "Even |if this |
|00000520| 77 65 72 65 20 61 20 72 | 65 61 6c 20 65 6e 74 72 |were a r|eal entr|
|00000530| 79 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |y,. | |
|00000540| 20 20 20 49 20 63 6f 75 | 6c 64 20 73 74 69 6c 6c | I cou|ld still|
|00000550| 20 68 61 76 65 20 61 20 | 63 6f 6d 6d 65 6e 74 20 | have a |comment |
|00000560| 69 6e 73 69 64 65 20 61 | 6e 20 65 6e 74 72 79 0a |inside a|n entry.|
|00000570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000580| 62 79 20 6d 61 6b 69 6e | 67 20 75 70 20 61 20 66 |by makin|g up a f|
|00000590| 61 6b 65 20 66 69 65 6c | 64 22 0a 20 20 20 20 20 |ake fiel|d". |
|000005a0| 20 20 20 7d 0a 0a 40 73 | 74 72 69 6e 67 20 28 53 | }..@s|tring (S|
|000005b0| 43 52 49 42 45 2d 4e 4f | 54 45 20 3d 20 7b 43 68 |CRIBE-NO|TE = {Ch|
|000005c0| 61 70 74 65 72 20 74 77 | 65 6c 76 65 20 61 6e 64 |apter tw|elve and|
|000005d0| 20 61 70 70 65 6e 64 69 | 63 65 73 20 45 38 20 74 | appendi|ces E8 t|
|000005e0| 68 72 6f 75 67 68 20 45 | 31 30 20 64 65 61 6c 0a |hrough E|10 deal.|
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000600| 20 20 20 20 20 20 20 20 | 77 69 74 68 20 62 69 62 | |with bib|
|00000610| 6c 69 6f 67 72 61 70 68 | 69 65 73 7d 29 0a 0a 54 |liograph|ies})..T|
|00000620| 68 65 20 6e 65 78 74 20 | 65 6e 74 72 79 20 73 68 |he next |entry sh|
|00000630| 6f 77 73 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 20 |ows some| of the |
|00000640| 73 79 6e 74 61 63 74 69 | 63 61 6c 6c 79 20 6c 65 |syntacti|cally le|
|00000650| 67 61 6c 20 74 68 69 6e | 67 73 20 74 68 61 74 0a |gal thin|gs that.|
|00000660| 74 68 6f 73 65 20 77 69 | 74 68 20 74 68 65 20 69 |those wi|th the i|
|00000670| 6e 63 6c 69 6e 61 74 69 | 6f 6e 20 6d 61 79 20 75 |nclinati|on may u|
|00000680| 73 65 2e 40 0a 0a 4d 61 | 4e 75 41 6c 20 20 28 73 |se.@..Ma|NuAl (s|
|00000690| 63 72 69 62 65 2c 0a 20 | 20 20 20 20 20 20 20 54 |cribe,. | T|
|000006a0| 49 54 4c 45 3d 22 53 63 | 72 69 62 65 20 44 6f 63 |ITLE="Sc|ribe Doc|
|000006b0| 75 6d 65 6e 74 20 50 72 | 6f 64 75 63 74 69 6f 6e |ument Pr|oduction|
|000006c0| 20 53 79 73 74 65 6d 0a | 0a 0a 20 20 20 20 20 20 | System.|.. |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000700| 20 20 55 73 65 72 20 4d | 61 6e 75 61 6c 22 2c 0a | User M|anual",.|
|00000710| 20 20 20 20 20 20 20 20 | 4f 52 47 41 4e 49 5a 41 | |ORGANIZA|
|00000720| 54 49 4f 4e 20 3d 20 20 | 7b 55 6e 69 6c 6f 67 69 |TION = |{Unilogi|
|00000730| 63 2c 7d 23 22 20 4c 74 | 64 22 23 20 7b 2e 0a 20 |c,}#" Lt|d"# {.. |
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000750| 20 20 20 20 20 20 20 7d | 2c 0a 20 20 20 20 20 20 | }|,. |
|00000760| 20 20 41 44 44 52 45 53 | 53 20 3d 20 22 50 69 74 | ADDRES|S = "Pit|
|00000770| 74 73 62 75 72 67 68 22 | 2c 0a 20 20 20 20 20 20 |tsburgh"|,. |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 4e 54 48 0a | | MONTH.|
|000007b0| 3d 61 50 52 0a 20 20 20 | 20 20 20 20 20 2c 59 45 |=aPR. | ,YE|
|000007c0| 41 52 3d 31 39 38 34 2c | 0a 20 20 20 20 20 20 20 |AR=1984,|. |
|000007d0| 20 6e 6f 74 65 20 3d 20 | 73 63 72 69 62 65 2d 6e | note = |scribe-n|
|000007e0| 6f 74 65 2c 0a 29 20 20 | 20 20 20 20 20 20 20 20 |ote,.) | |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000800| 20 20 20 20 20 4d 61 79 | 20 74 68 65 20 69 6e 63 | May| the inc|
|00000810| 6c 69 6e 61 74 69 6f 6e | 20 6e 6f 74 20 62 65 20 |lination| not be |
|00000820| 77 69 74 68 20 79 6f 75 | 2e 0a 0a 0a 40 4d 49 53 |with you|....@MIS|
|00000830| 43 7b 70 72 69 6d 65 2d | 6e 75 6d 62 65 72 2d 74 |C{prime-|number-t|
|00000840| 68 65 6f 72 65 6d 2c 0a | 20 20 20 61 75 74 68 6f |heorem,.| autho|
|00000850| 72 20 3d 20 22 43 68 61 | 72 6c 65 73 20 4c 6f 75 |r = "Cha|rles Lou|
|00000860| 69 73 20 58 61 76 69 65 | 72 20 4a 6f 73 65 70 68 |is Xavie|r Joseph|
|00000870| 20 64 65 20 6c 61 20 56 | 61 6c 6c 7b 5c 27 65 7d | de la V|all{\'e}|
|00000880| 65 20 50 6f 75 73 73 69 | 6e 22 2c 0a 20 20 20 6e |e Poussi|n",. n|
|00000890| 6f 74 65 20 3d 20 22 41 | 20 73 74 72 6f 6e 67 20 |ote = "A| strong |
|000008a0| 66 6f 72 6d 20 6f 66 20 | 74 68 65 20 70 72 69 6d |form of |the prim|
|000008b0| 65 20 6e 75 6d 62 65 72 | 20 74 68 65 6f 72 65 6d |e number| theorem|
|000008c0| 2c 20 31 39 74 68 20 63 | 65 6e 74 75 72 79 22 20 |, 19th c|entury" |
|000008d0| 7d 0a 0a 40 49 4e 42 4f | 4f 4b 7b 63 68 69 63 61 |}..@INBO|OK{chica|
|000008e0| 67 6f 2c 0a 20 20 20 74 | 69 74 6c 65 20 3d 20 22 |go,. t|itle = "|
|000008f0| 54 68 65 20 43 68 69 63 | 61 67 6f 20 4d 61 6e 75 |The Chic|ago Manu|
|00000900| 61 6c 20 6f 66 20 53 74 | 79 6c 65 22 2c 0a 20 20 |al of St|yle",. |
|00000910| 20 70 75 62 6c 69 73 68 | 65 72 20 3d 20 22 55 6e | publish|er = "Un|
|00000920| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 68 69 63 |iversity| of Chic|
|00000930| 61 67 6f 20 50 72 65 73 | 73 22 2c 0a 20 20 20 65 |ago Pres|s",. e|
|00000940| 64 69 74 69 6f 6e 20 3d | 20 22 54 68 69 72 74 65 |dition =| "Thirte|
|00000950| 65 6e 74 68 22 2c 0a 20 | 20 20 79 65 61 72 20 3d |enth",. | year =|
|00000960| 20 31 39 38 32 2c 0a 20 | 20 20 70 61 67 65 73 20 | 1982,. | pages |
|00000970| 3d 20 22 34 30 30 2d 2d | 34 30 31 22 2c 0a 20 20 |= "400--|401",. |
|00000980| 20 6b 65 79 20 3d 20 22 | 43 68 69 63 61 67 6f 22 | key = "|Chicago"|
|00000990| 20 7d 0a 0a 40 42 4f 4f | 4b 7b 74 65 78 62 6f 6f | }..@BOO|K{texboo|
|000009a0| 6b 2c 0a 20 20 20 61 75 | 74 68 6f 72 20 3d 20 22 |k,. au|thor = "|
|000009b0| 44 6f 6e 61 6c 64 20 45 | 2e 20 4b 6e 75 74 68 22 |Donald E|. Knuth"|
|000009c0| 2c 0a 20 20 20 74 69 74 | 6c 65 3d 20 22 54 68 65 |,. tit|le= "The|
|000009d0| 20 7b 7b 5c 54 65 58 7d | 62 6f 6f 6b 7d 22 2c 0a | {{\TeX}|book}",.|
|000009e0| 20 20 20 70 75 62 6c 69 | 73 68 65 72 20 3d 20 22 | publi|sher = "|
|000009f0| 41 64 64 69 73 6f 6e 2d | 57 65 73 6c 65 79 22 2c |Addison-|Wesley",|
|00000a00| 0a 20 20 20 79 65 61 72 | 20 3d 20 31 39 38 34 20 |. year| = 1984 |
|00000a10| 7d 0a 0a 40 42 4f 4f 4b | 7b 6c 61 74 65 78 2c 0a |}..@BOOK|{latex,.|
|00000a20| 20 20 20 61 75 74 68 6f | 72 20 3d 20 22 4c 65 73 | autho|r = "Les|
|00000a30| 6c 69 65 20 4c 61 6d 70 | 6f 72 74 22 2c 0a 20 20 |lie Lamp|ort",. |
|00000a40| 20 74 69 74 6c 65 20 3d | 20 22 7b 5c 4c 61 54 65 | title =| "{\LaTe|
|00000a50| 58 20 5c 72 6d 3a 7d 20 | 7b 41 7d 20 44 6f 63 75 |X \rm:} |{A} Docu|
|00000a60| 6d 65 6e 74 20 50 72 65 | 70 61 72 61 74 69 6f 6e |ment Pre|paration|
|00000a70| 20 53 79 73 74 65 6d 22 | 2c 0a 20 20 20 70 75 62 | System"|,. pub|
|00000a80| 6c 69 73 68 65 72 20 3d | 20 22 41 64 64 69 73 6f |lisher =| "Addiso|
|00000a90| 6e 2d 57 65 73 6c 65 79 | 22 2c 0a 20 20 20 79 65 |n-Wesley|",. ye|
|00000aa0| 61 72 20 3d 20 31 39 38 | 36 20 7d 0a 0a 40 55 4e |ar = 198|6 }..@UN|
|00000ab0| 50 55 42 4c 49 53 48 45 | 44 7b 62 74 78 64 6f 63 |PUBLISHE|D{btxdoc|
|00000ac0| 2c 0a 20 20 20 61 75 74 | 68 6f 72 20 3d 20 22 4f |,. aut|hor = "O|
|00000ad0| 72 65 6e 20 50 61 74 61 | 73 68 6e 69 6b 22 2c 0a |ren Pata|shnik",.|
|00000ae0| 20 20 20 74 69 74 6c 65 | 20 3d 20 22 7b 7b 5c 42 | title| = "{{\B|
|00000af0| 69 62 54 65 58 20 69 6e | 67 7d 7d 22 2c 0a 20 20 |ibTeX in|g}}",. |
|00000b00| 20 6e 6f 74 65 20 3d 20 | 22 44 6f 63 75 6d 65 6e | note = |"Documen|
|00000b10| 74 61 74 69 6f 6e 20 66 | 6f 72 20 67 65 6e 65 72 |tation f|or gener|
|00000b20| 61 6c 20 7b 5c 42 69 62 | 54 65 58 7d 20 75 73 65 |al {\Bib|TeX} use|
|00000b30| 72 73 22 2c 0a 20 20 20 | 6d 6f 6e 74 68 20 3d 20 |rs",. |month = |
|00000b40| 6a 61 6e 2c 0a 20 20 20 | 79 65 61 72 20 3d 20 31 |jan,. |year = 1|
|00000b50| 39 38 38 20 7d 0a 0a 40 | 55 4e 50 55 42 4c 49 53 |988 }..@|UNPUBLIS|
|00000b60| 48 45 44 7b 62 74 78 68 | 61 6b 2c 0a 20 20 20 61 |HED{btxh|ak,. a|
|00000b70| 75 74 68 6f 72 20 3d 20 | 22 4f 72 65 6e 20 50 61 |uthor = |"Oren Pa|
|00000b80| 74 61 73 68 6e 69 6b 22 | 2c 0a 20 20 20 74 69 74 |tashnik"|,. tit|
|00000b90| 6c 65 20 3d 20 22 44 65 | 73 69 67 6e 69 6e 67 20 |le = "De|signing |
|00000ba0| 7b 5c 42 69 62 54 65 58 | 7d 20 53 74 79 6c 65 73 |{\BibTeX|} Styles|
|00000bb0| 22 2c 0a 20 20 20 6e 6f | 74 65 20 3d 20 22 54 68 |",. no|te = "Th|
|00000bc0| 65 20 70 61 72 74 20 6f | 66 20 5c 42 69 62 54 65 |e part o|f \BibTe|
|00000bd0| 58 27 73 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |X's docu|mentatio|
|00000be0| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00000bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c00| 20 20 20 20 20 20 20 20 | 20 20 74 68 61 74 27 73 | | that's|
|00000c10| 20 6e 6f 74 20 6d 65 61 | 6e 74 20 66 6f 72 20 67 | not mea|nt for g|
|00000c20| 65 6e 65 72 61 6c 20 75 | 73 65 72 73 22 2c 0a 20 |eneral u|sers",. |
|00000c30| 20 20 6d 6f 6e 74 68 20 | 3d 20 6a 61 6e 2c 0a 20 | month |= jan,. |
|00000c40| 20 20 79 65 61 72 20 3d | 20 31 39 38 38 20 7d 0a | year =| 1988 }.|
|00000c50| 0a 40 42 4f 4f 4b 7b 73 | 74 72 75 6e 6b 2d 61 6e |.@BOOK{s|trunk-an|
|00000c60| 64 2d 77 68 69 74 65 2c | 0a 20 20 20 61 75 74 68 |d-white,|. auth|
|00000c70| 6f 72 20 3d 20 22 53 74 | 72 75 6e 6b 2c 20 4a 72 |or = "St|runk, Jr|
|00000c80| 2e 2c 20 57 69 6c 6c 69 | 61 6d 20 61 6e 64 20 45 |., Willi|am and E|
|00000c90| 2e 20 42 2e 20 57 68 69 | 74 65 22 2c 0a 20 20 20 |. B. Whi|te",. |
|00000ca0| 74 69 74 6c 65 20 3d 20 | 22 54 68 65 20 45 6c 65 |title = |"The Ele|
|00000cb0| 6d 65 6e 74 73 20 6f 66 | 20 53 74 79 6c 65 22 2c |ments of| Style",|
|00000cc0| 0a 20 20 20 70 75 62 6c | 69 73 68 65 72 20 3d 20 |. publ|isher = |
|00000cd0| 22 4d 61 63 6d 69 6c 6c | 61 6e 22 2c 0a 20 20 20 |"Macmill|an",. |
|00000ce0| 65 64 69 74 69 6f 6e 20 | 3d 20 22 54 68 69 72 64 |edition |= "Third|
|00000cf0| 22 2c 0a 20 20 20 79 65 | 61 72 20 3d 20 31 39 37 |",. ye|ar = 197|
|00000d00| 39 20 7d 0a 0a 40 42 4f | 4f 4b 7b 76 61 6e 2d 6c |9 }..@BO|OK{van-l|
|00000d10| 65 75 6e 65 6e 2c 0a 20 | 20 20 74 69 74 6c 65 20 |eunen,. | title |
|00000d20| 3d 20 22 41 20 48 61 6e | 64 62 6f 6f 6b 20 66 6f |= "A Han|dbook fo|
|00000d30| 72 20 53 63 68 6f 6c 61 | 72 73 22 2c 0a 20 20 20 |r Schola|rs",. |
|00000d40| 61 75 74 68 6f 72 20 3d | 20 22 4d 61 72 79 2d 43 |author =| "Mary-C|
|00000d50| 6c 61 69 72 65 20 76 61 | 6e 20 4c 65 75 6e 65 6e |laire va|n Leunen|
|00000d60| 22 2c 0a 20 20 20 70 75 | 62 6c 69 73 68 65 72 20 |",. pu|blisher |
|00000d70| 3d 20 22 4b 6e 6f 70 66 | 22 2c 0a 20 20 20 79 65 |= "Knopf|",. ye|
|00000d80| 61 72 20 3d 20 31 39 37 | 39 20 7d 0a 46 69 6c 65 |ar = 197|9 }.File|
|00000d90| 44 61 74 61 82 62 6c 67 | 00 26 27 28 29 2a 2b 2c |Data.blg|.&'()*+,|
|00000da0| 49 00 00 00 45 ff ff ff | 61 02 13 a4 03 00 c0 2e |I...E...|a.......|
|00000db0| 54 68 69 73 20 69 73 20 | 42 69 62 54 65 58 2c 20 |This is |BibTeX, |
|00000dc0| 43 20 56 65 72 73 69 6f | 6e 20 30 2e 39 39 63 0a |C Versio|n 0.99c.|
|00000dd0| 54 68 65 20 74 6f 70 2d | 6c 65 76 65 6c 20 61 75 |The top-|level au|
|00000de0| 78 69 6c 69 61 72 79 20 | 66 69 6c 65 3a 20 62 74 |xiliary |file: bt|
|00000df0| 78 64 6f 63 2e 61 75 78 | 0a 46 69 6c 65 44 61 74 |xdoc.aux|.FileDat|
|00000e00| 61 82 64 6f 63 00 26 27 | 28 29 2a 2b 2c 24 1c 01 |a.doc.&'|()*+,$..|
|00000e10| 00 42 ff ff ff 1e 31 0d | 23 03 00 64 dc 25 20 42 |.B....1.|#..d.% B|
|00000e20| 69 62 54 65 58 20 60 70 | 6c 61 69 6e 27 20 66 61 |ibTeX `p|lain' fa|
|00000e30| 6d 69 6c 79 0a 20 20 20 | 20 20 20 20 20 25 20 76 |mily. | % v|
|00000e40| 65 72 73 69 6f 6e 20 30 | 2e 39 39 61 20 66 6f 72 |ersion 0|.99a for|
|00000e50| 20 42 69 62 54 65 58 20 | 76 65 72 73 69 6f 6e 73 | BibTeX |versions|
|00000e60| 20 30 2e 39 39 61 20 6f | 72 20 6c 61 74 65 72 2c | 0.99a o|r later,|
|00000e70| 20 4c 61 54 65 58 20 76 | 65 72 73 69 6f 6e 20 32 | LaTeX v|ersion 2|
|00000e80| 2e 30 39 2e 0a 20 20 20 | 20 20 20 20 20 25 20 43 |.09.. | % C|
|00000e90| 6f 70 79 72 69 67 68 74 | 20 28 43 29 20 31 39 38 |opyright| (C) 198|
|00000ea0| 35 2c 20 61 6c 6c 20 72 | 69 67 68 74 73 20 72 65 |5, all r|ights re|
|00000eb0| 73 65 72 76 65 64 2e 0a | 20 20 20 20 20 20 20 20 |served..| |
|00000ec0| 25 20 43 6f 70 79 69 6e | 67 20 6f 66 20 74 68 69 |% Copyin|g of thi|
|00000ed0| 73 20 66 69 6c 65 20 69 | 73 20 61 75 74 68 6f 72 |s file i|s author|
|00000ee0| 69 7a 65 64 20 6f 6e 6c | 79 20 69 66 20 65 69 74 |ized onl|y if eit|
|00000ef0| 68 65 72 0a 20 20 20 20 | 20 20 20 20 25 20 28 31 |her. | % (1|
|00000f00| 29 20 79 6f 75 20 6d 61 | 6b 65 20 61 62 73 6f 6c |) you ma|ke absol|
|00000f10| 75 74 65 6c 79 20 6e 6f | 20 63 68 61 6e 67 65 73 |utely no| changes|
|00000f20| 20 74 6f 20 79 6f 75 72 | 20 63 6f 70 79 2c 20 69 | to your| copy, i|
|00000f30| 6e 63 6c 75 64 69 6e 67 | 20 6e 61 6d 65 2c 20 6f |ncluding| name, o|
|00000f40| 72 0a 20 20 20 20 20 20 | 20 20 25 20 28 32 29 20 |r. | % (2) |
|00000f50| 69 66 20 79 6f 75 20 64 | 6f 20 6d 61 6b 65 20 63 |if you d|o make c|
|00000f60| 68 61 6e 67 65 73 2c 20 | 79 6f 75 20 6e 61 6d 65 |hanges, |you name|
|00000f70| 20 69 74 20 73 6f 6d 65 | 74 68 69 6e 67 20 6f 74 | it some|thing ot|
|00000f80| 68 65 72 20 74 68 61 6e | 0a 20 20 20 20 20 20 20 |her than|. |
|00000f90| 20 25 20 62 74 78 62 73 | 74 2e 64 6f 63 2c 20 70 | % btxbs|t.doc, p|
|00000fa0| 6c 61 69 6e 2e 62 73 74 | 2c 20 75 6e 73 72 74 2e |lain.bst|, unsrt.|
|00000fb0| 62 73 74 2c 20 61 6c 70 | 68 61 2e 62 73 74 2c 20 |bst, alp|ha.bst, |
|00000fc0| 61 6e 64 20 61 62 62 72 | 76 2e 62 73 74 2e 0a 20 |and abbr|v.bst.. |
|00000fd0| 20 20 20 20 20 20 20 25 | 20 54 68 69 73 20 72 65 | %| This re|
|00000fe0| 73 74 72 69 63 74 69 6f | 6e 20 68 65 6c 70 73 20 |strictio|n helps |
|00000ff0| 65 6e 73 75 72 65 20 74 | 68 61 74 20 61 6c 6c 20 |ensure t|hat all |
|00001000| 73 74 61 6e 64 61 72 64 | 20 73 74 79 6c 65 73 20 |standard| styles |
|00001010| 61 72 65 20 69 64 65 6e | 74 69 63 61 6c 2e 0a 20 |are iden|tical.. |
|00001020| 20 20 20 20 20 20 20 25 | 20 54 68 65 20 66 69 6c | %| The fil|
|00001030| 65 20 62 74 78 62 73 74 | 2e 64 6f 63 20 68 61 73 |e btxbst|.doc has|
|00001040| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00001050| 6f 6e 20 66 6f 72 20 74 | 68 69 73 20 73 74 79 6c |on for t|his styl|
|00001060| 65 2e 0a 25 20 50 6c 65 | 61 73 65 20 6e 6f 74 69 |e..% Ple|ase noti|
|00001070| 66 79 20 4f 72 65 6e 20 | 50 61 74 61 73 68 6e 69 |fy Oren |Patashni|
|00001080| 6b 20 28 50 41 54 41 53 | 48 4e 49 4b 40 53 43 4f |k (PATAS|HNIK@SCO|
|00001090| 52 45 2e 53 54 41 4e 46 | 4f 52 44 2e 45 44 55 29 |RE.STANF|ORD.EDU)|
|000010a0| 20 6f 66 20 61 6e 79 20 | 62 75 67 73 20 69 6e 0a | of any |bugs in.|
|000010b0| 25 20 74 68 65 73 65 20 | 73 74 61 6e 64 61 72 64 |% these |standard|
|000010c0| 20 73 74 79 6c 65 73 20 | 6f 72 20 69 6e 20 74 68 | styles |or in th|
|000010d0| 69 73 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |is docum|entation|
|000010e0| 20 66 69 6c 65 2e 0a 25 | 0a 25 20 54 68 69 73 20 | file..%|.% This |
|000010f0| 69 73 20 66 69 6c 65 20 | 62 74 78 62 78 74 2e 64 |is file |btxbxt.d|
|00001100| 6f 63 3b 20 69 74 20 68 | 65 6c 70 73 20 64 6f 63 |oc; it h|elps doc|
|00001110| 75 6d 65 6e 74 20 62 69 | 62 6c 69 6f 67 72 61 70 |ument bi|bliograp|
|00001120| 68 79 20 73 74 79 6c 65 | 73 2c 0a 25 20 61 6e 64 |hy style|s,.% and|
|00001130| 20 69 73 20 61 6c 73 6f | 20 61 20 74 65 6d 70 6c | is also| a templ|
|00001140| 61 74 65 20 66 69 6c 65 | 20 74 68 61 74 20 79 6f |ate file| that yo|
|00001150| 75 20 63 61 6e 20 75 73 | 65 20 74 6f 20 6d 61 6b |u can us|e to mak|
|00001160| 65 0a 25 20 73 65 76 65 | 72 61 6c 20 64 69 66 66 |e.% seve|ral diff|
|00001170| 65 72 65 6e 74 20 73 74 | 79 6c 65 20 66 69 6c 65 |erent st|yle file|
|00001180| 73 2c 20 69 66 20 79 6f | 75 20 68 61 76 65 20 61 |s, if yo|u have a|
|00001190| 63 63 65 73 73 20 74 6f | 20 61 20 43 20 70 72 65 |ccess to| a C pre|
|000011a0| 70 72 6f 63 65 73 73 6f | 72 2e 0a 25 20 46 6f 72 |processo|r..% For|
|000011b0| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 73 74 | example|, the st|
|000011c0| 61 6e 64 61 72 64 20 73 | 74 79 6c 65 73 20 77 65 |andard s|tyles we|
|000011d0| 72 65 20 6d 61 64 65 20 | 62 79 20 64 6f 69 6e 67 |re made |by doing|
|000011e0| 20 73 6f 6d 65 74 68 69 | 6e 67 20 6c 69 6b 65 0a | somethi|ng like.|
|000011f0| 25 20 20 20 20 20 20 20 | 63 70 70 20 2d 50 20 2d |% |cpp -P -|
|00001200| 44 50 4c 41 49 4e 20 62 | 74 78 62 73 74 2e 64 6f |DPLAIN b|txbst.do|
|00001210| 63 20 70 6c 61 69 6e 2e | 74 78 74 0a 25 20 20 20 |c plain.|txt.% |
|00001220| 20 20 20 20 63 70 70 20 | 2d 50 20 2d 44 55 4e 53 | cpp |-P -DUNS|
|00001230| 52 54 20 62 74 78 62 73 | 74 2e 64 6f 63 20 75 6e |RT btxbs|t.doc un|
|00001240| 73 72 74 2e 74 78 74 0a | 25 20 20 20 20 20 20 20 |srt.txt.|% |
|00001250| 63 70 70 20 2d 50 20 2d | 44 41 4c 50 48 41 20 62 |cpp -P -|DALPHA b|
|00001260| 74 78 62 73 74 2e 64 6f | 63 20 61 6c 70 68 61 2e |txbst.do|c alpha.|
|00001270| 74 78 74 0a 25 20 20 20 | 20 20 20 20 63 70 70 20 |txt.% | cpp |
|00001280| 2d 50 20 2d 44 41 42 42 | 52 56 20 62 74 78 62 73 |-P -DABB|RV btxbs|
|00001290| 74 2e 64 6f 63 20 61 62 | 62 72 76 2e 74 78 74 0a |t.doc ab|brv.txt.|
|000012a0| 25 20 61 6e 64 20 74 68 | 65 6e 20 72 65 6e 61 6d |% and th|en renam|
|000012b0| 69 6e 67 20 61 66 74 65 | 72 20 72 65 6d 6f 76 69 |ing afte|r removi|
|000012c0| 6e 67 20 75 6e 77 61 6e | 74 65 64 20 63 6f 6d 6d |ng unwan|ted comm|
|000012d0| 65 6e 74 73 20 61 6e 64 | 20 62 6c 61 6e 6b 20 6c |ents and| blank l|
|000012e0| 69 6e 65 73 2e 0a 25 20 | 49 66 20 79 6f 75 20 64 |ines..% |If you d|
|000012f0| 6f 6e 27 74 20 68 61 76 | 65 20 61 63 63 65 73 73 |on't hav|e access|
|00001300| 2c 0a 25 20 79 6f 75 20 | 63 61 6e 20 65 64 69 74 |,.% you |can edit|
|00001310| 20 74 68 69 73 20 66 69 | 6c 65 20 62 79 20 68 61 | this fi|le by ha|
|00001320| 6e 64 20 74 6f 20 69 6d | 69 74 61 74 65 20 74 68 |nd to im|itate th|
|00001330| 65 20 70 72 65 70 72 6f | 63 65 73 73 6f 72 2c 0a |e prepro|cessor,.|
|00001340| 25 20 77 69 74 68 20 74 | 68 65 20 66 6f 6c 6c 6f |% with t|he follo|
|00001350| 77 69 6e 67 20 65 78 70 | 6c 61 6e 61 74 69 6f 6e |wing exp|lanation|
|00001360| 20 6f 66 20 74 68 65 20 | 43 20 70 72 65 70 72 6f | of the |C prepro|
|00001370| 63 65 73 73 6f 72 20 63 | 6f 6e 73 74 72 75 63 74 |cessor c|onstruct|
|00001380| 73 20 75 73 65 64 20 68 | 65 72 65 2e 0a 25 0a 25 |s used h|ere..%.%|
|00001390| 20 54 68 65 20 6f 75 74 | 70 75 74 20 6f 66 20 74 | The out|put of t|
|000013a0| 68 65 20 70 72 65 70 72 | 6f 63 65 73 73 6f 72 20 |he prepr|ocessor |
|000013b0| 69 73 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 74 |is the s|ame as t|
|000013c0| 68 65 20 69 6e 70 75 74 | 2c 20 65 78 63 65 70 74 |he input|, except|
|000013d0| 20 74 68 61 74 20 63 65 | 72 74 61 69 6e 0a 25 20 | that ce|rtain.% |
|000013e0| 6c 69 6e 65 73 20 77 69 | 6c 6c 20 62 65 20 65 78 |lines wi|ll be ex|
|000013f0| 63 6c 75 64 65 64 20 28 | 61 6e 64 20 73 6f 6d 65 |cluded (|and some|
|00001400| 20 62 6c 61 6e 6b 20 6c | 69 6e 65 73 20 77 69 6c | blank l|ines wil|
|00001410| 6c 20 62 65 20 61 64 64 | 65 64 29 2e 20 20 54 68 |l be add|ed). Th|
|00001420| 65 20 73 65 71 75 65 6e | 63 65 0a 25 20 20 20 20 |e sequen|ce.% |
|00001430| 20 20 20 23 69 66 20 56 | 41 52 0a 25 20 20 20 20 | #if V|AR.% |
|00001440| 20 20 20 20 20 20 20 6c | 69 6e 65 73 20 74 6f 20 | l|ines to |
|00001450| 62 65 20 69 6e 63 6c 75 | 64 65 64 20 77 68 65 6e |be inclu|ded when|
|00001460| 20 56 41 52 20 69 73 20 | 6e 6f 74 20 7a 65 72 6f | VAR is |not zero|
|00001470| 0a 25 20 20 20 20 20 20 | 20 23 65 6c 73 65 0a 25 |.% | #else.%|
|00001480| 20 20 20 20 20 20 20 20 | 20 20 20 6c 69 6e 65 73 | | lines|
|00001490| 20 74 6f 20 62 65 20 69 | 6e 63 6c 75 64 65 64 20 | to be i|ncluded |
|000014a0| 77 68 65 6e 20 56 41 52 | 20 69 73 20 7a 65 72 6f |when VAR| is zero|
|000014b0| 0a 25 20 20 20 20 20 20 | 20 23 65 6e 64 69 66 0a |.% | #endif.|
|000014c0| 25 20 28 77 69 74 68 20 | 74 68 65 20 23 2d 73 69 |% (with |the #-si|
|000014d0| 67 6e 73 20 61 70 70 65 | 61 72 69 6e 67 20 69 6e |gns appe|aring in|
|000014e0| 20 63 6f 6c 75 6d 6e 20 | 31 29 20 6d 65 61 6e 73 | column |1) means|
|000014f0| 20 74 68 61 74 20 6f 6e | 65 20 73 65 74 20 6f 72 | that on|e set or|
|00001500| 20 74 68 65 20 6f 74 68 | 65 72 20 6f 66 0a 25 20 | the oth|er of.% |
|00001510| 74 68 65 20 6c 69 6e 65 | 73 20 61 72 65 20 74 6f |the line|s are to|
|00001520| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 64 65 70 | be incl|uded dep|
|00001530| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 76 61 |ending o|n the va|
|00001540| 6c 75 65 20 6f 66 20 56 | 41 52 2e 0a 25 20 54 68 |lue of V|AR..% Th|
|00001550| 65 20 23 65 6c 73 65 20 | 70 61 72 74 20 69 73 20 |e #else |part is |
|00001560| 6f 70 74 69 6f 6e 61 6c | 2e 20 20 43 6f 6d 6d 65 |optional|. Comme|
|00001570| 6e 74 73 20 63 61 6e 20 | 62 65 20 61 64 64 65 64 |nts can |be added|
|00001580| 20 61 66 74 65 72 20 23 | 65 6c 73 65 20 61 6e 64 | after #|else and|
|00001590| 20 23 65 6e 64 69 66 2e | 0a 25 20 56 61 72 69 61 | #endif.|.% Varia|
|000015a0| 62 6c 65 73 20 63 61 6e | 20 62 65 20 73 65 74 20 |bles can| be set |
|000015b0| 62 79 0a 25 20 20 20 20 | 20 20 20 23 64 65 66 69 |by.% | #defi|
|000015c0| 6e 65 20 56 41 52 20 76 | 61 6c 75 65 0a 25 20 61 |ne VAR v|alue.% a|
|000015d0| 6e 64 20 6f 6e 65 20 63 | 61 6e 20 61 6c 73 6f 20 |nd one c|an also |
|000015e0| 75 73 65 20 23 69 66 64 | 65 66 20 56 41 52 20 74 |use #ifd|ef VAR t|
|000015f0| 6f 20 73 65 65 20 69 66 | 20 56 41 52 20 68 61 73 |o see if| VAR has|
|00001600| 20 61 6e 79 20 76 61 6c | 75 65 2c 20 61 6e 64 20 | any val|ue, and |
|00001610| 23 69 66 6e 64 65 66 0a | 25 20 74 6f 20 73 65 65 |#ifndef.|% to see|
|00001620| 20 69 66 20 69 74 20 68 | 61 73 20 6e 6f 6e 65 2e | if it h|as none.|
|00001630| 0a 25 20 41 6e 6f 74 68 | 65 72 20 23 69 66 20 66 |.% Anoth|er #if f|
|00001640| 6f 72 6d 20 75 73 65 64 | 20 69 6e 20 74 68 69 73 |orm used| in this|
|00001650| 20 66 69 6c 65 20 69 73 | 20 23 69 66 20 21 56 41 | file is| #if !VA|
|00001660| 52 2c 20 77 68 69 63 68 | 20 69 6e 63 6c 75 64 65 |R, which| include|
|00001670| 73 20 74 68 65 20 6c 69 | 6e 65 73 0a 25 20 61 66 |s the li|nes.% af|
|00001680| 74 65 72 20 74 68 65 20 | 23 69 66 20 6f 6e 6c 79 |ter the |#if only|
|00001690| 20 69 66 20 56 41 52 20 | 69 73 20 7a 65 72 6f 2e | if VAR |is zero.|
|000016a0| 0a 25 0a 25 20 43 6f 6e | 76 65 6e 74 69 6f 6e 3a |.%.% Con|vention:|
|000016b0| 20 55 73 65 20 61 6c 6c | 20 75 70 70 65 72 63 61 | Use all| upperca|
|000016c0| 73 65 20 69 64 65 6e 74 | 69 66 69 65 72 73 20 66 |se ident|ifiers f|
|000016d0| 6f 72 20 74 68 65 73 65 | 20 70 72 65 70 72 6f 63 |or these| preproc|
|000016e0| 65 73 73 6f 72 20 76 61 | 72 69 61 62 6c 65 73 0a |essor va|riables.|
|000016f0| 25 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 73 70 6f |% so you| can spo|
|00001700| 74 20 74 68 65 6d 20 65 | 61 73 69 6c 79 0a 25 0a |t them e|asily.%.|
|00001710| 25 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |% The co|mmand li|
|00001720| 6e 65 20 74 6f 20 74 68 | 65 20 70 72 65 70 72 6f |ne to th|e prepro|
|00001730| 63 65 73 73 6f 72 20 73 | 68 6f 75 6c 64 20 64 65 |cessor s|hould de|
|00001740| 66 69 6e 65 20 6f 6e 65 | 20 6f 66 20 50 4c 41 49 |fine one| of PLAI|
|00001750| 4e 2c 20 55 4e 53 52 54 | 2c 20 41 4c 50 48 41 0a |N, UNSRT|, ALPHA.|
|00001760| 25 20 6f 72 20 41 42 42 | 52 56 20 28 74 68 6f 75 |% or ABB|RV (thou|
|00001770| 67 68 20 50 4c 41 49 4e | 20 77 69 6c 6c 20 62 65 |gh PLAIN| will be|
|00001780| 20 75 73 65 64 20 62 79 | 20 64 65 66 61 75 6c 74 | used by| default|
|00001790| 20 69 66 20 6e 6f 6e 65 | 20 69 73 20 67 69 76 65 | if none| is give|
|000017a0| 6e 29 2c 0a 25 20 61 6e | 64 20 74 68 65 20 66 6f |n),.% an|d the fo|
|000017b0| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 73 20 77 69 |llowing |lines wi|
|000017c0| 6c 6c 20 73 65 74 20 76 | 61 72 69 6f 75 73 20 62 |ll set v|arious b|
|000017d0| 6f 6f 6c 65 61 6e 20 76 | 61 72 69 61 62 6c 65 73 |oolean v|ariables|
|000017e0| 20 74 6f 20 63 6f 6e 74 | 72 6f 6c 20 74 68 65 0a | to cont|rol the.|
|000017f0| 25 20 76 61 72 69 6f 75 | 73 20 6c 69 6e 65 73 20 |% variou|s lines |
|00001800| 74 68 61 74 20 61 72 65 | 20 63 68 6f 73 65 6e 20 |that are| chosen |
|00001810| 66 72 6f 6d 20 74 68 65 | 20 72 65 73 74 20 6f 66 |from the| rest of|
|00001820| 20 74 68 65 20 66 69 6c | 65 2e 0a 25 20 45 61 63 | the fil|e..% Eac|
|00001830| 68 20 62 6f 6f 6c 65 61 | 6e 20 76 61 72 69 61 62 |h boolea|n variab|
|00001840| 6c 65 20 73 68 6f 75 6c | 64 20 62 65 20 73 65 74 |le shoul|d be set|
|00001850| 20 74 72 75 65 20 28 31 | 29 20 6f 72 20 66 61 6c | true (1|) or fal|
|00001860| 73 65 20 28 30 29 20 69 | 6e 20 65 61 63 68 20 73 |se (0) i|n each s|
|00001870| 74 79 6c 65 2e 0a 25 20 | 48 65 72 65 20 61 72 65 |tyle..% |Here are|
|00001880| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 76 61 72 | the cur|rent var|
|00001890| 69 61 62 6c 65 73 2c 20 | 61 6e 64 20 74 68 65 69 |iables, |and thei|
|000018a0| 72 20 6d 65 61 6e 69 6e | 67 73 3a 0a 25 20 20 20 |r meanin|gs:.% |
|000018b0| 20 20 20 20 4c 41 42 5f | 41 4c 50 48 3a 20 20 20 | LAB_|ALPH: |
|000018c0| 20 20 20 20 61 6e 20 61 | 6c 70 68 61 62 65 74 69 | an a|lphabeti|
|000018d0| 63 20 6c 61 62 65 6c 20 | 69 73 20 75 73 65 64 20 |c label |is used |
|000018e0| 28 69 66 20 66 61 6c 73 | 65 20 74 68 65 6e 20 61 |(if fals|e then a|
|000018f0| 20 6e 75 6d 65 72 69 63 | 0a 25 20 20 20 20 20 20 | numeric|.% |
|00001900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001910| 20 20 20 20 20 6c 61 62 | 65 6c 20 69 73 20 75 73 | lab|el is us|
|00001920| 65 64 29 0a 25 20 20 20 | 20 20 20 20 53 4f 52 54 |ed).% | SORT|
|00001930| 45 44 3a 20 20 20 20 20 | 20 20 20 20 74 68 65 20 |ED: | the |
|00001940| 65 6e 74 72 69 65 73 20 | 73 68 6f 75 6c 64 20 62 |entries |should b|
|00001950| 65 20 73 6f 72 74 65 64 | 20 62 79 20 6c 61 62 65 |e sorted| by labe|
|00001960| 6c 20 28 69 66 20 6e 6f | 6e 6e 75 6d 65 72 69 63 |l (if no|nnumeric|
|00001970| 29 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).% | |
|00001980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 6e | | an|
|00001990| 64 20 6f 74 68 65 72 20 | 69 6e 66 6f 2c 20 6c 69 |d other |info, li|
|000019a0| 6b 65 20 61 75 74 68 6f | 72 73 20 28 69 66 20 66 |ke autho|rs (if f|
|000019b0| 61 6c 73 65 2c 20 74 68 | 65 6e 0a 25 20 20 20 20 |alse, th|en.% |
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019d0| 20 20 20 20 20 20 20 65 | 6e 74 72 69 65 73 20 72 | e|ntries r|
|000019e0| 65 6d 61 69 6e 20 69 6e | 20 6f 72 64 65 72 20 6f |emain in| order o|
|000019f0| 66 20 6f 63 63 75 72 72 | 65 6e 63 65 29 0a 25 20 |f occurr|ence).% |
|00001a00| 20 20 20 20 20 20 4e 41 | 4d 45 5f 46 55 4c 4c 3a | NA|ME_FULL:|
|00001a10| 20 20 20 20 20 20 74 68 | 65 20 61 75 74 68 6f 72 | th|e author|
|00001a20| 73 2c 20 65 64 69 74 6f | 72 73 2c 20 65 74 63 2e |s, edito|rs, etc.|
|00001a30| 2c 20 67 65 74 20 74 68 | 65 20 66 75 6c 6c 20 6e |, get th|e full n|
|00001a40| 61 6d 65 73 20 61 73 0a | 25 20 20 20 20 20 20 20 |ames as.|% |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a60| 20 20 20 20 67 69 76 65 | 6e 20 69 6e 20 74 68 65 | give|n in the|
|00001a70| 20 62 69 62 6c 69 6f 67 | 72 61 70 68 79 20 66 69 | bibliog|raphy fi|
|00001a80| 6c 65 20 28 69 66 20 66 | 61 6c 73 65 2c 20 74 68 |le (if f|alse, th|
|00001a90| 65 20 66 69 72 73 74 0a | 25 20 20 20 20 20 20 20 |e first.|% |
|00001aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ab0| 20 20 20 20 6e 61 6d 65 | 73 20 62 65 63 6f 6d 65 | name|s become|
|00001ac0| 20 69 6e 69 74 69 61 6c | 73 29 0a 25 20 20 20 20 | initial|s).% |
|00001ad0| 20 20 20 41 54 49 54 5f | 4c 4f 57 45 52 3a 20 20 | ATIT_|LOWER: |
|00001ae0| 20 20 20 74 69 74 6c 65 | 73 20 6f 66 20 6e 6f 6e | title|s of non|
|00001af0| 2d 22 62 6f 6f 6b 73 22 | 20 28 65 2e 67 2e 2c 20 |-"books"| (e.g., |
|00001b00| 61 72 74 69 63 6c 65 73 | 29 20 73 68 6f 75 6c 64 |articles|) should|
|00001b10| 20 62 65 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | be.% | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b30| 63 6f 6e 76 65 72 74 65 | 64 20 74 6f 20 6c 6f 77 |converte|d to low|
|00001b40| 65 72 2d 63 61 73 65 2c | 20 65 78 63 65 70 74 20 |er-case,| except |
|00001b50| 74 68 65 20 66 69 72 73 | 74 20 6c 65 74 74 65 72 |the firs|t letter|
|00001b60| 20 6f 72 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | or.% | |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b80| 66 69 72 73 74 20 6c 65 | 74 74 65 72 20 61 66 74 |first le|tter aft|
|00001b90| 65 72 20 61 20 63 6f 6c | 6f 6e 0a 25 20 20 20 20 |er a col|on.% |
|00001ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bb0| 20 20 20 20 20 20 20 28 | 69 66 20 66 61 6c 73 65 | (|if false|
|00001bc0| 20 74 68 65 6e 20 74 68 | 65 79 20 61 70 70 65 61 | then th|ey appea|
|00001bd0| 72 20 61 73 20 69 6e 20 | 74 68 65 20 64 61 74 61 |r as in |the data|
|00001be0| 62 61 73 65 29 0a 25 20 | 20 20 20 20 20 20 4d 4f |base).% | MO|
|00001bf0| 4e 54 48 5f 46 55 4c 4c | 3a 20 20 20 20 20 6d 6f |NTH_FULL|: mo|
|00001c00| 6e 74 68 73 20 61 72 65 | 20 73 70 65 6c 6c 65 64 |nths are| spelled|
|00001c10| 20 6f 75 74 20 69 6e 20 | 66 75 6c 6c 20 28 69 66 | out in |full (if|
|00001c20| 20 66 61 6c 73 65 2c 20 | 74 68 65 6e 0a 25 20 20 | false, |then.% |
|00001c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c40| 20 20 20 20 20 20 20 20 | 20 74 68 65 79 27 72 65 | | they're|
|00001c50| 20 61 62 62 72 65 76 69 | 61 74 65 64 29 0a 25 20 | abbrevi|ated).% |
|00001c60| 20 20 20 20 20 20 4a 4f | 55 52 5f 46 55 4c 4c 3a | JO|UR_FULL:|
|00001c70| 20 20 20 20 20 20 6d 61 | 63 72 6f 20 6a 6f 75 72 | ma|cro jour|
|00001c80| 6e 61 6c 20 6e 61 6d 65 | 73 20 61 72 65 20 73 70 |nal name|s are sp|
|00001c90| 65 6c 6c 65 64 20 6f 75 | 74 20 69 6e 20 66 75 6c |elled ou|t in ful|
|00001ca0| 6c 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l.% | |
|00001cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 69 | | (i|
|00001cc0| 66 20 66 61 6c 73 65 20 | 74 68 65 6e 20 74 68 65 |f false |then the|
|00001cd0| 79 20 61 72 65 20 61 62 | 62 72 65 76 69 61 74 65 |y are ab|breviate|
|00001ce0| 64 2c 20 63 75 72 72 65 | 6e 74 6c 79 0a 25 20 20 |d, curre|ntly.% |
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d00| 20 20 20 20 20 20 20 20 | 20 61 73 20 74 68 65 79 | | as they|
|00001d10| 20 61 70 70 65 61 72 20 | 69 6e 20 41 43 4d 20 70 | appear |in ACM p|
|00001d20| 75 62 6c 69 63 61 74 69 | 6f 6e 73 29 0a 23 69 66 |ublicati|ons).#if|
|00001d30| 6e 64 65 66 20 55 4e 53 | 52 54 0a 23 20 20 20 69 |ndef UNS|RT.# i|
|00001d40| 66 6e 64 65 66 20 41 4c | 50 48 41 0a 23 20 20 20 |fndef AL|PHA.# |
|00001d50| 20 20 20 20 69 66 6e 64 | 65 66 20 41 42 42 52 56 | ifnd|ef ABBRV|
|00001d60| 0a 23 20 20 20 20 20 20 | 20 20 20 20 20 64 65 66 |.# | def|
|00001d70| 69 6e 65 20 50 4c 41 49 | 4e 20 31 0a 23 20 20 20 |ine PLAI|N 1.# |
|00001d80| 20 20 20 20 65 6e 64 69 | 66 0a 23 20 20 20 65 6e | endi|f.# en|
|00001d90| 64 69 66 0a 23 65 6e 64 | 69 66 0a 23 69 66 64 65 |dif.#end|if.#ifde|
|00001da0| 66 20 50 4c 41 49 4e 0a | 25 20 70 6c 61 69 6e 20 |f PLAIN.|% plain |
|00001db0| 73 74 79 6c 65 20 28 73 | 6f 72 74 65 64 20 6e 75 |style (s|orted nu|
|00001dc0| 6d 62 65 72 73 29 0a 23 | 20 20 20 64 65 66 69 6e |mbers).#| defin|
|00001dd0| 65 20 4c 41 42 5f 41 4c | 50 48 20 30 0a 23 20 20 |e LAB_AL|PH 0.# |
|00001de0| 20 64 65 66 69 6e 65 20 | 53 4f 52 54 45 44 20 31 | define |SORTED 1|
|00001df0| 0a 23 20 20 20 64 65 66 | 69 6e 65 20 4e 41 4d 45 |.# def|ine NAME|
|00001e00| 5f 46 55 4c 4c 20 31 0a | 23 20 20 20 64 65 66 69 |_FULL 1.|# defi|
|00001e10| 6e 65 20 41 54 49 54 5f | 4c 4f 57 45 52 20 31 0a |ne ATIT_|LOWER 1.|
|00001e20| 23 20 20 20 64 65 66 69 | 6e 65 20 4d 4f 4e 54 48 |# defi|ne MONTH|
|00001e30| 5f 46 55 4c 4c 20 31 0a | 23 20 20 20 64 65 66 69 |_FULL 1.|# defi|
|00001e40| 6e 65 20 4a 4f 55 52 5f | 46 55 4c 4c 20 31 0a 23 |ne JOUR_|FULL 1.#|
|00001e50| 65 6e 64 69 66 0a 23 69 | 66 64 65 66 20 55 4e 53 |endif.#i|fdef UNS|
|00001e60| 52 54 0a 25 20 75 6e 73 | 72 74 20 73 74 79 6c 65 |RT.% uns|rt style|
|00001e70| 20 28 75 6e 73 6f 72 74 | 65 64 20 6e 75 6d 62 65 | (unsort|ed numbe|
|00001e80| 72 73 29 0a 23 20 20 20 | 64 65 66 69 6e 65 20 4c |rs).# |define L|
|00001e90| 41 42 5f 41 4c 50 48 20 | 30 0a 23 20 20 20 64 65 |AB_ALPH |0.# de|
|00001ea0| 66 69 6e 65 20 53 4f 52 | 54 45 44 20 30 0a 23 20 |fine SOR|TED 0.# |
|00001eb0| 20 20 64 65 66 69 6e 65 | 20 4e 41 4d 45 5f 46 55 | define| NAME_FU|
|00001ec0| 4c 4c 20 31 0a 23 20 20 | 20 64 65 66 69 6e 65 20 |LL 1.# | define |
|00001ed0| 41 54 49 54 5f 4c 4f 57 | 45 52 20 31 0a 23 20 20 |ATIT_LOW|ER 1.# |
|00001ee0| 20 64 65 66 69 6e 65 20 | 4d 4f 4e 54 48 5f 46 55 | define |MONTH_FU|
|00001ef0| 4c 4c 20 31 0a 23 20 20 | 20 64 65 66 69 6e 65 20 |LL 1.# | define |
|00001f00| 4a 4f 55 52 5f 46 55 4c | 4c 20 31 0a 23 65 6e 64 |JOUR_FUL|L 1.#end|
|00001f10| 69 66 0a 23 69 66 64 65 | 66 20 41 4c 50 48 41 0a |if.#ifde|f ALPHA.|
|00001f20| 25 20 61 6c 70 68 61 20 | 73 74 79 6c 65 20 28 73 |% alpha |style (s|
|00001f30| 6f 72 74 65 64 20 73 68 | 6f 72 74 20 61 6c 70 68 |orted sh|ort alph|
|00001f40| 61 62 65 74 69 63 73 29 | 0a 23 20 20 20 64 65 66 |abetics)|.# def|
|00001f50| 69 6e 65 20 4c 41 42 5f | 41 4c 50 48 20 31 0a 23 |ine LAB_|ALPH 1.#|
|00001f60| 20 20 20 64 65 66 69 6e | 65 20 53 4f 52 54 45 44 | defin|e SORTED|
|00001f70| 20 31 0a 23 20 20 20 64 | 65 66 69 6e 65 20 4e 41 | 1.# d|efine NA|
|00001f80| 4d 45 5f 46 55 4c 4c 20 | 31 0a 23 20 20 20 64 65 |ME_FULL |1.# de|
|00001f90| 66 69 6e 65 20 41 54 49 | 54 5f 4c 4f 57 45 52 20 |fine ATI|T_LOWER |
|00001fa0| 31 0a 23 20 20 20 64 65 | 66 69 6e 65 20 4d 4f 4e |1.# de|fine MON|
|00001fb0| 54 48 5f 46 55 4c 4c 20 | 31 0a 23 20 20 20 64 65 |TH_FULL |1.# de|
|00001fc0| 66 69 6e 65 20 4a 4f 55 | 52 5f 46 55 4c 4c 20 31 |fine JOU|R_FULL 1|
|00001fd0| 0a 23 65 6e 64 69 66 0a | 23 69 66 64 65 66 20 41 |.#endif.|#ifdef A|
|00001fe0| 42 42 52 56 0a 25 20 61 | 62 62 72 76 20 73 74 79 |BBRV.% a|bbrv sty|
|00001ff0| 6c 65 20 28 73 6f 72 74 | 65 64 20 6e 75 6d 62 65 |le (sort|ed numbe|
|00002000| 72 73 2c 20 77 69 74 68 | 20 61 62 62 72 65 76 69 |rs, with| abbrevi|
|00002010| 61 74 69 6f 6e 73 29 0a | 23 20 20 20 64 65 66 69 |ations).|# defi|
|00002020| 6e 65 20 4c 41 42 5f 41 | 4c 50 48 20 30 0a 23 20 |ne LAB_A|LPH 0.# |
|00002030| 20 20 64 65 66 69 6e 65 | 20 53 4f 52 54 45 44 20 | define| SORTED |
|00002040| 31 0a 23 20 20 20 64 65 | 66 69 6e 65 20 4e 41 4d |1.# de|fine NAM|
|00002050| 45 5f 46 55 4c 4c 20 30 | 0a 23 20 20 20 64 65 66 |E_FULL 0|.# def|
|00002060| 69 6e 65 20 41 54 49 54 | 5f 4c 4f 57 45 52 20 31 |ine ATIT|_LOWER 1|
|00002070| 0a 23 20 20 20 64 65 66 | 69 6e 65 20 4d 4f 4e 54 |.# def|ine MONT|
|00002080| 48 5f 46 55 4c 4c 20 30 | 0a 23 20 20 20 64 65 66 |H_FULL 0|.# def|
|00002090| 69 6e 65 20 4a 4f 55 52 | 5f 46 55 4c 4c 20 30 0a |ine JOUR|_FULL 0.|
|000020a0| 23 65 6e 64 69 66 0a 25 | 0a 25 20 20 20 45 6e 74 |#endif.%|.% Ent|
|000020b0| 72 79 20 66 6f 72 6d 61 | 74 74 69 6e 67 3a 20 53 |ry forma|tting: S|
|000020c0| 69 6d 69 6c 61 72 20 74 | 6f 20 74 68 61 74 20 72 |imilar t|o that r|
|000020d0| 65 63 6f 6d 6d 65 6e 64 | 65 64 20 62 79 20 4d 61 |ecommend|ed by Ma|
|000020e0| 72 79 2d 43 6c 61 69 72 | 65 20 76 61 6e 20 4c 65 |ry-Clair|e van Le|
|000020f0| 75 6e 65 6e 0a 25 20 20 | 20 20 20 20 20 69 6e 20 |unen.% | in |
|00002100| 22 41 20 48 61 6e 64 62 | 6f 6f 6b 20 66 6f 72 20 |"A Handb|ook for |
|00002110| 53 63 68 6f 6c 61 72 73 | 22 2e 20 20 42 6f 6f 6b |Scholars|". Book|
|00002120| 2d 6c 69 6b 65 20 74 69 | 74 6c 65 73 20 61 72 65 |-like ti|tles are|
|00002130| 20 69 74 61 6c 69 63 69 | 7a 65 64 0a 25 20 20 20 | italici|zed.% |
|00002140| 20 20 20 20 28 65 6d 70 | 68 61 73 69 7a 65 64 29 | (emp|hasized)|
|00002150| 20 61 6e 64 20 6e 6f 6e | 2d 62 6f 6f 6b 20 74 69 | and non|-book ti|
|00002160| 74 6c 65 73 20 61 72 65 | 20 63 6f 6e 76 65 72 74 |tles are| convert|
|00002170| 65 64 20 74 6f 20 73 65 | 6e 74 65 6e 63 65 0a 25 |ed to se|ntence.%|
|00002180| 20 20 20 20 20 20 20 63 | 61 70 69 74 69 6c 69 7a | c|apitiliz|
|00002190| 61 74 69 6f 6e 20 28 61 | 6e 64 20 6e 6f 74 20 65 |ation (a|nd not e|
|000021a0| 6e 63 6c 6f 73 65 64 20 | 69 6e 20 71 75 6f 74 65 |nclosed |in quote|
|000021b0| 73 29 2e 0a 25 20 20 20 | 20 20 20 20 54 68 69 73 |s)..% | This|
|000021c0| 20 66 69 6c 65 20 6f 75 | 74 70 75 74 73 20 61 20 | file ou|tputs a |
|000021d0| 5c 6e 65 77 62 6c 6f 63 | 6b 20 62 65 74 77 65 65 |\newbloc|k betwee|
|000021e0| 6e 20 6d 61 6a 6f 72 20 | 62 6c 6f 63 6b 73 20 6f |n major |blocks o|
|000021f0| 66 20 61 6e 20 65 6e 74 | 72 79 0a 25 20 20 20 20 |f an ent|ry.% |
|00002200| 20 20 20 28 74 68 65 20 | 6e 61 6d 65 20 5c 6e 65 | (the |name \ne|
|00002210| 77 62 6c 6f 63 6b 20 69 | 73 20 61 6e 61 6c 6f 67 |wblock i|s analog|
|00002220| 6f 75 73 20 74 6f 20 74 | 68 65 20 6e 61 6d 65 73 |ous to t|he names|
|00002230| 20 5c 6e 65 77 6c 69 6e | 65 20 61 6e 64 20 5c 6e | \newlin|e and \n|
|00002240| 65 77 70 61 67 65 29 0a | 25 20 20 20 20 20 20 20 |ewpage).|% |
|00002250| 73 6f 20 74 68 61 74 20 | 74 68 65 20 75 73 65 72 |so that |the user|
|00002260| 20 63 61 6e 20 6f 62 74 | 61 69 6e 20 61 6e 20 22 | can obt|ain an "|
|00002270| 6f 70 65 6e 22 20 66 6f | 72 6d 61 74 2c 20 77 68 |open" fo|rmat, wh|
|00002280| 69 63 68 20 68 61 73 20 | 61 20 6c 69 6e 65 20 62 |ich has |a line b|
|00002290| 72 65 61 6b 0a 25 20 20 | 20 20 20 20 20 62 65 66 |reak.% | bef|
|000022a0| 6f 72 65 20 65 61 63 68 | 20 62 6c 6f 63 6b 20 61 |ore each| block a|
|000022b0| 6e 64 20 6c 69 6e 65 73 | 20 61 66 74 65 72 20 74 |nd lines| after t|
|000022c0| 68 65 20 66 69 72 73 74 | 20 61 72 65 20 69 6e 64 |he first| are ind|
|000022d0| 65 6e 74 65 64 20 77 69 | 74 68 69 6e 20 62 6c 6f |ented wi|thin blo|
|000022e0| 63 6b 73 2c 0a 25 20 20 | 20 20 20 20 20 62 79 20 |cks,.% | by |
|000022f0| 67 69 76 69 6e 67 20 74 | 68 65 20 6f 70 74 69 6f |giving t|he optio|
|00002300| 6e 61 6c 20 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 |nal \doc|umentsty|
|00002310| 6c 65 20 61 72 67 75 6d | 65 6e 74 20 60 6f 70 65 |le argum|ent `ope|
|00002320| 6e 62 69 62 27 3b 0a 25 | 20 20 20 20 20 20 20 54 |nbib';.%| T|
|00002330| 68 65 20 64 65 66 61 75 | 6c 74 20 69 73 20 74 68 |he defau|lt is th|
|00002340| 65 20 22 63 6c 6f 73 65 | 64 22 20 66 6f 72 6d 61 |e "close|d" forma|
|00002350| 74 2d 2d 2d 62 6c 6f 63 | 6b 73 20 72 75 6e 73 20 |t---bloc|ks runs |
|00002360| 74 6f 67 65 74 68 65 72 | 2e 0a 25 0a 25 20 20 20 |together|..%.% |
|00002370| 43 69 74 61 74 69 6f 6e | 20 61 6c 70 68 61 62 65 |Citation| alphabe|
|00002380| 74 69 63 20 6c 61 62 65 | 6c 20 66 6f 72 6d 61 74 |tic labe|l format|
|00002390| 3a 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:.% | |
|000023a0| 20 20 5b 4b 6e 75 37 33 | 5d 20 66 6f 72 20 73 69 | [Knu73|] for si|
|000023b0| 6e 67 6c 65 20 61 75 74 | 68 6f 72 20 28 6f 72 20 |ngle aut|hor (or |
|000023c0| 65 64 69 74 6f 72 20 6f | 72 20 6b 65 79 29 0a 25 |editor o|r key).%|
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5b | | [|
|000023e0| 41 48 55 38 33 5d 20 28 | 66 69 72 73 74 20 6c 65 |AHU83] (|first le|
|000023f0| 74 74 65 72 73 20 6f 66 | 20 6c 61 73 74 20 6e 61 |tters of| last na|
|00002400| 6d 65 73 29 20 66 6f 72 | 20 6d 75 6c 74 69 70 6c |mes) for| multipl|
|00002410| 65 20 61 75 74 68 6f 72 | 73 0a 25 0a 25 20 20 20 |e author|s.%.% |
|00002420| 43 69 74 61 74 69 6f 6e | 20 6c 61 62 65 6c 20 6e |Citation| label n|
|00002430| 75 6d 62 65 72 69 63 20 | 66 6f 72 6d 61 74 3a 0a |umberic |format:.|
|00002440| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002450| 5b 6e 75 6d 62 65 72 5d | 0a 25 0a 25 20 20 20 52 |[number]|.%.% R|
|00002460| 65 66 65 72 65 6e 63 65 | 20 6c 69 73 74 20 6f 72 |eference| list or|
|00002470| 64 65 72 69 6e 67 20 66 | 6f 72 20 73 6f 72 74 65 |dering f|or sorte|
|00002480| 64 2c 20 61 6c 70 68 61 | 62 65 74 69 63 20 6c 61 |d, alpha|betic la|
|00002490| 62 6c 65 73 3a 0a 25 20 | 20 20 20 20 20 20 20 20 |bles:.% | |
|000024a0| 20 20 20 20 20 20 61 6c | 70 68 61 62 65 74 69 63 | al|phabetic|
|000024b0| 61 6c 20 62 79 20 63 69 | 74 61 74 69 6f 6e 20 6c |al by ci|tation l|
|000024c0| 61 62 65 6c 2c 20 74 68 | 65 6e 20 62 79 20 61 75 |abel, th|en by au|
|000024d0| 74 68 6f 72 28 73 29 20 | 6f 72 20 77 68 61 74 65 |thor(s) |or whate|
|000024e0| 76 65 72 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ver.% | |
|000024f0| 20 20 20 20 70 61 73 73 | 65 73 20 66 6f 72 20 61 | pass|es for a|
|00002500| 75 74 68 6f 72 20 69 6e | 20 74 68 65 20 61 62 73 |uthor in| the abs|
|00002510| 65 6e 63 65 20 6f 66 20 | 6f 6e 65 2c 20 74 68 65 |ence of |one, the|
|00002520| 6e 20 62 79 20 79 65 61 | 72 2c 0a 25 20 20 20 20 |n by yea|r,.% |
|00002530| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 6e 20 | | then |
|00002540| 74 69 74 6c 65 0a 25 0a | 25 20 20 20 52 65 66 65 |title.%.|% Refe|
|00002550| 72 65 6e 63 65 20 6c 69 | 73 74 20 6f 72 64 65 72 |rence li|st order|
|00002560| 69 6e 67 20 66 6f 72 20 | 73 6f 72 74 65 64 2c 20 |ing for |sorted, |
|00002570| 6e 75 6d 65 72 69 63 20 | 6c 61 62 6c 65 73 3a 0a |numeric |lables:.|
|00002580| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002590| 61 6c 70 68 61 62 65 74 | 69 63 61 6c 20 62 79 20 |alphabet|ical by |
|000025a0| 61 75 74 68 6f 72 28 73 | 29 20 6f 72 20 77 68 61 |author(s|) or wha|
|000025b0| 74 65 76 65 72 20 70 61 | 73 73 65 73 0a 25 20 20 |tever pa|sses.% |
|000025c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 6f 72 | | for|
|000025d0| 20 61 75 74 68 6f 72 20 | 69 6e 20 74 68 65 20 61 | author |in the a|
|000025e0| 62 73 65 6e 63 65 20 6f | 66 20 6f 6e 65 2c 20 74 |bsence o|f one, t|
|000025f0| 68 65 6e 20 62 79 20 79 | 65 61 72 2c 20 74 68 65 |hen by y|ear, the|
|00002600| 6e 20 74 69 74 6c 65 0a | 25 0a 25 20 20 20 52 65 |n title.|%.% Re|
|00002610| 66 65 72 65 6e 63 65 20 | 6c 69 73 74 20 6f 72 64 |ference |list ord|
|00002620| 65 72 69 6e 67 20 66 6f | 72 20 75 6e 73 6f 72 74 |ering fo|r unsort|
|00002630| 65 64 3a 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ed:.% | |
|00002640| 20 20 20 20 62 79 20 74 | 68 65 20 6f 72 64 65 72 | by t|he order|
|00002650| 20 63 69 74 65 64 20 69 | 6e 20 74 68 65 20 74 65 | cited i|n the te|
|00002660| 78 74 0a 25 0a 25 20 20 | 20 48 69 73 74 6f 72 79 |xt.%.% | History|
|00002670| 0a 25 20 20 20 31 32 2f | 31 36 2f 38 34 20 20 20 |.% 12/|16/84 |
|00002680| 20 28 48 57 54 29 20 20 | 20 4f 72 69 67 69 6e 61 | (HWT) | Origina|
|00002690| 6c 20 60 70 6c 61 69 6e | 27 20 76 65 72 73 69 6f |l `plain|' versio|
|000026a0| 6e 2c 20 62 79 20 48 6f | 77 61 72 64 20 54 72 69 |n, by Ho|ward Tri|
|000026b0| 63 6b 65 79 2e 0a 25 20 | 20 20 31 32 2f 32 33 2f |ckey..% | 12/23/|
|000026c0| 38 34 20 20 20 20 28 4c | 4c 29 20 20 20 20 53 6f |84 (L|L) So|
|000026d0| 6d 65 20 63 6f 6d 6d 65 | 6e 74 73 20 6d 61 64 65 |me comme|nts made|
|000026e0| 20 62 79 20 4c 65 73 6c | 69 65 20 4c 61 6d 70 6f | by Lesl|ie Lampo|
|000026f0| 72 74 2e 0a 25 20 20 20 | 20 32 2f 31 36 2f 38 35 |rt..% | 2/16/85|
|00002700| 20 20 20 20 28 4f 50 29 | 20 20 20 20 43 68 61 6e | (OP)| Chan|
|00002710| 67 65 73 20 62 61 73 65 | 64 20 6f 6e 20 4c 4c 27 |ges base|d on LL'|
|00002720| 73 20 63 6f 6d 6d 65 6e | 74 73 2c 20 4f 72 65 6e |s commen|ts, Oren|
|00002730| 20 50 61 74 61 73 68 6e | 69 6b 2e 0a 25 20 20 20 | Patashn|ik..% |
|00002740| 20 32 2f 31 37 2f 38 35 | 20 20 20 20 28 48 57 54 | 2/17/85| (HWT|
|00002750| 29 20 20 20 54 65 6d 70 | 6c 61 74 65 20 66 69 6c |) Temp|late fil|
|00002760| 65 20 61 6e 64 20 6f 74 | 68 65 72 20 73 74 61 6e |e and ot|her stan|
|00002770| 64 61 72 64 20 73 74 79 | 6c 65 73 20 6d 61 64 65 |dard sty|les made|
|00002780| 2e 0a 25 20 20 20 20 33 | 2f 32 38 2f 38 35 20 20 |..% 3|/28/85 |
|00002790| 20 20 28 4f 50 29 20 20 | 20 20 46 69 72 73 74 20 | (OP) | First |
|000027a0| 72 65 6c 65 61 73 65 2c | 20 76 65 72 73 69 6f 6e |release,| version|
|000027b0| 20 30 2e 39 38 62 20 66 | 6f 72 20 42 69 62 54 65 | 0.98b f|or BibTe|
|000027c0| 58 20 30 2e 39 38 66 2e | 0a 25 20 20 20 20 35 2f |X 0.98f.|.% 5/|
|000027d0| 20 39 2f 38 35 20 20 20 | 20 28 4f 50 29 20 20 20 | 9/85 | (OP) |
|000027e0| 20 56 65 72 73 69 6f 6e | 20 30 2e 39 38 63 20 66 | Version| 0.98c f|
|000027f0| 6f 72 20 42 69 62 54 65 | 58 20 30 2e 39 38 69 3a |or BibTe|X 0.98i:|
|00002800| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002810| 20 20 20 20 20 20 20 20 | 20 66 69 78 65 64 20 54 | | fixed T|
|00002820| 68 65 6f 72 65 74 69 63 | 61 6c 20 43 6f 6d 70 75 |heoretic|al Compu|
|00002830| 74 65 72 20 53 63 69 65 | 6e 63 65 20 6d 61 63 72 |ter Scie|nce macr|
|00002840| 6f 20 6e 61 6d 65 3b 0a | 25 20 20 20 20 20 20 20 |o name;.|% |
|00002850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002860| 66 69 78 65 64 20 74 68 | 65 20 66 6f 72 6d 61 74 |fixed th|e format|
|00002870| 2e 76 6f 6c 2e 6e 75 6d | 2e 70 61 67 65 73 20 66 |.vol.num|.pages f|
|00002880| 75 6e 63 74 69 6f 6e 2e | 0a 25 20 20 20 20 31 2f |unction.|.% 1/|
|00002890| 32 34 2f 38 38 20 20 20 | 20 28 4f 50 29 20 20 20 |24/88 | (OP) |
|000028a0| 20 56 65 72 73 69 6f 6e | 20 30 2e 39 39 61 20 66 | Version| 0.99a f|
|000028b0| 6f 72 20 42 69 62 54 65 | 58 20 30 2e 39 39 61 2c |or BibTe|X 0.99a,|
|000028c0| 20 6d 61 69 6e 20 63 68 | 61 6e 67 65 73 3a 0a 25 | main ch|anges:.%|
|000028d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028e0| 20 20 20 20 20 20 20 61 | 73 73 69 67 6e 6d 65 6e | a|ssignmen|
|000028f0| 74 20 6f 70 65 72 61 74 | 6f 72 20 28 3a 3d 29 20 |t operat|or (:=) |
|00002900| 61 72 67 75 6d 65 6e 74 | 73 20 72 65 76 65 72 73 |argument|s revers|
|00002910| 65 64 3b 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ed;.% | |
|00002920| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 65 20 | | the |
|00002930| 70 72 65 61 6d 62 6c 65 | 24 20 66 75 6e 63 74 69 |preamble|$ functi|
|00002940| 6f 6e 20 6f 75 74 70 75 | 74 73 20 74 68 65 20 64 |on outpu|ts the d|
|00002950| 61 74 61 62 61 73 65 20 | 50 52 45 41 4d 42 4c 45 |atabase |PREAMBLE|
|00002960| 3b 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.% | |
|00002970| 20 20 20 20 20 20 20 20 | 20 20 65 6e 74 72 79 2e | | entry.|
|00002980| 6d 61 78 24 20 61 6e 64 | 20 67 6c 6f 62 61 6c 2e |max$ and| global.|
|00002990| 6d 61 78 24 20 28 62 75 | 69 6c 74 2d 69 6e 29 20 |max$ (bu|ilt-in) |
|000029a0| 76 61 72 69 61 62 6c 65 | 73 20 72 65 70 6c 61 63 |variable|s replac|
|000029b0| 65 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.% | |
|000029c0| 20 20 20 20 20 20 20 20 | 20 20 65 6e 74 72 79 2e | | entry.|
|000029d0| 73 74 72 69 6e 67 2e 6d | 61 78 20 61 6e 64 20 67 |string.m|ax and g|
|000029e0| 6c 6f 62 61 6c 2e 73 74 | 72 69 6e 67 2e 6d 61 78 |lobal.st|ring.max|
|000029f0| 20 66 75 6e 63 74 69 6f | 6e 73 3b 0a 25 20 20 20 | functio|ns;.% |
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a10| 20 20 20 20 61 6c 70 68 | 61 62 65 74 69 7a 69 6e | alph|abetizin|
|00002a20| 67 20 62 79 20 79 65 61 | 72 20 74 68 65 6e 20 74 |g by yea|r then t|
|00002a30| 69 74 6c 65 2c 20 6e 6f | 74 20 6a 75 73 74 20 74 |itle, no|t just t|
|00002a40| 69 74 6c 65 3b 0a 25 20 | 20 20 20 20 20 20 20 20 |itle;.% | |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 61 | | ma|
|00002a60| 6e 79 20 75 6e 6e 65 63 | 65 73 73 61 72 79 20 74 |ny unnec|essary t|
|00002a70| 69 65 73 20 72 65 6d 6f | 76 65 64 3b 20 5c 69 74 |ies remo|ved; \it|
|00002a80| 20 3d 3d 3e 20 5c 65 6d | 3b 0a 25 20 20 20 20 20 | ==> \em|;.% |
|00002a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002aa0| 20 20 74 68 65 20 60 61 | 6c 70 68 61 27 20 73 74 | the `a|lpha' st|
|00002ab0| 79 6c 65 20 75 73 65 73 | 20 61 20 73 75 70 65 72 |yle uses| a super|
|00002ac0| 73 63 72 69 70 74 65 64 | 20 60 2b 27 20 69 6e 73 |scripted| `+' ins|
|00002ad0| 74 65 61 64 20 6f 66 20 | 61 0a 25 20 20 20 20 20 |tead of |a.% |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002af0| 20 20 60 2a 27 20 66 6f | 72 20 75 6e 6e 61 6d 65 | `*' fo|r unname|
|00002b00| 64 20 6e 61 6d 65 73 20 | 69 6e 20 63 6f 6e 73 74 |d names |in const|
|00002b10| 72 75 63 74 69 6e 67 20 | 74 68 65 20 6c 61 62 65 |ructing |the labe|
|00002b20| 6c 3b 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |l;.% | |
|00002b30| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 20 60 | | the `|
|00002b40| 61 62 62 72 76 27 20 73 | 74 79 6c 65 20 6e 6f 77 |abbrv' s|tyle now|
|00002b50| 20 75 73 65 73 20 22 4d | 61 72 2e 22 20 61 6e 64 | uses "M|ar." and|
|00002b60| 20 22 53 65 70 74 2e 22 | 3b 0a 25 20 20 20 20 20 | "Sept."|;.% |
|00002b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b80| 20 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 | the fu|nctions |
|00002b90| 63 61 6c 63 2e 6c 61 62 | 65 6c 20 61 6e 64 20 70 |calc.lab|el and p|
|00002ba0| 72 65 73 6f 72 74 20 6e | 6f 77 20 6c 6f 6f 6b 20 |resort n|ow look |
|00002bb0| 61 74 20 6a 75 73 74 0a | 25 20 20 20 20 20 20 20 |at just.|% |
|00002bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bd0| 74 68 65 20 66 69 65 6c | 64 73 20 74 68 65 79 27 |the fiel|ds they'|
|00002be0| 72 65 20 73 75 70 70 6f | 73 65 64 20 74 6f 3b 0a |re suppo|sed to;.|
|00002bf0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002c00| 20 20 20 20 20 20 20 20 | 42 4f 4f 4b 4c 45 54 2c | |BOOKLET,|
|00002c10| 20 4d 41 53 54 45 52 53 | 54 48 45 53 49 53 2c 20 | MASTERS|THESIS, |
|00002c20| 54 45 43 48 52 45 50 4f | 52 54 20 75 73 65 20 6e |TECHREPO|RT use n|
|00002c30| 6f 6e 62 6f 6f 6b 20 74 | 69 74 6c 65 73 3b 0a 25 |onbook t|itles;.%|
|00002c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c50| 20 20 20 20 20 20 20 49 | 4e 42 4f 4f 4b 20 61 6e | I|NBOOK an|
|00002c60| 64 20 49 4e 43 4f 4c 4c | 45 43 54 49 4f 4e 20 74 |d INCOLL|ECTION t|
|00002c70| 61 6b 65 20 61 6e 20 6f | 70 74 69 6f 6e 61 6c 20 |ake an o|ptional |
|00002c80| 74 79 70 65 20 28 65 2e | 67 2e 0a 25 20 20 20 20 |type (e.|g..% |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 20 20 74 79 70 65 20 | 3d 20 22 53 65 63 74 69 | type |= "Secti|
|00002cb0| 6f 6e 22 29 2c 20 6f 76 | 65 72 72 69 64 69 6e 67 |on"), ov|erriding|
|00002cc0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 22 63 68 | the def|ault "ch|
|00002cd0| 61 70 74 65 72 22 3b 0a | 25 20 20 20 20 20 20 20 |apter";.|% |
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cf0| 42 4f 4f 4b 2c 20 49 4e | 42 4f 4f 4b 2c 20 49 4e |BOOK, IN|BOOK, IN|
|00002d00| 43 4f 4c 4c 45 43 54 49 | 4f 4e 2c 20 61 6e 64 20 |COLLECTI|ON, and |
|00002d10| 50 52 4f 43 45 45 44 49 | 4e 47 53 20 6e 6f 77 20 |PROCEEDI|NGS now |
|00002d20| 61 6c 6c 6f 77 0a 25 20 | 20 20 20 20 20 20 20 20 |allow.% | |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 69 | | ei|
|00002d40| 74 68 65 72 20 76 6f 6c | 75 6d 65 20 6f 72 20 6e |ther vol|ume or n|
|00002d50| 75 6d 62 65 72 2c 20 6e | 6f 74 20 6a 75 73 74 20 |umber, n|ot just |
|00002d60| 76 6f 6c 75 6d 65 3b 0a | 25 20 20 20 20 20 20 20 |volume;.|% |
|00002d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d80| 49 4e 43 4f 4c 4c 45 43 | 54 49 4f 4e 20 6e 6f 77 |INCOLLEC|TION now|
|00002d90| 20 61 6c 6c 6f 77 73 20 | 61 6e 20 65 64 69 74 69 | allows |an editi|
|00002da0| 6f 6e 20 61 6e 64 20 73 | 65 72 69 65 73 20 66 69 |on and s|eries fi|
|00002db0| 65 6c 64 3b 0a 25 20 20 | 20 20 20 20 20 20 20 20 |eld;.% | |
|00002dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 52 4f | | PRO|
|00002dd0| 43 45 45 44 49 4e 47 53 | 20 61 6e 64 20 49 4e 50 |CEEDINGS| and INP|
|00002de0| 52 4f 43 45 45 44 49 4e | 47 53 20 6e 6f 77 20 75 |ROCEEDIN|GS now u|
|00002df0| 73 65 20 74 68 65 20 61 | 64 64 72 65 73 73 20 66 |se the a|ddress f|
|00002e00| 69 65 6c 64 0a 25 20 20 | 20 20 20 20 20 20 20 20 |ield.% | |
|00002e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 6f 20 | | to |
|00002e20| 74 65 6c 6c 20 77 68 65 | 72 65 20 61 20 63 6f 6e |tell whe|re a con|
|00002e30| 66 65 72 65 6e 63 65 20 | 77 61 73 20 68 65 6c 64 |ference |was held|
|00002e40| 3b 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.% | |
|00002e50| 20 20 20 20 20 20 20 20 | 20 20 49 4e 50 52 4f 43 | | INPROC|
|00002e60| 45 45 44 49 4e 47 53 20 | 61 6e 64 20 50 52 4f 43 |EEDINGS |and PROC|
|00002e70| 45 45 44 49 4e 47 53 20 | 6e 6f 77 20 61 6c 6c 6f |EEDINGS |now allo|
|00002e80| 77 20 65 69 74 68 65 72 | 20 76 6f 6c 75 6d 65 0a |w either| volume.|
|00002e90| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002ea0| 20 20 20 20 20 20 20 20 | 6f 72 20 6e 75 6d 62 65 | |or numbe|
|00002eb0| 72 2c 20 61 6e 64 20 61 | 6c 73 6f 20 61 20 73 65 |r, and a|lso a se|
|00002ec0| 72 69 65 73 20 66 69 65 | 6c 64 3b 0a 25 20 20 20 |ries fie|ld;.% |
|00002ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ee0| 20 20 20 20 4d 41 53 54 | 45 52 53 54 48 45 53 49 | MAST|ERSTHESI|
|00002ef0| 53 20 61 6e 64 20 50 48 | 44 54 48 45 53 49 53 20 |S and PH|DTHESIS |
|00002f00| 61 63 63 65 70 74 20 74 | 79 70 65 73 20 6f 74 68 |accept t|ypes oth|
|00002f10| 65 72 20 74 68 61 6e 0a | 25 20 20 20 20 20 20 20 |er than.|% |
|00002f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f30| 22 4d 61 73 74 65 72 27 | 73 20 74 68 65 73 69 73 |"Master'|s thesis|
|00002f40| 22 20 61 6e 64 20 22 50 | 68 44 20 74 68 65 73 69 |" and "P|hD thesi|
|00002f50| 73 22 3b 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |s";.% | |
|00002f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 55 4e 50 55 | | UNPU|
|00002f70| 42 4c 49 53 48 45 44 20 | 6e 6f 77 20 6f 75 74 70 |BLISHED |now outp|
|00002f80| 75 74 73 2c 20 69 6e 20 | 6f 6e 65 20 62 6c 6f 63 |uts, in |one bloc|
|00002f90| 6b 2c 20 6e 6f 74 65 20 | 74 68 65 6e 20 64 61 74 |k, note |then dat|
|00002fa0| 65 3b 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |e;.% | |
|00002fb0| 20 20 20 20 20 20 20 20 | 20 20 20 4d 41 4e 55 41 | | MANUA|
|00002fc0| 4c 20 6e 6f 77 20 70 72 | 69 6e 74 73 20 6f 75 74 |L now pr|ints out|
|00002fd0| 20 74 68 65 20 6f 72 67 | 61 6e 69 7a 61 74 69 6f | the org|anizatio|
|00002fe0| 6e 20 69 6e 0a 25 20 20 | 20 20 20 20 20 20 20 20 |n in.% | |
|00002ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 | | the|
|00003000| 20 66 69 72 73 74 20 62 | 6c 6f 63 6b 20 69 66 20 | first b|lock if |
|00003010| 74 68 65 20 61 75 74 68 | 6f 72 20 66 69 65 6c 64 |the auth|or field|
|00003020| 20 69 73 20 65 6d 70 74 | 79 3b 0a 25 20 20 20 20 | is empt|y;.% |
|00003030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003040| 20 20 20 4d 49 53 43 20 | 63 61 6e 27 74 20 62 65 | MISC |can't be|
|00003050| 20 65 6d 70 74 79 2d 2d | 2d 69 74 20 72 65 71 75 | empty--|-it requ|
|00003060| 69 72 65 73 20 73 6f 6d | 65 20 6f 70 74 69 6f 6e |ires som|e option|
|00003070| 61 6c 20 66 69 65 6c 64 | 2e 0a 25 0a 25 20 54 68 |al field|..%.% Th|
|00003080| 65 20 45 4e 54 52 59 20 | 64 65 63 6c 61 72 61 74 |e ENTRY |declarat|
|00003090| 69 6f 6e 0a 25 20 20 20 | 4c 69 6b 65 20 53 63 72 |ion.% |Like Scr|
|000030a0| 69 62 65 27 73 20 28 61 | 63 63 6f 72 64 69 6e 67 |ibe's (a|ccording|
|000030b0| 20 74 6f 20 70 61 67 65 | 73 20 32 33 31 2d 32 20 | to page|s 231-2 |
|000030c0| 6f 66 20 74 68 65 20 41 | 70 72 69 6c 20 27 38 34 |of the A|pril '84|
|000030d0| 20 65 64 69 74 69 6f 6e | 29 2c 0a 25 20 20 20 62 | edition|),.% b|
|000030e0| 75 74 20 6e 6f 20 66 75 | 6c 6c 61 75 74 68 6f 72 |ut no fu|llauthor|
|000030f0| 20 6f 72 20 65 64 69 74 | 6f 72 73 20 66 69 65 6c | or edit|ors fiel|
|00003100| 64 73 20 62 65 63 61 75 | 73 65 20 42 69 62 54 65 |ds becau|se BibTe|
|00003110| 58 20 64 6f 65 73 20 6e | 61 6d 65 20 68 61 6e 64 |X does n|ame hand|
|00003120| 6c 69 6e 67 2e 0a 25 20 | 20 20 54 68 65 20 61 6e |ling..% | The an|
|00003130| 6e 6f 74 65 20 66 69 65 | 6c 64 20 69 73 20 63 6f |note fie|ld is co|
|00003140| 6d 6d 65 6e 74 65 64 20 | 6f 75 74 20 68 65 72 65 |mmented |out here|
|00003150| 20 62 65 63 61 75 73 65 | 20 74 68 69 73 20 66 61 | because| this fa|
|00003160| 6d 69 6c 79 20 64 6f 65 | 73 6e 27 74 0a 25 20 20 |mily doe|sn't.% |
|00003170| 20 69 6e 63 6c 75 64 65 | 20 61 6e 20 61 6e 6e 6f | include| an anno|
|00003180| 74 61 74 65 64 20 62 69 | 62 6c 69 6f 67 72 61 70 |tated bi|bliograp|
|00003190| 68 79 20 73 74 79 6c 65 | 2e 20 20 41 6e 64 20 69 |hy style|. And i|
|000031a0| 6e 20 61 64 64 69 74 69 | 6f 6e 20 74 6f 20 74 68 |n additi|on to th|
|000031b0| 65 20 66 69 65 6c 64 73 | 0a 25 20 20 20 6c 69 73 |e fields|.% lis|
|000031c0| 74 65 64 20 68 65 72 65 | 2c 20 42 69 62 54 65 58 |ted here|, BibTeX|
|000031d0| 20 68 61 73 20 61 20 62 | 75 69 6c 74 2d 69 6e 20 | has a b|uilt-in |
|000031e0| 63 72 6f 73 73 72 65 66 | 20 66 69 65 6c 64 2c 20 |crossref| field, |
|000031f0| 65 78 70 6c 61 69 6e 65 | 64 20 6c 61 74 65 72 2e |explaine|d later.|
|00003200| 0a 0a 45 4e 54 52 59 0a | 25 20 46 69 65 6c 64 73 |..ENTRY.|% Fields|
|00003210| 3a 0a 20 20 7b 20 61 64 | 64 72 65 73 73 0a 25 20 |:. { ad|dress.% |
|00003220| 20 20 20 20 20 20 20 20 | 20 20 55 73 75 61 6c 6c | | Usuall|
|00003230| 79 20 74 68 65 20 61 64 | 64 72 65 73 73 20 6f 66 |y the ad|dress of|
|00003240| 20 61 20 70 75 62 6c 69 | 73 68 65 72 20 6f 72 20 | a publi|sher or |
|00003250| 6f 74 68 65 72 20 74 79 | 70 65 20 6f 66 20 6f 72 |other ty|pe of or|
|00003260| 67 61 6e 69 7a 61 74 69 | 6f 6e 2e 0a 25 20 20 20 |ganizati|on..% |
|00003270| 20 20 20 20 20 20 20 20 | 50 75 74 20 69 6e 66 6f | |Put info|
|00003280| 72 6d 61 74 69 6f 6e 20 | 69 6e 20 74 68 69 73 20 |rmation |in this |
|00003290| 66 69 65 6c 64 20 6f 6e | 6c 79 20 69 66 20 69 74 |field on|ly if it|
|000032a0| 20 68 65 6c 70 73 20 74 | 68 65 20 72 65 61 64 65 | helps t|he reade|
|000032b0| 72 20 66 69 6e 64 20 74 | 68 65 0a 25 20 20 20 20 |r find t|he.% |
|000032c0| 20 20 20 20 20 20 20 74 | 68 69 6e 67 2d 2d 2d 66 | t|hing---f|
|000032d0| 6f 72 20 65 78 61 6d 70 | 6c 65 20 79 6f 75 20 73 |or examp|le you s|
|000032e0| 68 6f 75 6c 64 20 6f 6d | 69 74 20 74 68 65 20 61 |hould om|it the a|
|000032f0| 64 64 72 65 73 73 20 6f | 66 20 61 20 6d 61 6a 6f |ddress o|f a majo|
|00003300| 72 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 70 75 |r.% | pu|
|00003310| 62 6c 69 73 68 65 72 20 | 65 6e 74 69 72 65 6c 79 |blisher |entirely|
|00003320| 2e 20 20 46 6f 72 20 61 | 20 50 52 4f 43 45 45 44 |. For a| PROCEED|
|00003330| 49 4e 47 53 20 6f 72 20 | 61 6e 20 49 4e 50 52 4f |INGS or |an INPRO|
|00003340| 43 45 45 44 49 4e 47 53 | 2c 0a 25 20 20 20 20 20 |CEEDINGS|,.% |
|00003350| 20 20 20 20 20 20 68 6f | 77 65 76 65 72 2c 20 69 | ho|wever, i|
|00003360| 74 27 73 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |t's the |address |
|00003370| 6f 66 20 74 68 65 20 63 | 6f 6e 66 65 72 65 6e 63 |of the c|onferenc|
|00003380| 65 3b 20 66 6f 72 20 74 | 68 6f 73 65 20 74 77 6f |e; for t|hose two|
|00003390| 20 65 6e 74 72 79 0a 25 | 20 20 20 20 20 20 20 20 | entry.%| |
|000033a0| 20 20 20 74 79 70 65 73 | 2c 20 69 6e 63 6c 75 64 | types|, includ|
|000033b0| 65 20 74 68 65 20 70 75 | 62 6c 69 73 68 65 72 27 |e the pu|blisher'|
|000033c0| 73 20 6f 72 20 6f 72 67 | 61 6e 69 7a 61 74 69 6f |s or org|anizatio|
|000033d0| 6e 27 73 20 61 64 64 72 | 65 73 73 2c 20 69 66 0a |n's addr|ess, if.|
|000033e0| 25 20 20 20 20 20 20 20 | 20 20 20 20 6e 65 63 65 |% | nece|
|000033f0| 73 73 61 72 79 2c 20 69 | 6e 20 74 68 65 20 70 75 |ssary, i|n the pu|
|00003400| 62 6c 69 73 68 65 72 20 | 6f 72 20 6f 72 67 61 6e |blisher |or organ|
|00003410| 69 7a 61 74 69 6f 6e 20 | 66 69 65 6c 64 2e 0a 25 |ization |field..%|
|00003420| 20 20 20 20 61 6e 6e 6f | 74 65 0a 25 20 20 20 20 | anno|te.% |
|00003430| 20 20 20 20 20 20 20 4c | 6f 6e 67 20 61 6e 6e 6f | L|ong anno|
|00003440| 74 61 74 69 6f 6e 2d 2d | 2d 66 6f 72 20 61 6e 6e |tation--|-for ann|
|00003450| 6f 74 61 74 65 64 20 62 | 69 62 6c 69 6f 67 72 61 |otated b|ibliogra|
|00003460| 70 68 69 65 73 20 28 62 | 65 67 69 6e 73 20 73 65 |phies (b|egins se|
|00003470| 6e 74 65 6e 63 65 29 2e | 0a 20 20 20 20 61 75 74 |ntence).|. aut|
|00003480| 68 6f 72 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |hor.% | |
|00003490| 4e 61 6d 65 28 73 29 20 | 6f 66 20 61 75 74 68 6f |Name(s) |of autho|
|000034a0| 72 28 73 29 2c 20 69 6e | 20 42 69 62 54 65 58 20 |r(s), in| BibTeX |
|000034b0| 6e 61 6d 65 20 66 6f 72 | 6d 61 74 2e 0a 20 20 20 |name for|mat.. |
|000034c0| 20 62 6f 6f 6b 74 69 74 | 6c 65 0a 25 20 20 20 20 | booktit|le.% |
|000034d0| 20 20 20 20 20 20 20 42 | 6f 6f 6b 20 74 69 74 6c | B|ook titl|
|000034e0| 65 20 77 68 65 6e 20 74 | 68 65 20 74 68 69 6e 67 |e when t|he thing|
|000034f0| 20 62 65 69 6e 67 20 72 | 65 66 65 72 65 6e 63 65 | being r|eference|
|00003500| 64 20 69 73 6e 27 74 20 | 74 68 65 20 77 68 6f 6c |d isn't |the whol|
|00003510| 65 20 62 6f 6f 6b 2e 0a | 25 20 20 20 20 20 20 20 |e book..|% |
|00003520| 20 20 20 20 46 6f 72 20 | 62 6f 6f 6b 20 65 6e 74 | For |book ent|
|00003530| 72 69 65 73 2c 20 74 68 | 65 20 74 69 74 6c 65 20 |ries, th|e title |
|00003540| 66 69 65 6c 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |field sh|ould be |
|00003550| 75 73 65 64 20 69 6e 73 | 74 65 61 64 2e 0a 20 20 |used ins|tead.. |
|00003560| 20 20 63 68 61 70 74 65 | 72 0a 25 20 20 20 20 20 | chapte|r.% |
|00003570| 20 20 20 20 20 20 43 68 | 61 70 74 65 72 20 28 6f | Ch|apter (o|
|00003580| 72 20 73 65 63 74 69 6f | 6e 20 6f 72 20 77 68 61 |r sectio|n or wha|
|00003590| 74 65 76 65 72 29 20 6e | 75 6d 62 65 72 2e 0a 20 |tever) n|umber.. |
|000035a0| 20 20 20 65 64 69 74 69 | 6f 6e 0a 25 20 20 20 20 | editi|on.% |
|000035b0| 20 20 20 20 20 20 20 45 | 64 69 74 69 6f 6e 20 6f | E|dition o|
|000035c0| 66 20 61 20 62 6f 6f 6b | 2d 2d 2d 73 68 6f 75 6c |f a book|---shoul|
|000035d0| 64 20 62 65 20 61 6e 20 | 6f 72 64 69 6e 61 6c 20 |d be an |ordinal |
|000035e0| 28 65 2e 67 2e 2c 20 22 | 53 65 63 6f 6e 64 22 29 |(e.g., "|Second")|
|000035f0| 2e 0a 20 20 20 20 65 64 | 69 74 6f 72 0a 25 20 20 |.. ed|itor.% |
|00003600| 20 20 20 20 20 20 20 20 | 20 4e 61 6d 65 28 73 29 | | Name(s)|
|00003610| 20 6f 66 20 65 64 69 74 | 6f 72 28 73 29 2c 20 69 | of edit|or(s), i|
|00003620| 6e 20 42 69 62 54 65 58 | 20 6e 61 6d 65 20 66 6f |n BibTeX| name fo|
|00003630| 72 6d 61 74 2e 0a 25 20 | 20 20 20 20 20 20 20 20 |rmat..% | |
|00003640| 20 20 49 66 20 74 68 65 | 72 65 20 69 73 20 61 6c | If the|re is al|
|00003650| 73 6f 20 61 6e 20 61 75 | 74 68 6f 72 20 66 69 65 |so an au|thor fie|
|00003660| 6c 64 2c 20 74 68 65 6e | 20 74 68 65 20 65 64 69 |ld, then| the edi|
|00003670| 74 6f 72 20 66 69 65 6c | 64 20 73 68 6f 75 6c 64 |tor fiel|d should|
|00003680| 20 62 65 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | be.% | |
|00003690| 66 6f 72 20 74 68 65 20 | 62 6f 6f 6b 20 6f 72 20 |for the |book or |
|000036a0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 74 68 61 74 20 |collecti|on that |
|000036b0| 74 68 65 20 77 6f 72 6b | 20 61 70 70 65 61 72 73 |the work| appears|
|000036c0| 20 69 6e 2e 0a 20 20 20 | 20 68 6f 77 70 75 62 6c | in.. | howpubl|
|000036d0| 69 73 68 65 64 0a 25 20 | 20 20 20 20 20 20 20 20 |ished.% | |
|000036e0| 20 20 20 48 6f 77 20 73 | 6f 6d 65 74 68 69 6e 67 | How s|omething|
|000036f0| 20 73 74 72 61 6e 67 65 | 20 68 61 73 20 62 65 65 | strange| has bee|
|00003700| 6e 20 70 75 62 6c 69 73 | 68 65 64 20 28 62 65 67 |n publis|hed (beg|
|00003710| 69 6e 73 20 73 65 6e 74 | 65 6e 63 65 29 2e 0a 20 |ins sent|ence).. |
|00003720| 20 20 20 69 6e 73 74 69 | 74 75 74 69 6f 6e 0a 25 | insti|tution.%|
|00003730| 20 20 20 20 20 20 20 20 | 20 20 20 53 70 6f 6e 73 | | Spons|
|00003740| 6f 72 69 6e 67 20 69 6e | 73 74 69 74 75 74 69 6f |oring in|stitutio|
|00003750| 6e 20 6f 66 20 61 20 74 | 65 63 68 6e 69 63 61 6c |n of a t|echnical|
|00003760| 20 72 65 70 6f 72 74 2e | 0a 20 20 20 20 6a 6f 75 | report.|. jou|
|00003770| 72 6e 61 6c 0a 25 20 20 | 20 20 20 20 20 20 20 20 |rnal.% | |
|00003780| 20 4a 6f 75 72 6e 61 6c | 20 6e 61 6d 65 20 28 6d | Journal| name (m|
|00003790| 61 63 72 6f 73 20 61 72 | 65 20 70 72 6f 76 69 64 |acros ar|e provid|
|000037a0| 65 64 20 66 6f 72 20 6d | 61 6e 79 29 2e 0a 20 20 |ed for m|any).. |
|000037b0| 20 20 6b 65 79 0a 25 20 | 20 20 20 20 20 20 20 20 | key.% | |
|000037c0| 20 20 41 6c 70 68 61 62 | 65 74 69 7a 69 6e 67 2c | Alphab|etizing,|
|000037d0| 20 6c 61 62 65 6c 69 6e | 67 2c 20 61 6e 64 20 63 | labelin|g, and c|
|000037e0| 72 6f 73 73 2d 72 65 66 | 65 72 65 6e 63 69 6e 67 |ross-ref|erencing|
|000037f0| 20 6b 65 79 0a 25 20 20 | 20 20 20 20 20 20 20 20 | key.% | |
|00003800| 20 28 6e 65 65 64 65 64 | 20 77 68 65 6e 20 61 6e | (needed| when an|
|00003810| 20 65 6e 74 72 79 20 68 | 61 73 20 6e 6f 20 61 75 | entry h|as no au|
|00003820| 74 68 6f 72 20 6f 72 20 | 65 64 69 74 6f 72 29 2e |thor or |editor).|
|00003830| 0a 20 20 20 20 6d 6f 6e | 74 68 0a 25 20 20 20 20 |. mon|th.% |
|00003840| 20 20 20 20 20 20 20 4d | 6f 6e 74 68 20 28 6d 61 | M|onth (ma|
|00003850| 63 72 6f 73 20 61 72 65 | 20 70 72 6f 76 69 64 65 |cros are| provide|
|00003860| 64 29 2e 0a 20 20 20 20 | 6e 6f 74 65 0a 25 20 20 |d).. |note.% |
|00003870| 20 20 20 20 20 20 20 20 | 20 54 6f 20 68 65 6c 70 | | To help|
|00003880| 20 74 68 65 20 72 65 61 | 64 65 72 20 66 69 6e 64 | the rea|der find|
|00003890| 20 61 20 72 65 66 65 72 | 65 6e 63 65 20 28 62 65 | a refer|ence (be|
|000038a0| 67 69 6e 73 20 73 65 6e | 74 65 6e 63 65 29 2e 0a |gins sen|tence)..|
|000038b0| 20 20 20 20 6e 75 6d 62 | 65 72 0a 25 20 20 20 20 | numb|er.% |
|000038c0| 20 20 20 20 20 20 20 4e | 75 6d 62 65 72 20 6f 66 | N|umber of|
|000038d0| 20 61 20 6a 6f 75 72 6e | 61 6c 20 6f 72 20 74 65 | a journ|al or te|
|000038e0| 63 68 6e 69 63 61 6c 20 | 72 65 70 6f 72 74 2c 20 |chnical |report, |
|000038f0| 6f 72 20 6f 66 20 61 20 | 77 6f 72 6b 20 69 6e 20 |or of a |work in |
|00003900| 61 20 73 65 72 69 65 73 | 2e 0a 20 20 20 20 6f 72 |a series|.. or|
|00003910| 67 61 6e 69 7a 61 74 69 | 6f 6e 0a 25 20 20 20 20 |ganizati|on.% |
|00003920| 20 20 20 20 20 20 20 4f | 72 67 61 6e 69 7a 61 74 | O|rganizat|
|00003930| 69 6f 6e 20 73 70 6f 6e | 73 6f 72 69 6e 67 20 61 |ion spon|soring a|
|00003940| 20 63 6f 6e 66 65 72 65 | 6e 63 65 20 28 6f 72 20 | confere|nce (or |
|00003950| 70 75 62 6c 69 73 68 69 | 6e 67 20 61 20 6d 61 6e |publishi|ng a man|
|00003960| 75 61 6c 29 3b 20 69 66 | 0a 25 20 20 20 20 20 20 |ual); if|.% |
|00003970| 20 20 20 20 20 74 68 65 | 20 65 64 69 74 6f 72 20 | the| editor |
|00003980| 28 6f 72 20 61 75 74 68 | 6f 72 29 20 69 73 20 65 |(or auth|or) is e|
|00003990| 6d 70 74 79 2c 20 61 6e | 64 20 69 66 20 74 68 65 |mpty, an|d if the|
|000039a0| 20 6f 72 67 61 6e 69 7a | 61 74 69 6f 6e 20 70 72 | organiz|ation pr|
|000039b0| 6f 64 75 63 65 73 0a 25 | 20 20 20 20 20 20 20 20 |oduces.%| |
|000039c0| 20 20 20 61 6e 20 61 77 | 6b 77 61 72 64 20 6c 61 | an aw|kward la|
|000039d0| 62 65 6c 20 6f 72 20 63 | 72 6f 73 73 20 72 65 66 |bel or c|ross ref|
|000039e0| 65 72 65 6e 63 65 2c 20 | 79 6f 75 20 73 68 6f 75 |erence, |you shou|
|000039f0| 6c 64 20 70 75 74 20 61 | 70 70 72 6f 70 72 69 61 |ld put a|ppropria|
|00003a00| 74 65 6c 79 0a 25 20 20 | 20 20 20 20 20 20 20 20 |tely.% | |
|00003a10| 20 63 6f 6e 64 65 6e 73 | 65 64 20 6f 72 67 61 6e | condens|ed organ|
|00003a20| 69 7a 61 74 69 6f 6e 20 | 69 6e 66 6f 72 6d 61 74 |ization |informat|
|00003a30| 69 6f 6e 20 69 6e 20 74 | 68 65 20 6b 65 79 20 66 |ion in t|he key f|
|00003a40| 69 65 6c 64 20 61 73 20 | 77 65 6c 6c 2e 0a 20 20 |ield as |well.. |
|00003a50| 20 20 70 61 67 65 73 0a | 25 20 20 20 20 20 20 20 | pages.|% |
|00003a60| 20 20 20 20 50 61 67 65 | 20 6e 75 6d 62 65 72 20 | Page| number |
|00003a70| 6f 72 20 6e 75 6d 62 65 | 72 73 20 28 75 73 65 20 |or numbe|rs (use |
|00003a80| 60 2d 2d 27 20 74 6f 20 | 73 65 70 61 72 61 74 65 |`--' to |separate|
|00003a90| 20 61 20 72 61 6e 67 65 | 2c 20 75 73 65 20 60 2b | a range|, use `+|
|00003aa0| 27 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 74 6f |'.% | to|
|00003ab0| 20 69 6e 64 69 63 61 74 | 65 20 70 61 67 65 73 20 | indicat|e pages |
|00003ac0| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 68 61 74 20 64 |followin|g that d|
|00003ad0| 6f 6e 27 74 20 66 6f 72 | 6d 20 61 20 73 69 6d 70 |on't for|m a simp|
|00003ae0| 6c 65 20 72 61 6e 67 65 | 29 2e 0a 20 20 20 20 70 |le range|).. p|
|00003af0| 75 62 6c 69 73 68 65 72 | 0a 25 20 20 20 20 20 20 |ublisher|.% |
|00003b00| 20 20 20 20 20 50 75 62 | 6c 69 73 68 65 72 20 6e | Pub|lisher n|
|00003b10| 61 6d 65 2e 0a 20 20 20 | 20 73 63 68 6f 6f 6c 0a |ame.. | school.|
|00003b20| 25 20 20 20 20 20 20 20 | 20 20 20 20 53 63 68 6f |% | Scho|
|00003b30| 6f 6c 20 6e 61 6d 65 20 | 28 66 6f 72 20 74 68 65 |ol name |(for the|
|00003b40| 73 65 73 29 2e 0a 20 20 | 20 20 73 65 72 69 65 73 |ses).. | series|
|00003b50| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 54 68 65 |.% | The|
|00003b60| 20 6e 61 6d 65 20 6f 66 | 20 61 20 73 65 72 69 65 | name of| a serie|
|00003b70| 73 20 6f 72 20 73 65 74 | 20 6f 66 20 62 6f 6f 6b |s or set| of book|
|00003b80| 73 2e 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 41 |s..% | A|
|00003b90| 6e 20 69 6e 64 69 76 69 | 64 75 61 6c 20 62 6f 6f |n indivi|dual boo|
|00003ba0| 6b 20 77 69 6c 6c 20 77 | 69 6c 6c 20 61 6c 73 6f |k will w|ill also|
|00003bb0| 20 68 61 76 65 20 69 74 | 27 73 20 6f 77 6e 20 74 | have it|'s own t|
|00003bc0| 69 74 6c 65 2e 0a 20 20 | 20 20 74 69 74 6c 65 0a |itle.. | title.|
|00003bd0| 25 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 |% | The |
|00003be0| 74 69 74 6c 65 20 6f 66 | 20 74 68 65 20 74 68 69 |title of| the thi|
|00003bf0| 6e 67 20 79 6f 75 27 72 | 65 20 72 65 66 65 72 72 |ng you'r|e referr|
|00003c00| 65 64 20 74 6f 2e 0a 20 | 20 20 20 74 79 70 65 0a |ed to.. | type.|
|00003c10| 25 20 20 20 20 20 20 20 | 20 20 20 20 54 79 70 65 |% | Type|
|00003c20| 20 6f 66 20 61 20 54 65 | 63 68 72 65 70 6f 72 74 | of a Te|chreport|
|00003c30| 20 28 65 2e 67 2e 2c 20 | 22 52 65 73 65 61 72 63 | (e.g., |"Researc|
|00003c40| 68 20 4e 6f 74 65 22 29 | 20 74 6f 20 62 65 20 75 |h Note")| to be u|
|00003c50| 73 65 64 20 69 6e 73 74 | 65 61 64 20 6f 66 0a 25 |sed inst|ead of.%|
|00003c60| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 20 64 | | the d|
|00003c70| 65 66 61 75 6c 74 20 22 | 54 65 63 68 6e 69 63 61 |efault "|Technica|
|00003c80| 6c 20 52 65 70 6f 72 74 | 22 3b 20 6f 72 2c 20 73 |l Report|"; or, s|
|00003c90| 69 6d 69 6c 61 72 6c 79 | 2c 20 74 68 65 20 74 79 |imilarly|, the ty|
|00003ca0| 70 65 20 6f 66 20 61 0a | 25 20 20 20 20 20 20 20 |pe of a.|% |
|00003cb0| 20 20 20 20 74 68 65 73 | 69 73 3b 20 6f 72 20 6f | thes|is; or o|
|00003cc0| 66 20 61 20 70 61 72 74 | 20 6f 66 20 61 20 62 6f |f a part| of a bo|
|00003cd0| 6f 6b 2e 0a 20 20 20 20 | 76 6f 6c 75 6d 65 0a 25 |ok.. |volume.%|
|00003ce0| 20 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 76 | | The v|
|00003cf0| 6f 6c 75 6d 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |olume nu|mber of |
|00003d00| 61 20 6a 6f 75 72 6e 61 | 6c 20 6f 72 20 6d 75 6c |a journa|l or mul|
|00003d10| 74 69 76 6f 6c 75 6d 65 | 20 77 6f 72 6b 2e 0a 20 |tivolume| work.. |
|00003d20| 20 20 20 79 65 61 72 0a | 25 20 20 20 20 20 20 20 | year.|% |
|00003d30| 20 20 20 20 54 68 65 20 | 79 65 61 72 20 73 68 6f | The |year sho|
|00003d40| 75 6c 64 20 63 6f 6e 74 | 61 69 6e 20 6f 6e 6c 79 |uld cont|ain only|
|00003d50| 20 6e 75 6d 65 72 61 6c | 73 20 28 74 65 63 68 6e | numeral|s (techn|
|00003d60| 69 63 61 6c 6c 79 2c 20 | 69 74 20 73 68 6f 75 6c |ically, |it shoul|
|00003d70| 64 20 65 6e 64 0a 25 20 | 20 20 20 20 20 20 20 20 |d end.% | |
|00003d80| 20 20 77 69 74 68 20 66 | 6f 75 72 20 6e 75 6d 65 | with f|our nume|
|00003d90| 72 61 6c 73 2c 20 61 66 | 74 65 72 20 70 75 72 69 |rals, af|ter puri|
|00003da0| 66 69 63 61 74 69 6f 6e | 3b 20 64 6f 65 73 6e 27 |fication|; doesn'|
|00003db0| 74 20 61 20 62 65 67 69 | 6e 20 73 65 6e 74 65 6e |t a begi|n senten|
|00003dc0| 63 65 29 2e 0a 20 20 7d | 0a 25 20 54 68 65 72 65 |ce).. }|.% There|
|00003dd0| 20 61 72 65 20 6e 6f 20 | 69 6e 74 65 67 65 72 20 | are no |integer |
|00003de0| 65 6e 74 72 79 20 76 61 | 72 69 61 62 6c 65 73 0a |entry va|riables.|
|00003df0| 20 20 7b 7d 0a 25 20 54 | 68 65 73 65 20 73 74 72 | {}.% T|hese str|
|00003e00| 69 6e 67 20 65 6e 74 72 | 79 20 76 61 72 69 61 62 |ing entr|y variab|
|00003e10| 6c 65 73 20 61 72 65 20 | 75 73 65 64 20 74 6f 20 |les are |used to |
|00003e20| 66 6f 72 6d 20 74 68 65 | 20 63 69 74 61 74 69 6f |form the| citatio|
|00003e30| 6e 20 6c 61 62 65 6c 2e | 0a 25 20 49 6e 20 61 20 |n label.|.% In a |
|00003e40| 73 74 6f 72 61 67 65 20 | 70 69 6e 63 68 2c 20 73 |storage |pinch, s|
|00003e50| 6f 72 74 2e 6c 61 62 65 | 6c 20 63 61 6e 20 62 65 |ort.labe|l can be|
|00003e60| 20 65 61 73 69 6c 79 20 | 63 6f 6d 70 75 74 65 64 | easily |computed|
|00003e70| 20 6f 6e 20 74 68 65 20 | 66 6c 79 2e 0a 23 69 66 | on the |fly..#if|
|00003e80| 20 4c 41 42 5f 41 4c 50 | 48 0a 23 69 66 20 53 4f | LAB_ALP|H.#if SO|
|00003e90| 52 54 45 44 0a 20 20 7b | 20 6c 61 62 65 6c 20 65 |RTED. {| label e|
|00003ea0| 78 74 72 61 2e 6c 61 62 | 65 6c 20 73 6f 72 74 2e |xtra.lab|el sort.|
|00003eb0| 6c 61 62 65 6c 20 7d 0a | 23 65 6c 73 65 20 21 53 |label }.|#else !S|
|00003ec0| 4f 52 54 45 44 0a 25 20 | 49 74 20 64 6f 65 73 6e |ORTED.% |It doesn|
|00003ed0| 27 74 20 73 65 65 6d 20 | 6c 69 6b 65 20 61 20 67 |'t seem |like a g|
|00003ee0| 6f 6f 64 20 69 64 65 61 | 20 74 6f 20 75 73 65 20 |ood idea| to use |
|00003ef0| 61 6e 20 6f 72 64 65 72 | 2d 6f 66 2d 63 69 74 61 |an order|-of-cita|
|00003f00| 74 69 6f 6e 0a 25 20 72 | 65 66 65 72 65 6e 63 65 |tion.% r|eference|
|00003f10| 20 6c 69 73 74 20 77 68 | 65 6e 20 75 73 69 6e 67 | list wh|en using|
|00003f20| 20 61 6c 70 68 61 62 65 | 74 69 63 20 6c 61 62 65 | alphabe|tic labe|
|00003f30| 6c 73 2c 20 62 75 74 20 | 77 68 65 6e 20 74 68 69 |ls, but |when thi|
|00003f40| 73 20 68 61 70 70 65 6e | 73 0a 25 20 77 65 20 64 |s happen|s.% we d|
|00003f50| 6f 20 74 68 69 6e 67 73 | 20 61 20 6c 69 74 74 6c |o things| a littl|
|00003f60| 65 20 64 69 66 66 65 72 | 65 6e 74 6c 79 0a 20 20 |e differ|ently. |
|00003f70| 7b 20 6c 61 62 65 6c 20 | 7d 0a 23 65 6e 64 69 66 |{ label |}.#endif|
|00003f80| 20 53 4f 52 54 45 44 0a | 23 65 6c 73 65 20 21 4c | SORTED.|#else !L|
|00003f90| 41 42 5f 41 4c 50 48 0a | 20 20 7b 20 6c 61 62 65 |AB_ALPH.| { labe|
|00003fa0| 6c 20 7d 0a 23 65 6e 64 | 69 66 20 4c 41 42 5f 41 |l }.#end|if LAB_A|
|00003fb0| 4c 50 48 0a 0a 25 20 45 | 61 63 68 20 65 6e 74 72 |LPH..% E|ach entr|
|00003fc0| 79 20 66 75 6e 63 74 69 | 6f 6e 20 73 74 61 72 74 |y functi|on start|
|00003fd0| 73 20 62 79 20 63 61 6c | 6c 69 6e 67 20 6f 75 74 |s by cal|ling out|
|00003fe0| 70 75 74 2e 62 69 62 69 | 74 65 6d 2c 20 74 6f 20 |put.bibi|tem, to |
|00003ff0| 77 72 69 74 65 20 74 68 | 65 0a 25 20 5c 62 69 62 |write th|e.% \bib|
|00004000| 69 74 65 6d 20 61 6e 64 | 20 69 74 73 20 61 72 67 |item and| its arg|
|00004010| 75 6d 65 6e 74 73 20 74 | 6f 20 74 68 65 20 2e 42 |uments t|o the .B|
|00004020| 42 4c 20 66 69 6c 65 2e | 20 20 54 68 65 6e 20 74 |BL file.| Then t|
|00004030| 68 65 20 76 61 72 69 6f | 75 73 20 66 69 65 6c 64 |he vario|us field|
|00004040| 73 0a 25 20 61 72 65 20 | 66 6f 72 6d 61 74 74 65 |s.% are |formatte|
|00004050| 64 20 61 6e 64 20 70 72 | 69 6e 74 65 64 20 62 79 |d and pr|inted by|
|00004060| 20 6f 75 74 70 75 74 20 | 6f 72 20 6f 75 74 70 75 | output |or outpu|
|00004070| 74 2e 63 68 65 63 6b 2e | 20 20 54 68 6f 73 65 20 |t.check.| Those |
|00004080| 66 75 6e 63 74 69 6f 6e | 73 0a 25 20 68 61 6e 64 |function|s.% hand|
|00004090| 6c 65 20 74 68 65 20 77 | 72 69 74 69 6e 67 20 6f |le the w|riting o|
|000040a0| 66 20 73 65 70 61 72 61 | 74 6f 72 73 20 28 63 6f |f separa|tors (co|
|000040b0| 6d 6d 61 73 2c 20 70 65 | 72 69 6f 64 73 2c 20 5c |mmas, pe|riods, \|
|000040c0| 6e 65 77 62 6c 6f 63 6b | 27 73 29 2c 0a 25 20 74 |newblock|'s),.% t|
|000040d0| 61 6b 69 6e 67 20 63 61 | 72 65 20 6e 6f 74 20 74 |aking ca|re not t|
|000040e0| 6f 20 64 6f 20 73 6f 20 | 77 68 65 6e 20 74 68 65 |o do so |when the|
|000040f0| 79 20 61 72 65 20 70 61 | 73 73 65 64 20 61 20 6e |y are pa|ssed a n|
|00004100| 75 6c 6c 20 73 74 72 69 | 6e 67 2e 0a 25 20 46 69 |ull stri|ng..% Fi|
|00004110| 6e 61 6c 6c 79 2c 20 66 | 69 6e 2e 65 6e 74 72 79 |nally, f|in.entry|
|00004120| 20 69 73 20 63 61 6c 6c | 65 64 20 74 6f 20 61 64 | is call|ed to ad|
|00004130| 64 20 74 68 65 20 66 69 | 6e 61 6c 20 70 65 72 69 |d the fi|nal peri|
|00004140| 6f 64 20 61 6e 64 20 66 | 69 6e 69 73 68 20 74 68 |od and f|inish th|
|00004150| 65 0a 25 20 65 6e 74 72 | 79 2e 0a 25 0a 25 20 41 |e.% entr|y..%.% A|
|00004160| 20 62 69 62 6c 69 6f 67 | 72 61 70 68 69 63 20 72 | bibliog|raphic r|
|00004170| 65 66 65 72 65 6e 63 65 | 20 69 73 20 66 6f 72 6d |eference| is form|
|00004180| 61 74 74 65 64 20 69 6e | 74 6f 20 61 20 6e 75 6d |atted in|to a num|
|00004190| 62 65 72 20 6f 66 20 60 | 62 6c 6f 63 6b 73 27 3a |ber of `|blocks':|
|000041a0| 0a 25 20 69 6e 20 74 68 | 65 20 6f 70 65 6e 20 66 |.% in th|e open f|
|000041b0| 6f 72 6d 61 74 2c 20 61 | 20 62 6c 6f 63 6b 20 62 |ormat, a| block b|
|000041c0| 65 67 69 6e 73 20 6f 6e | 20 61 20 6e 65 77 20 6c |egins on| a new l|
|000041d0| 69 6e 65 20 61 6e 64 20 | 73 75 62 73 65 71 75 65 |ine and |subseque|
|000041e0| 6e 74 0a 25 20 6c 69 6e | 65 73 20 6f 66 20 74 68 |nt.% lin|es of th|
|000041f0| 65 20 62 6c 6f 63 6b 20 | 61 72 65 20 69 6e 64 65 |e block |are inde|
|00004200| 6e 74 65 64 2e 20 20 41 | 20 62 6c 6f 63 6b 20 6d |nted. A| block m|
|00004210| 61 79 20 63 6f 6e 74 61 | 69 6e 20 6d 6f 72 65 20 |ay conta|in more |
|00004220| 74 68 61 6e 0a 25 20 6f | 6e 65 20 73 65 6e 74 65 |than.% o|ne sente|
|00004230| 6e 63 65 20 28 77 65 6c | 6c 2c 20 6e 6f 74 20 61 |nce (wel|l, not a|
|00004240| 20 67 72 61 6d 6d 61 74 | 69 63 61 6c 20 73 65 6e | grammat|ical sen|
|00004250| 74 65 6e 63 65 2c 20 62 | 75 74 20 73 6f 6d 65 74 |tence, b|ut somet|
|00004260| 68 69 6e 67 20 74 6f 0a | 25 20 62 65 20 65 6e 64 |hing to.|% be end|
|00004270| 65 64 20 77 69 74 68 20 | 61 20 73 65 6e 74 65 6e |ed with |a senten|
|00004280| 63 65 20 65 6e 64 69 6e | 67 20 70 65 72 69 6f 64 |ce endin|g period|
|00004290| 29 2e 20 20 54 68 65 20 | 65 6e 74 72 79 20 66 75 |). The |entry fu|
|000042a0| 6e 63 74 69 6f 6e 73 20 | 73 68 6f 75 6c 64 0a 25 |nctions |should.%|
|000042b0| 20 63 61 6c 6c 20 6e 65 | 77 2e 62 6c 6f 63 6b 20 | call ne|w.block |
|000042c0| 77 68 65 6e 65 76 65 72 | 20 61 20 62 6c 6f 63 6b |whenever| a block|
|000042d0| 20 6f 74 68 65 72 20 74 | 68 61 6e 20 74 68 65 20 | other t|han the |
|000042e0| 66 69 72 73 74 20 69 73 | 20 61 62 6f 75 74 20 74 |first is| about t|
|000042f0| 6f 20 62 65 0a 25 20 73 | 74 61 72 74 65 64 2e 20 |o be.% s|tarted. |
|00004300| 20 54 68 65 79 20 73 68 | 6f 75 6c 64 20 63 61 6c | They sh|ould cal|
|00004310| 6c 20 6e 65 77 2e 73 65 | 6e 74 65 6e 63 65 20 77 |l new.se|ntence w|
|00004320| 68 65 6e 65 76 65 72 20 | 61 20 6e 65 77 20 73 65 |henever |a new se|
|00004330| 6e 74 65 6e 63 65 20 69 | 73 0a 25 20 74 6f 20 62 |ntence i|s.% to b|
|00004340| 65 20 73 74 61 72 74 65 | 64 2e 20 20 54 68 65 20 |e starte|d. The |
|00004350| 6f 75 74 70 75 74 20 66 | 75 6e 63 74 69 6f 6e 73 |output f|unctions|
|00004360| 20 77 69 6c 6c 20 65 6e | 73 75 72 65 20 74 68 61 | will en|sure tha|
|00004370| 74 20 69 66 20 74 77 6f | 0a 25 20 6e 65 77 2e 73 |t if two|.% new.s|
|00004380| 65 6e 74 65 6e 63 65 27 | 73 20 6f 63 63 75 72 20 |entence'|s occur |
|00004390| 77 69 74 68 6f 75 74 20 | 61 6e 79 20 6e 6f 6e 2d |without |any non-|
|000043a0| 6e 75 6c 6c 20 73 74 72 | 69 6e 67 20 62 65 69 6e |null str|ing bein|
|000043b0| 67 20 6f 75 74 70 75 74 | 20 62 65 74 77 65 65 6e |g output| between|
|000043c0| 0a 25 20 74 68 65 6d 20 | 74 68 65 6e 20 74 68 65 |.% them |then the|
|000043d0| 72 65 20 77 6f 6e 27 74 | 20 62 65 20 74 77 6f 20 |re won't| be two |
|000043e0| 70 65 72 69 6f 64 73 20 | 6f 75 74 70 75 74 2e 20 |periods |output. |
|000043f0| 20 53 69 6d 69 6c 61 72 | 6c 79 20 66 6f 72 20 74 | Similar|ly for t|
|00004400| 77 6f 0a 25 20 73 75 63 | 63 65 73 73 69 76 65 20 |wo.% suc|cessive |
|00004410| 6e 65 77 2e 62 6c 6f 63 | 6b 27 73 2e 0a 25 0a 25 |new.bloc|k's..%.%|
|00004420| 20 54 68 65 20 6f 75 74 | 70 75 74 20 72 6f 75 74 | The out|put rout|
|00004430| 69 6e 65 73 20 64 6f 6e | 27 74 20 77 72 69 74 65 |ines don|'t write|
|00004440| 20 74 68 65 69 72 20 61 | 72 67 75 6d 65 6e 74 20 | their a|rgument |
|00004450| 69 6d 6d 65 64 69 61 74 | 65 6c 79 2e 0a 25 20 49 |immediat|ely..% I|
|00004460| 6e 73 74 65 61 64 2c 20 | 62 79 20 63 6f 6e 76 65 |nstead, |by conve|
|00004470| 6e 74 69 6f 6e 2c 20 74 | 68 61 74 20 61 72 67 75 |ntion, t|hat argu|
|00004480| 6d 65 6e 74 20 69 73 20 | 73 61 76 65 64 20 6f 6e |ment is |saved on|
|00004490| 20 74 68 65 20 73 74 61 | 63 6b 20 74 6f 20 62 65 | the sta|ck to be|
|000044a0| 0a 25 20 6f 75 74 70 75 | 74 20 6e 65 78 74 20 74 |.% outpu|t next t|
|000044b0| 69 6d 65 20 28 77 68 65 | 6e 20 77 65 27 6c 6c 20 |ime (whe|n we'll |
|000044c0| 6b 6e 6f 77 20 77 68 61 | 74 20 73 65 70 61 72 61 |know wha|t separa|
|000044d0| 74 6f 72 20 6e 65 65 64 | 73 20 74 6f 20 63 6f 6d |tor need|s to com|
|000044e0| 65 0a 25 20 61 66 74 65 | 72 20 69 74 29 2e 20 20 |e.% afte|r it). |
|000044f0| 4d 65 61 6e 77 68 69 6c | 65 2c 20 74 68 65 20 6f |Meanwhil|e, the o|
|00004500| 75 74 70 75 74 20 72 6f | 75 74 69 6e 65 20 68 61 |utput ro|utine ha|
|00004510| 73 20 74 6f 20 70 6f 70 | 20 74 68 65 20 70 65 6e |s to pop| the pen|
|00004520| 64 69 6e 67 0a 25 20 6f | 75 74 70 75 74 20 6f 66 |ding.% o|utput of|
|00004530| 66 20 74 68 65 20 73 74 | 61 63 6b 2c 20 61 70 70 |f the st|ack, app|
|00004540| 65 6e 64 20 61 6e 79 20 | 6e 65 65 64 65 64 20 73 |end any |needed s|
|00004550| 65 70 61 72 61 74 6f 72 | 2c 20 61 6e 64 20 77 72 |eparator|, and wr|
|00004560| 69 74 65 20 69 74 2e 0a | 25 0a 25 20 54 6f 20 74 |ite it..|%.% To t|
|00004570| 65 6c 6c 20 77 68 69 63 | 68 20 73 65 70 61 72 61 |ell whic|h separa|
|00004580| 74 6f 72 20 69 73 20 6e | 65 65 64 65 64 2c 20 77 |tor is n|eeded, w|
|00004590| 65 20 6d 61 69 6e 74 61 | 69 6e 20 61 6e 20 6f 75 |e mainta|in an ou|
|000045a0| 74 70 75 74 2e 73 74 61 | 74 65 2e 0a 25 20 49 74 |tput.sta|te..% It|
|000045b0| 20 77 69 6c 6c 20 62 65 | 20 6f 6e 65 20 6f 66 20 | will be| one of |
|000045c0| 74 68 65 73 65 20 76 61 | 6c 75 65 73 3a 0a 25 20 |these va|lues:.% |
|000045d0| 20 20 20 20 20 20 62 65 | 66 6f 72 65 2e 61 6c 6c | be|fore.all|
|000045e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6a 75 | | ju|
|000045f0| 73 74 20 61 66 74 65 72 | 20 74 68 65 20 5c 62 69 |st after| the \bi|
|00004600| 62 69 74 65 6d 0a 25 20 | 20 20 20 20 20 20 6d 69 |bitem.% | mi|
|00004610| 64 2e 73 65 6e 74 65 6e | 63 65 20 20 20 20 20 20 |d.senten|ce |
|00004620| 20 20 20 20 20 20 69 6e | 20 74 68 65 20 6d 69 64 | in| the mid|
|00004630| 64 6c 65 20 6f 66 20 61 | 20 73 65 6e 74 65 6e 63 |dle of a| sentenc|
|00004640| 65 3a 20 63 6f 6d 6d 61 | 20 6e 65 65 64 65 64 0a |e: comma| needed.|
|00004650| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00004660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004670| 20 20 20 20 20 20 20 20 | 69 66 20 6d 6f 72 65 20 | |if more |
|00004680| 73 65 6e 74 65 6e 63 65 | 20 69 73 20 6f 75 74 70 |sentence| is outp|
|00004690| 75 74 0a 25 20 20 20 20 | 20 20 20 61 66 74 65 72 |ut.% | after|
|000046a0| 2e 73 65 6e 74 65 6e 63 | 65 20 20 20 20 20 20 20 |.sentenc|e |
|000046b0| 20 20 20 6a 75 73 74 20 | 61 66 74 65 72 20 61 20 | just |after a |
|000046c0| 73 65 6e 74 65 6e 63 65 | 3a 20 70 65 72 69 6f 64 |sentence|: period|
|000046d0| 20 6e 65 65 64 65 64 0a | 25 20 20 20 20 20 20 20 | needed.|% |
|000046e0| 61 66 74 65 72 2e 62 6c | 6f 63 6b 20 20 20 20 20 |after.bl|ock |
|000046f0| 20 20 20 20 20 20 20 20 | 6a 75 73 74 20 61 66 74 | |just aft|
|00004700| 65 72 20 61 20 62 6c 6f | 63 6b 20 28 61 6e 64 20 |er a blo|ck (and |
|00004710| 73 65 6e 74 65 6e 63 65 | 29 3a 0a 25 20 20 20 20 |sentence|):.% |
|00004720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004740| 20 20 20 70 65 72 69 6f | 64 20 61 6e 64 20 5c 6e | perio|d and \n|
|00004750| 65 77 62 6c 6f 63 6b 20 | 6e 65 65 64 65 64 2e 0a |ewblock |needed..|
|00004760| 25 20 4e 6f 74 65 3a 20 | 54 68 65 73 65 20 73 74 |% Note: |These st|
|00004770| 79 6c 65 73 20 64 6f 6e | 27 74 20 75 73 65 20 61 |yles don|'t use a|
|00004780| 66 74 65 72 2e 73 65 6e | 74 65 6e 63 65 0a 25 0a |fter.sen|tence.%.|
|00004790| 25 20 56 41 52 3a 20 6f | 75 74 70 75 74 2e 73 74 |% VAR: o|utput.st|
|000047a0| 61 74 65 20 3a 20 49 4e | 54 45 47 45 52 20 20 20 |ate : IN|TEGER |
|000047b0| 20 20 20 20 20 20 20 20 | 2d 2d 20 73 74 61 74 65 | |-- state|
|000047c0| 20 76 61 72 69 61 62 6c | 65 20 66 6f 72 20 6f 75 | variabl|e for ou|
|000047d0| 74 70 75 74 0a 25 0a 25 | 20 54 68 65 20 6f 75 74 |tput.%.%| The out|
|000047e0| 70 75 74 2e 6e 6f 6e 6e | 75 6c 6c 20 66 75 6e 63 |put.nonn|ull func|
|000047f0| 74 69 6f 6e 20 73 61 76 | 65 73 20 69 74 73 20 61 |tion sav|es its a|
|00004800| 72 67 75 6d 65 6e 74 20 | 28 61 73 73 75 6d 65 64 |rgument |(assumed|
|00004810| 20 74 6f 20 62 65 20 6e | 6f 6e 6e 75 6c 6c 29 0a | to be n|onnull).|
|00004820| 25 20 6f 6e 20 74 68 65 | 20 73 74 61 63 6b 2c 20 |% on the| stack, |
|00004830| 61 6e 64 20 77 72 69 74 | 65 73 20 74 68 65 20 6f |and writ|es the o|
|00004840| 6c 64 20 73 61 76 65 64 | 20 76 61 6c 75 65 20 66 |ld saved| value f|
|00004850| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 6e 79 20 6e |ollowed |by any n|
|00004860| 65 65 64 65 64 0a 25 20 | 73 65 70 61 72 61 74 6f |eeded.% |separato|
|00004870| 72 2e 20 20 54 68 65 20 | 6f 72 64 65 72 69 6e 67 |r. The |ordering|
|00004880| 20 6f 66 20 74 68 65 20 | 74 65 73 74 73 20 69 73 | of the |tests is|
|00004890| 20 64 65 63 72 65 61 73 | 69 6e 67 20 66 72 65 71 | decreas|ing freq|
|000048a0| 75 65 6e 63 79 20 6f 66 | 0a 25 20 6f 63 63 75 72 |uency of|.% occur|
|000048b0| 72 65 6e 63 65 2e 0a 25 | 0a 25 20 6f 75 74 70 75 |rence..%|.% outpu|
|000048c0| 74 2e 6e 6f 6e 6e 75 6c | 6c 28 73 29 20 3d 3d 0a |t.nonnul|l(s) ==.|
|000048d0| 25 20 20 42 45 47 49 4e | 0a 25 20 20 20 20 20 20 |% BEGIN|.% |
|000048e0| 20 73 20 3a 3d 20 61 72 | 67 75 6d 65 6e 74 20 6f | s := ar|gument o|
|000048f0| 6e 20 73 74 61 63 6b 0a | 25 20 20 20 20 20 20 20 |n stack.|% |
|00004900| 69 66 20 6f 75 74 70 75 | 74 2e 73 74 61 74 65 20 |if outpu|t.state |
|00004910| 3d 20 6d 69 64 2e 73 65 | 6e 74 65 6e 63 65 20 74 |= mid.se|ntence t|
|00004920| 68 65 6e 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |hen.% | |
|00004930| 77 72 69 74 65 24 28 70 | 6f 70 28 29 20 2a 20 22 |write$(p|op() * "|
|00004940| 2c 20 22 29 0a 25 20 20 | 20 20 20 20 20 20 20 20 |, ").% | |
|00004950| 20 20 20 20 20 20 20 2d | 2d 20 22 70 6f 70 22 20 | -|- "pop" |
|00004960| 69 73 6e 27 74 20 61 20 | 66 75 6e 63 74 69 6f 6e |isn't a |function|
|00004970| 3a 20 6a 75 73 74 20 75 | 73 65 20 73 74 61 63 6b |: just u|se stack|
|00004980| 20 74 6f 70 0a 25 20 20 | 20 20 20 20 20 65 6c 73 | top.% | els|
|00004990| 65 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |e.% | if|
|000049a0| 20 6f 75 74 70 75 74 2e | 73 74 61 74 65 20 3d 20 | output.|state = |
|000049b0| 61 66 74 65 72 2e 62 6c | 6f 63 6b 20 74 68 65 6e |after.bl|ock then|
|000049c0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000049d0| 20 77 72 69 74 65 24 28 | 61 64 64 2e 70 65 72 69 | write$(|add.peri|
|000049e0| 6f 64 24 28 70 6f 70 28 | 29 29 29 0a 25 20 20 20 |od$(pop(|))).% |
|000049f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 65 77 6c | | newl|
|00004a00| 69 6e 65 24 0a 25 20 20 | 20 20 20 20 20 20 20 20 |ine$.% | |
|00004a10| 20 20 20 20 20 77 72 69 | 74 65 24 28 22 5c 6e 65 | wri|te$("\ne|
|00004a20| 77 62 6c 6f 63 6b 20 22 | 29 0a 25 20 20 20 20 20 |wblock "|).% |
|00004a30| 20 20 20 20 20 20 65 6c | 73 65 0a 25 20 20 20 20 | el|se.% |
|00004a40| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 6f 75 | | if ou|
|00004a50| 74 70 75 74 2e 73 74 61 | 74 65 20 3d 20 62 65 66 |tput.sta|te = bef|
|00004a60| 6f 72 65 2e 61 6c 6c 20 | 74 68 65 6e 0a 25 20 20 |ore.all |then.% |
|00004a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a80| 20 77 72 69 74 65 24 28 | 70 6f 70 28 29 29 0a 25 | write$(|pop()).%|
|00004a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00004aa0| 6c 73 65 20 20 20 20 20 | 20 20 20 2d 2d 20 6f 75 |lse | -- ou|
|00004ab0| 74 70 75 74 2e 73 74 61 | 74 65 20 73 68 6f 75 6c |tput.sta|te shoul|
|00004ac0| 64 20 62 65 20 61 66 74 | 65 72 2e 73 65 6e 74 65 |d be aft|er.sente|
|00004ad0| 6e 63 65 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |nce.% | |
|00004ae0| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 24 28 61 | |write$(a|
|00004af0| 64 64 2e 70 65 72 69 6f | 64 24 28 70 6f 70 28 29 |dd.perio|d$(pop()|
|00004b00| 29 20 2a 20 22 20 22 29 | 0a 25 20 20 20 20 20 20 |) * " ")|.% |
|00004b10| 20 20 20 20 20 20 20 20 | 20 66 69 0a 25 20 20 20 | | fi.% |
|00004b20| 20 20 20 20 20 20 20 20 | 66 69 0a 25 20 20 20 20 | |fi.% |
|00004b30| 20 20 20 20 20 20 20 6f | 75 74 70 75 74 2e 73 74 | o|utput.st|
|00004b40| 61 74 65 20 3a 3d 20 6d | 69 64 2e 73 65 6e 74 65 |ate := m|id.sente|
|00004b50| 6e 63 65 0a 25 20 20 20 | 20 20 20 20 66 69 0a 25 |nce.% | fi.%|
|00004b60| 20 20 20 20 20 20 20 70 | 75 73 68 20 73 20 6f 6e | p|ush s on|
|00004b70| 20 73 74 61 63 6b 0a 25 | 20 20 45 4e 44 0a 25 0a | stack.%| END.%.|
|00004b80| 25 20 54 68 65 20 6f 75 | 74 70 75 74 20 66 75 6e |% The ou|tput fun|
|00004b90| 63 74 69 6f 6e 20 63 61 | 6c 6c 73 20 6f 75 74 70 |ction ca|lls outp|
|00004ba0| 75 74 2e 6e 6f 6e 6e 75 | 6c 6c 20 69 66 20 69 74 |ut.nonnu|ll if it|
|00004bb0| 73 20 61 72 67 75 6d 65 | 6e 74 20 69 73 20 6e 6f |s argume|nt is no|
|00004bc0| 6e 2d 65 6d 70 74 79 3b | 0a 25 20 69 74 73 20 61 |n-empty;|.% its a|
|00004bd0| 72 67 75 6d 65 6e 74 20 | 6d 61 79 20 62 65 20 61 |rgument |may be a|
|00004be0| 20 6d 69 73 73 69 6e 67 | 20 66 69 65 6c 64 20 28 | missing| field (|
|00004bf0| 74 68 75 73 2c 20 6e 6f | 74 20 6e 65 63 65 73 73 |thus, no|t necess|
|00004c00| 61 72 69 6c 79 20 61 20 | 73 74 72 69 6e 67 29 0a |arily a |string).|
|00004c10| 25 0a 25 20 6f 75 74 70 | 75 74 28 73 29 20 3d 3d |%.% outp|ut(s) ==|
|00004c20| 0a 25 20 20 42 45 47 49 | 4e 0a 25 20 20 20 20 20 |.% BEGI|N.% |
|00004c30| 20 20 69 66 20 6e 6f 74 | 20 65 6d 70 74 79 24 28 | if not| empty$(|
|00004c40| 73 29 20 74 68 65 6e 20 | 6f 75 74 70 75 74 2e 6e |s) then |output.n|
|00004c50| 6f 6e 6e 75 6c 6c 28 73 | 29 0a 25 20 20 20 20 20 |onnull(s|).% |
|00004c60| 20 20 66 69 0a 25 20 20 | 45 4e 44 0a 25 0a 25 20 | fi.% |END.%.% |
|00004c70| 54 68 65 20 6f 75 74 70 | 75 74 2e 63 68 65 63 6b |The outp|ut.check|
|00004c80| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 74 68 65 | functio|n is the|
|00004c90| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 6f 75 74 | same as| the out|
|00004ca0| 70 75 74 20 66 75 6e 63 | 74 69 6f 6e 20 65 78 63 |put func|tion exc|
|00004cb0| 65 70 74 20 74 68 61 74 | 2c 20 69 66 0a 25 20 6e |ept that|, if.% n|
|00004cc0| 65 63 65 73 73 61 72 79 | 2c 20 6f 75 74 70 75 74 |ecessary|, output|
|00004cd0| 2e 63 68 65 63 6b 20 77 | 61 72 6e 73 20 74 68 65 |.check w|arns the|
|00004ce0| 20 75 73 65 72 20 74 68 | 61 74 20 74 68 65 20 74 | user th|at the t|
|00004cf0| 20 66 69 65 6c 64 20 73 | 68 6f 75 6c 64 6e 27 74 | field s|houldn't|
|00004d00| 20 62 65 20 65 6d 70 74 | 79 0a 25 20 28 74 68 69 | be empt|y.% (thi|
|00004d10| 73 20 69 73 20 62 65 63 | 61 75 73 65 20 69 74 20 |s is bec|ause it |
|00004d20| 70 72 6f 62 61 62 6c 79 | 20 77 6f 6e 27 74 20 62 |probably| won't b|
|00004d30| 65 20 61 20 67 6f 6f 64 | 20 72 65 66 65 72 65 6e |e a good| referen|
|00004d40| 63 65 20 77 69 74 68 6f | 75 74 20 74 68 65 20 66 |ce witho|ut the f|
|00004d50| 69 65 6c 64 3b 0a 25 20 | 74 68 65 20 65 6e 74 72 |ield;.% |the entr|
|00004d60| 79 20 66 75 6e 63 74 69 | 6f 6e 73 20 74 72 79 20 |y functi|ons try |
|00004d70| 74 6f 20 6d 61 6b 65 20 | 74 68 65 20 66 6f 72 6d |to make |the form|
|00004d80| 61 74 74 69 6e 67 20 6c | 6f 6f 6b 20 72 65 61 73 |atting l|ook reas|
|00004d90| 6f 6e 61 62 6c 65 20 65 | 76 65 6e 20 77 68 65 6e |onable e|ven when|
|00004da0| 0a 25 20 73 75 63 68 20 | 66 69 65 6c 64 73 20 61 |.% such |fields a|
|00004db0| 72 65 20 65 6d 70 74 79 | 29 2e 0a 25 0a 25 20 6f |re empty|)..%.% o|
|00004dc0| 75 74 70 75 74 2e 63 68 | 65 63 6b 28 73 2c 74 29 |utput.ch|eck(s,t)|
|00004dd0| 20 3d 3d 0a 25 20 20 42 | 45 47 49 4e 0a 25 20 20 | ==.% B|EGIN.% |
|00004de0| 20 20 20 20 20 69 66 20 | 65 6d 70 74 79 24 28 73 | if |empty$(s|
|00004df0| 29 20 74 68 65 6e 0a 25 | 20 20 20 20 20 20 20 20 |) then.%| |
|00004e00| 20 20 20 77 61 72 6e 69 | 6e 67 24 28 22 65 6d 70 | warni|ng$("emp|
|00004e10| 74 79 20 22 20 2a 20 74 | 20 2a 20 22 20 69 6e 20 |ty " * t| * " in |
|00004e20| 22 20 2a 20 63 69 74 65 | 24 29 0a 25 20 20 20 20 |" * cite|$).% |
|00004e30| 20 20 20 65 6c 73 65 20 | 6f 75 74 70 75 74 2e 6e | else |output.n|
|00004e40| 6f 6e 6e 75 6c 6c 28 73 | 29 0a 25 20 20 20 20 20 |onnull(s|).% |
|00004e50| 20 20 66 69 0a 25 20 20 | 45 4e 44 0a 25 0a 25 20 | fi.% |END.%.% |
|00004e60| 54 68 65 20 6f 75 74 70 | 75 74 2e 62 69 62 69 74 |The outp|ut.bibit|
|00004e70| 65 6d 20 66 75 6e 63 74 | 69 6f 6e 20 77 72 69 74 |em funct|ion writ|
|00004e80| 65 73 20 74 68 65 20 5c | 62 69 62 69 74 65 6d 20 |es the \|bibitem |
|00004e90| 66 6f 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |for the |current |
|00004ea0| 65 6e 74 72 79 0a 25 20 | 28 74 68 65 20 6c 61 62 |entry.% |(the lab|
|00004eb0| 65 6c 20 73 68 6f 75 6c | 64 20 61 6c 72 65 61 64 |el shoul|d alread|
|00004ec0| 79 20 68 61 76 65 20 62 | 65 65 6e 20 73 65 74 20 |y have b|een set |
|00004ed0| 75 70 29 2c 20 61 6e 64 | 20 73 65 74 73 20 75 70 |up), and| sets up|
|00004ee0| 20 74 68 65 20 73 65 70 | 61 72 61 74 6f 72 0a 25 | the sep|arator.%|
|00004ef0| 20 73 74 61 74 65 20 66 | 6f 72 20 74 68 65 20 6f | state f|or the o|
|00004f00| 75 74 70 75 74 20 66 75 | 6e 63 74 69 6f 6e 73 2e |utput fu|nctions.|
|00004f10| 20 20 41 6e 64 2c 20 69 | 74 20 6c 65 61 76 65 73 | And, i|t leaves|
|00004f20| 20 61 20 73 74 72 69 6e | 67 20 6f 6e 20 74 68 65 | a strin|g on the|
|00004f30| 20 73 74 61 63 6b 0a 25 | 20 61 73 20 70 65 72 20 | stack.%| as per |
|00004f40| 74 68 65 20 6f 75 74 70 | 75 74 20 63 6f 6e 76 65 |the outp|ut conve|
|00004f50| 6e 74 69 6f 6e 2e 0a 25 | 0a 25 20 6f 75 74 70 75 |ntion..%|.% outpu|
|00004f60| 74 2e 62 69 62 69 74 65 | 6d 20 3d 3d 0a 25 20 20 |t.bibite|m ==.% |
|00004f70| 42 45 47 49 4e 0a 25 20 | 20 20 20 20 20 20 6e 65 |BEGIN.% | ne|
|00004f80| 77 6c 69 6e 65 24 0a 25 | 20 20 20 20 20 20 20 77 |wline$.%| w|
|00004f90| 72 69 74 65 24 28 22 5c | 62 69 62 69 74 65 6d 5b |rite$("\|bibitem[|
|00004fa0| 22 29 20 20 20 20 20 25 | 20 66 6f 72 20 61 6c 70 |") %| for alp|
|00004fb0| 68 61 62 65 74 69 63 20 | 6c 61 62 65 6c 73 2c 0a |habetic |labels,.|
|00004fc0| 25 20 20 20 20 20 20 20 | 77 72 69 74 65 24 28 6c |% |write$(l|
|00004fd0| 61 62 65 6c 29 20 20 20 | 20 20 20 20 20 20 20 20 |abel) | |
|00004fe0| 25 20 74 68 65 73 65 20 | 74 68 72 65 65 20 6c 69 |% these |three li|
|00004ff0| 6e 65 73 0a 25 20 20 20 | 20 20 20 20 77 72 69 74 |nes.% | writ|
|00005000| 65 24 28 22 5d 7b 22 29 | 20 20 20 20 20 20 20 20 |e$("]{")| |
|00005010| 20 20 20 20 25 20 61 72 | 65 20 75 73 65 64 0a 25 | % ar|e used.%|
|00005020| 20 20 20 20 20 20 20 77 | 72 69 74 65 24 28 22 5c | w|rite$("\|
|00005030| 62 69 62 69 74 65 6d 7b | 22 29 20 20 20 20 20 20 |bibitem{|") |
|00005040| 20 20 20 20 20 20 20 25 | 20 74 68 69 73 20 6c 69 | %| this li|
|00005050| 6e 65 20 66 6f 72 20 6e | 75 6d 65 72 69 63 20 6c |ne for n|umeric l|
|00005060| 61 62 65 6c 73 0a 25 20 | 20 20 20 20 20 20 77 72 |abels.% | wr|
|00005070| 69 74 65 24 28 63 69 74 | 65 24 29 0a 25 20 20 20 |ite$(cit|e$).% |
|00005080| 20 20 20 20 77 72 69 74 | 65 24 28 22 7d 22 29 0a | writ|e$("}").|
|00005090| 25 20 20 20 20 20 20 20 | 70 75 73 68 20 22 22 20 |% |push "" |
|000050a0| 6f 6e 20 73 74 61 63 6b | 0a 25 20 20 20 20 20 20 |on stack|.% |
|000050b0| 20 6f 75 74 70 75 74 2e | 73 74 61 74 65 20 3a 3d | output.|state :=|
|000050c0| 20 62 65 66 6f 72 65 2e | 61 6c 6c 0a 25 20 20 45 | before.|all.% E|
|000050d0| 4e 44 0a 25 0a 25 20 54 | 68 65 20 66 69 6e 2e 65 |ND.%.% T|he fin.e|
|000050e0| 6e 74 72 79 20 66 75 6e | 63 74 69 6f 6e 20 66 69 |ntry fun|ction fi|
|000050f0| 6e 69 73 68 65 73 20 6f | 66 66 20 61 6e 20 65 6e |nishes o|ff an en|
|00005100| 74 72 79 20 62 79 20 61 | 64 64 69 6e 67 20 61 20 |try by a|dding a |
|00005110| 70 65 72 69 6f 64 20 74 | 6f 20 74 68 65 0a 25 20 |period t|o the.% |
|00005120| 73 74 72 69 6e 67 20 72 | 65 6d 61 69 6e 69 6e 67 |string r|emaining|
|00005130| 20 6f 6e 20 74 68 65 20 | 73 74 61 63 6b 2e 20 20 | on the |stack. |
|00005140| 49 66 20 74 68 65 20 73 | 74 61 74 65 20 69 73 20 |If the s|tate is |
|00005150| 73 74 69 6c 6c 20 62 65 | 66 6f 72 65 2e 61 6c 6c |still be|fore.all|
|00005160| 0a 25 20 74 68 65 6e 20 | 6e 6f 74 68 69 6e 67 20 |.% then |nothing |
|00005170| 77 61 73 20 70 72 6f 64 | 75 63 65 64 20 66 6f 72 |was prod|uced for|
|00005180| 20 74 68 69 73 20 65 6e | 74 72 79 2c 20 73 6f 20 | this en|try, so |
|00005190| 74 68 65 20 72 65 73 75 | 6c 74 20 77 69 6c 6c 20 |the resu|lt will |
|000051a0| 6c 6f 6f 6b 20 62 61 64 | 2c 0a 25 20 62 75 74 20 |look bad|,.% but |
|000051b0| 74 68 65 20 75 73 65 72 | 20 64 65 73 65 72 76 65 |the user| deserve|
|000051c0| 73 20 69 74 2e 20 28 57 | 65 20 64 6f 6e 27 74 20 |s it. (W|e don't |
|000051d0| 6f 6d 69 74 20 74 68 65 | 20 77 68 6f 6c 65 20 65 |omit the| whole e|
|000051e0| 6e 74 72 79 20 62 65 63 | 61 75 73 65 20 74 68 65 |ntry bec|ause the|
|000051f0| 0a 25 20 65 6e 74 72 79 | 20 77 61 73 20 63 69 74 |.% entry| was cit|
|00005200| 65 64 2c 20 61 6e 64 20 | 61 20 62 69 62 69 74 65 |ed, and |a bibite|
|00005210| 6d 20 69 73 20 6e 65 65 | 64 65 64 20 74 6f 20 64 |m is nee|ded to d|
|00005220| 65 66 69 6e 65 20 74 68 | 65 20 63 69 74 61 74 69 |efine th|e citati|
|00005230| 6f 6e 20 6c 61 62 65 6c | 2e 29 0a 25 0a 25 20 66 |on label|.).%.% f|
|00005240| 69 6e 2e 65 6e 74 72 79 | 20 3d 3d 0a 25 20 20 42 |in.entry| ==.% B|
|00005250| 45 47 49 4e 0a 25 20 20 | 20 20 20 20 20 77 72 69 |EGIN.% | wri|
|00005260| 74 65 24 28 61 64 64 2e | 70 65 72 69 6f 64 24 28 |te$(add.|period$(|
|00005270| 70 6f 70 28 29 29 29 0a | 25 20 20 20 20 20 20 20 |pop())).|% |
|00005280| 6e 65 77 6c 69 6e 65 24 | 0a 25 20 20 45 4e 44 0a |newline$|.% END.|
|00005290| 25 0a 25 20 54 68 65 20 | 6e 65 77 2e 62 6c 6f 63 |%.% The |new.bloc|
|000052a0| 6b 20 66 75 6e 63 74 69 | 6f 6e 20 70 72 65 70 61 |k functi|on prepa|
|000052b0| 72 65 73 20 66 6f 72 20 | 61 20 6e 65 77 20 62 6c |res for |a new bl|
|000052c0| 6f 63 6b 20 74 6f 20 62 | 65 20 6f 75 74 70 75 74 |ock to b|e output|
|000052d0| 2c 20 61 6e 64 0a 25 20 | 6e 65 77 2e 73 65 6e 74 |, and.% |new.sent|
|000052e0| 65 6e 63 65 20 70 72 65 | 70 61 72 65 73 20 66 6f |ence pre|pares fo|
|000052f0| 72 20 61 20 6e 65 77 20 | 73 65 6e 74 65 6e 63 65 |r a new |sentence|
|00005300| 2e 0a 25 0a 25 20 6e 65 | 77 2e 62 6c 6f 63 6b 20 |..%.% ne|w.block |
|00005310| 3d 3d 0a 25 20 20 42 45 | 47 49 4e 0a 25 20 20 20 |==.% BE|GIN.% |
|00005320| 20 20 20 20 69 66 20 6f | 75 74 70 75 74 2e 73 74 | if o|utput.st|
|00005330| 61 74 65 20 3c 3e 20 62 | 65 66 6f 72 65 2e 61 6c |ate <> b|efore.al|
|00005340| 6c 20 74 68 65 6e 0a 25 | 20 20 20 20 20 20 20 20 |l then.%| |
|00005350| 20 20 20 6f 75 74 70 75 | 74 2e 73 74 61 74 65 20 | outpu|t.state |
|00005360| 3a 3d 20 61 66 74 65 72 | 2e 62 6c 6f 63 6b 0a 25 |:= after|.block.%|
|00005370| 20 20 20 20 20 20 20 66 | 69 0a 25 20 20 45 4e 44 | f|i.% END|
|00005380| 0a 25 0a 25 20 6e 65 77 | 2e 73 65 6e 74 65 6e 63 |.%.% new|.sentenc|
|00005390| 65 20 3d 3d 0a 25 20 20 | 42 45 47 49 4e 0a 25 20 |e ==.% |BEGIN.% |
|000053a0| 20 20 20 20 20 20 69 66 | 20 6f 75 74 70 75 74 2e | if| output.|
|000053b0| 73 74 61 74 65 20 3c 3e | 20 61 66 74 65 72 2e 62 |state <>| after.b|
|000053c0| 6c 6f 63 6b 20 74 68 65 | 6e 0a 25 20 20 20 20 20 |lock the|n.% |
|000053d0| 20 20 20 20 20 20 69 66 | 20 6f 75 74 70 75 74 2e | if| output.|
|000053e0| 73 74 61 74 65 20 3c 3e | 20 62 65 66 6f 72 65 2e |state <>| before.|
|000053f0| 61 6c 6c 20 74 68 65 6e | 0a 25 20 20 20 20 20 20 |all then|.% |
|00005400| 20 20 20 20 20 20 20 20 | 20 6f 75 74 70 75 74 2e | | output.|
|00005410| 73 74 61 74 65 20 3a 3d | 20 20 61 66 74 65 72 2e |state :=| after.|
|00005420| 73 65 6e 74 65 6e 63 65 | 0a 25 20 20 20 20 20 20 |sentence|.% |
|00005430| 20 20 20 20 20 66 69 0a | 25 20 20 20 20 20 20 20 | fi.|% |
|00005440| 66 69 0a 25 20 20 45 4e | 44 0a 25 0a 0a 49 4e 54 |fi.% EN|D.%..INT|
|00005450| 45 47 45 52 53 20 7b 20 | 6f 75 74 70 75 74 2e 73 |EGERS { |output.s|
|00005460| 74 61 74 65 20 62 65 66 | 6f 72 65 2e 61 6c 6c 20 |tate bef|ore.all |
|00005470| 6d 69 64 2e 73 65 6e 74 | 65 6e 63 65 20 61 66 74 |mid.sent|ence aft|
|00005480| 65 72 2e 73 65 6e 74 65 | 6e 63 65 20 61 66 74 65 |er.sente|nce afte|
|00005490| 72 2e 62 6c 6f 63 6b 20 | 7d 0a 0a 46 55 4e 43 54 |r.block |}..FUNCT|
|000054a0| 49 4f 4e 20 7b 69 6e 69 | 74 2e 73 74 61 74 65 2e |ION {ini|t.state.|
|000054b0| 63 6f 6e 73 74 73 7d 0a | 7b 20 23 30 20 27 62 65 |consts}.|{ #0 'be|
|000054c0| 66 6f 72 65 2e 61 6c 6c | 20 3a 3d 0a 20 20 23 31 |fore.all| :=. #1|
|000054d0| 20 27 6d 69 64 2e 73 65 | 6e 74 65 6e 63 65 20 3a | 'mid.se|ntence :|
|000054e0| 3d 0a 20 20 23 32 20 27 | 61 66 74 65 72 2e 73 65 |=. #2 '|after.se|
|000054f0| 6e 74 65 6e 63 65 20 3a | 3d 0a 20 20 23 33 20 27 |ntence :|=. #3 '|
|00005500| 61 66 74 65 72 2e 62 6c | 6f 63 6b 20 3a 3d 0a 7d |after.bl|ock :=.}|
|00005510| 0a 0a 25 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |..% the |variable|
|00005520| 73 20 73 20 61 6e 64 20 | 74 20 61 72 65 20 74 65 |s s and |t are te|
|00005530| 6d 70 6f 72 61 72 79 20 | 73 74 72 69 6e 67 20 68 |mporary |string h|
|00005540| 6f 6c 64 65 72 73 0a 0a | 53 54 52 49 4e 47 53 20 |olders..|STRINGS |
|00005550| 7b 20 73 20 74 20 7d 0a | 0a 46 55 4e 43 54 49 4f |{ s t }.|.FUNCTIO|
|00005560| 4e 20 7b 6f 75 74 70 75 | 74 2e 6e 6f 6e 6e 75 6c |N {outpu|t.nonnul|
|00005570| 6c 7d 0a 7b 20 27 73 20 | 3a 3d 0a 20 20 6f 75 74 |l}.{ 's |:=. out|
|00005580| 70 75 74 2e 73 74 61 74 | 65 20 6d 69 64 2e 73 65 |put.stat|e mid.se|
|00005590| 6e 74 65 6e 63 65 20 3d | 0a 20 20 20 20 7b 20 22 |ntence =|. { "|
|000055a0| 2c 20 22 20 2a 20 77 72 | 69 74 65 24 20 7d 0a 20 |, " * wr|ite$ }. |
|000055b0| 20 20 20 7b 20 6f 75 74 | 70 75 74 2e 73 74 61 74 | { out|put.stat|
|000055c0| 65 20 61 66 74 65 72 2e | 62 6c 6f 63 6b 20 3d 0a |e after.|block =.|
|000055d0| 20 20 20 20 20 20 20 20 | 7b 20 61 64 64 2e 70 65 | |{ add.pe|
|000055e0| 72 69 6f 64 24 20 77 72 | 69 74 65 24 0a 20 20 20 |riod$ wr|ite$. |
|000055f0| 20 20 20 20 20 20 20 6e | 65 77 6c 69 6e 65 24 0a | n|ewline$.|
|00005600| 20 20 20 20 20 20 20 20 | 20 20 22 5c 6e 65 77 62 | | "\newb|
|00005610| 6c 6f 63 6b 20 22 20 77 | 72 69 74 65 24 0a 20 20 |lock " w|rite$. |
|00005620| 20 20 20 20 20 20 7d 0a | 20 20 20 20 20 20 20 20 | }.| |
|00005630| 7b 20 6f 75 74 70 75 74 | 2e 73 74 61 74 65 20 62 |{ output|.state b|
|00005640| 65 66 6f 72 65 2e 61 6c | 6c 20 3d 0a 20 20 20 20 |efore.al|l =. |
|00005650| 20 20 20 20 20 20 20 20 | 27 77 72 69 74 65 24 0a | |'write$.|
|00005660| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 20 61 64 | | { ad|
|00005670| 64 2e 70 65 72 69 6f 64 | 24 20 22 20 22 20 2a 20 |d.period|$ " " * |
|00005680| 77 72 69 74 65 24 20 7d | 0a 20 20 20 20 20 20 20 |write$ }|. |
|00005690| 20 20 20 69 66 24 0a 20 | 20 20 20 20 20 20 20 7d | if$. | }|
|000056a0| 0a 20 20 20 20 20 20 69 | 66 24 0a 20 20 20 20 20 |. i|f$. |
|000056b0| 20 6d 69 64 2e 73 65 6e | 74 65 6e 63 65 20 27 6f | mid.sen|tence 'o|
|000056c0| 75 74 70 75 74 2e 73 74 | 61 74 65 20 3a 3d 0a 20 |utput.st|ate :=. |
|000056d0| 20 20 20 7d 0a 20 20 69 | 66 24 0a 20 20 73 0a 7d | }. i|f$. s.}|
|000056e0| 0a 0a 46 55 4e 43 54 49 | 4f 4e 20 7b 6f 75 74 70 |..FUNCTI|ON {outp|
|000056f0| 75 74 7d 0a 7b 20 64 75 | 70 6c 69 63 61 74 65 24 |ut}.{ du|plicate$|
|00005700| 20 65 6d 70 74 79 24 0a | 20 20 20 20 27 70 6f 70 | empty$.| 'pop|
|00005710| 24 0a 20 20 20 20 27 6f | 75 74 70 75 74 2e 6e 6f |$. 'o|utput.no|
|00005720| 6e 6e 75 6c 6c 0a 20 20 | 69 66 24 0a 7d 0a 0a 46 |nnull. |if$.}..F|
|00005730| 55 4e 43 54 49 4f 4e 20 | 7b 6f 75 74 70 75 74 2e |UNCTION |{output.|
|00005740| 63 68 65 63 6b 7d 0a 7b | 20 27 74 20 3a 3d 0a 20 |check}.{| 't :=. |
|00005750| 20 64 75 70 6c 69 63 61 | 74 65 24 20 65 6d 70 74 | duplica|te$ empt|
|00005760| 79 24 0a 20 20 20 20 7b | 20 70 6f 70 24 20 22 65 |y$. {| pop$ "e|
|00005770| 6d 70 74 79 20 22 20 74 | 20 2a 20 22 20 69 6e 20 |mpty " t| * " in |
|00005780| 22 20 2a 20 63 69 74 65 | 24 20 2a 20 77 61 72 6e |" * cite|$ * warn|
|00005790| 69 6e 67 24 20 7d 0a 20 | 20 20 20 27 6f 75 74 70 |ing$ }. | 'outp|
|000057a0| 75 74 2e 6e 6f 6e 6e 75 | 6c 6c 0a 20 20 69 66 24 |ut.nonnu|ll. if$|
|000057b0| 0a 7d 0a 0a 46 55 4e 43 | 54 49 4f 4e 20 7b 6f 75 |.}..FUNC|TION {ou|
|000057c0| 74 70 75 74 2e 62 69 62 | 69 74 65 6d 7d 0a 7b 20 |tput.bib|item}.{ |
|000057d0| 6e 65 77 6c 69 6e 65 24 | 0a 23 69 66 20 4c 41 42 |newline$|.#if LAB|
|000057e0| 5f 41 4c 50 48 0a 20 20 | 22 5c 62 69 62 69 74 65 |_ALPH. |"\bibite|
|000057f0| 6d 5b 22 20 77 72 69 74 | 65 24 0a 20 20 6c 61 62 |m[" writ|e$. lab|
|00005800| 65 6c 20 77 72 69 74 65 | 24 0a 20 20 22 5d 7b 22 |el write|$. "]{"|
|00005810| 20 77 72 69 74 65 24 0a | 23 65 6c 73 65 0a 20 20 | write$.|#else. |
|00005820| 22 5c 62 69 62 69 74 65 | 6d 7b 22 20 77 72 69 74 |"\bibite|m{" writ|
|00005830| 65 24 0a 23 65 6e 64 69 | 66 20 4c 41 42 5f 41 4c |e$.#endi|f LAB_AL|
|00005840| 50 48 0a 20 20 63 69 74 | 65 24 20 77 72 69 74 65 |PH. cit|e$ write|
|00005850| 24 0a 20 20 22 7d 22 20 | 77 72 69 74 65 24 0a 20 |$. "}" |write$. |
|00005860| 20 6e 65 77 6c 69 6e 65 | 24 0a 20 20 22 22 0a 20 | newline|$. "". |
|00005870| 20 62 65 66 6f 72 65 2e | 61 6c 6c 20 27 6f 75 74 | before.|all 'out|
|00005880| 70 75 74 2e 73 74 61 74 | 65 20 3a 3d 0a 7d 0a 0a |put.stat|e :=.}..|
|00005890| 25 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |% This f|unction |
|000058a0| 66 69 6e 69 73 68 65 73 | 20 61 6c 6c 20 65 6e 74 |finishes| all ent|
|000058b0| 72 69 65 73 2e 0a 0a 46 | 55 4e 43 54 49 4f 4e 20 |ries...F|UNCTION |
|000058c0| 7b 66 69 6e 2e 65 6e 74 | 72 79 7d 0a 7b 20 61 64 |{fin.ent|ry}.{ ad|
|000058d0| 64 2e 70 65 72 69 6f 64 | 24 0a 20 20 77 72 69 74 |d.period|$. writ|
|000058e0| 65 24 0a 20 20 6e 65 77 | 6c 69 6e 65 24 0a 7d 0a |e$. new|line$.}.|
|000058f0| 0a 46 55 4e 43 54 49 4f | 4e 20 7b 6e 65 77 2e 62 |.FUNCTIO|N {new.b|
|00005900| 6c 6f 63 6b 7d 0a 7b 20 | 6f 75 74 70 75 74 2e 73 |lock}.{ |output.s|
|00005910| 74 61 74 65 20 62 65 66 | 6f 72 65 2e 61 6c 6c 20 |tate bef|ore.all |
|00005920| 3d 0a 20 20 20 20 27 73 | 6b 69 70 24 0a 20 20 20 |=. 's|kip$. |
|00005930| 20 7b 20 61 66 74 65 72 | 2e 62 6c 6f 63 6b 20 27 | { after|.block '|
|00005940| 6f 75 74 70 75 74 2e 73 | 74 61 74 65 20 3a 3d 20 |output.s|tate := |
|00005950| 7d 0a 20 20 69 66 24 0a | 7d 0a 0a 46 55 4e 43 54 |}. if$.|}..FUNCT|
|00005960| 49 4f 4e 20 7b 6e 65 77 | 2e 73 65 6e 74 65 6e 63 |ION {new|.sentenc|
|00005970| 65 7d 0a 7b 20 6f 75 74 | 70 75 74 2e 73 74 61 74 |e}.{ out|put.stat|
|00005980| 65 20 61 66 74 65 72 2e | 62 6c 6f 63 6b 20 3d 0a |e after.|block =.|
|00005990| 20 20 20 20 27 73 6b 69 | 70 24 0a 20 20 20 20 7b | 'ski|p$. {|
|000059a0| 20 6f 75 74 70 75 74 2e | 73 74 61 74 65 20 62 65 | output.|state be|
|000059b0| 66 6f 72 65 2e 61 6c 6c | 20 3d 0a 20 20 20 20 20 |fore.all| =. |
|000059c0| 20 20 20 27 73 6b 69 70 | 24 0a 20 20 20 20 20 20 | 'skip|$. |
|000059d0| 20 20 7b 20 61 66 74 65 | 72 2e 73 65 6e 74 65 6e | { afte|r.senten|
|000059e0| 63 65 20 27 6f 75 74 70 | 75 74 2e 73 74 61 74 65 |ce 'outp|ut.state|
|000059f0| 20 3a 3d 20 7d 0a 20 20 | 20 20 20 20 69 66 24 0a | := }. | if$.|
|00005a00| 20 20 20 20 7d 0a 20 20 | 69 66 24 0a 7d 0a 0a 25 | }. |if$.}..%|
|00005a10| 20 54 68 65 73 65 20 74 | 68 72 65 65 20 66 75 6e | These t|hree fun|
|00005a20| 63 74 69 6f 6e 73 20 70 | 6f 70 20 6f 6e 65 20 6f |ctions p|op one o|
|00005a30| 72 20 74 77 6f 20 28 69 | 6e 74 65 67 65 72 29 20 |r two (i|nteger) |
|00005a40| 61 72 67 75 6d 65 6e 74 | 73 20 66 72 6f 6d 20 74 |argument|s from t|
|00005a50| 68 65 20 73 74 61 63 6b | 0a 25 20 61 6e 64 20 70 |he stack|.% and p|
|00005a60| 75 73 68 20 61 20 73 69 | 6e 67 6c 65 20 6f 6e 65 |ush a si|ngle one|
|00005a70| 2c 20 65 69 74 68 65 72 | 20 30 20 6f 72 20 31 2e |, either| 0 or 1.|
|00005a80| 0a 25 20 54 68 65 20 27 | 73 6b 69 70 24 20 69 6e |.% The '|skip$ in|
|00005a90| 20 74 68 65 20 60 61 6e | 64 27 20 61 6e 64 20 60 | the `an|d' and `|
|00005aa0| 6f 72 27 20 66 75 6e 63 | 74 69 6f 6e 73 20 61 72 |or' func|tions ar|
|00005ab0| 65 20 75 73 65 64 20 62 | 65 63 61 75 73 65 0a 25 |e used b|ecause.%|
|00005ac0| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00005ad0| 6e 67 20 69 66 24 20 77 | 6f 75 6c 64 20 62 65 20 |ng if$ w|ould be |
|00005ae0| 69 64 65 6d 70 6f 74 65 | 6e 74 0a 0a 46 55 4e 43 |idempote|nt..FUNC|
|00005af0| 54 49 4f 4e 20 7b 6e 6f | 74 7d 0a 7b 20 20 20 7b |TION {no|t}.{ {|
|00005b00| 20 23 30 20 7d 0a 20 20 | 20 20 7b 20 23 31 20 7d | #0 }. | { #1 }|
|00005b10| 0a 20 20 69 66 24 0a 7d | 0a 0a 46 55 4e 43 54 49 |. if$.}|..FUNCTI|
|00005b20| 4f 4e 20 7b 61 6e 64 7d | 0a 7b 20 20 20 27 73 6b |ON {and}|.{ 'sk|
|00005b30| 69 70 24 0a 20 20 20 20 | 7b 20 70 6f 70 24 20 23 |ip$. |{ pop$ #|
|00005b40| 30 20 7d 0a 20 20 69 66 | 24 0a 7d 0a 0a 46 55 4e |0 }. if|$.}..FUN|
|00005b50| 43 54 49 4f 4e 20 7b 6f | 72 7d 0a 7b 20 20 20 7b |CTION {o|r}.{ {|
|00005b60| 20 70 6f 70 24 20 23 31 | 20 7d 0a 20 20 20 20 27 | pop$ #1| }. '|
|00005b70| 73 6b 69 70 24 0a 20 20 | 69 66 24 0a 7d 0a 0a 25 |skip$. |if$.}..%|
|00005b80| 20 53 6f 6d 65 74 69 6d | 65 73 20 77 65 20 62 65 | Sometim|es we be|
|00005b90| 67 69 6e 20 61 20 6e 65 | 77 20 62 6c 6f 63 6b 20 |gin a ne|w block |
|00005ba0| 6f 6e 6c 79 20 69 66 20 | 74 68 65 20 62 6c 6f 63 |only if |the bloc|
|00005bb0| 6b 20 77 69 6c 6c 20 62 | 65 20 62 69 67 20 65 6e |k will b|e big en|
|00005bc0| 6f 75 67 68 2e 20 20 54 | 68 65 0a 25 20 6e 65 77 |ough. T|he.% new|
|00005bd0| 2e 62 6c 6f 63 6b 2e 63 | 68 65 63 6b 61 20 66 75 |.block.c|hecka fu|
|00005be0| 6e 63 74 69 6f 6e 20 69 | 73 73 75 65 73 20 61 20 |nction i|ssues a |
|00005bf0| 6e 65 77 2e 62 6c 6f 63 | 6b 20 69 66 20 69 74 73 |new.bloc|k if its|
|00005c00| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 6e 6f 6e | argumen|t is non|
|00005c10| 65 6d 70 74 79 3b 0a 25 | 20 6e 65 77 2e 62 6c 6f |empty;.%| new.blo|
|00005c20| 63 6b 2e 63 68 65 63 6b | 62 20 64 6f 65 73 20 74 |ck.check|b does t|
|00005c30| 68 65 20 73 61 6d 65 20 | 69 66 20 65 69 74 68 65 |he same |if eithe|
|00005c40| 72 20 6f 66 20 69 74 73 | 20 54 57 4f 20 61 72 67 |r of its| TWO arg|
|00005c50| 75 6d 65 6e 74 73 20 69 | 73 20 6e 6f 6e 65 6d 70 |uments i|s nonemp|
|00005c60| 74 79 2e 0a 0a 46 55 4e | 43 54 49 4f 4e 20 7b 6e |ty...FUN|CTION {n|
|00005c70| 65 77 2e 62 6c 6f 63 6b | 2e 63 68 65 63 6b 61 7d |ew.block|.checka}|
|00005c80| 0a 7b 20 65 6d 70 74 79 | 24 0a 20 20 20 20 27 73 |.{ empty|$. 's|
|00005c90| 6b 69 70 24 0a 20 20 20 | 20 27 6e 65 77 2e 62 6c |kip$. | 'new.bl|
|00005ca0| 6f 63 6b 0a 20 20 69 66 | 24 0a 7d 0a 0a 46 55 4e |ock. if|$.}..FUN|
|00005cb0| 43 54 49 4f 4e 20 7b 6e | 65 77 2e 62 6c 6f 63 6b |CTION {n|ew.block|
|00005cc0| 2e 63 68 65 63 6b 62 7d | 0a 7b 20 65 6d 70 74 79 |.checkb}|.{ empty|
|00005cd0| 24 0a 20 20 73 77 61 70 | 24 20 65 6d 70 74 79 24 |$. swap|$ empty$|
|00005ce0| 0a 20 20 61 6e 64 0a 20 | 20 20 20 27 73 6b 69 70 |. and. | 'skip|
|00005cf0| 24 0a 20 20 20 20 27 6e | 65 77 2e 62 6c 6f 63 6b |$. 'n|ew.block|
|00005d00| 0a 20 20 69 66 24 0a 7d | 0a 0a 25 20 54 68 65 20 |. if$.}|..% The |
|00005d10| 6e 65 77 2e 73 65 6e 74 | 65 6e 63 65 2e 63 68 65 |new.sent|ence.che|
|00005d20| 63 6b 20 66 75 6e 63 74 | 69 6f 6e 73 20 61 72 65 |ck funct|ions are|
|00005d30| 20 61 6e 61 6c 6f 67 6f | 75 73 2e 0a 0a 46 55 4e | analogo|us...FUN|
|00005d40| 43 54 49 4f 4e 20 7b 6e | 65 77 2e 73 65 6e 74 65 |CTION {n|ew.sente|
|00005d50| 6e 63 65 2e 63 68 65 63 | 6b 61 7d 0a 7b 20 65 6d |nce.chec|ka}.{ em|
|00005d60| 70 74 79 24 0a 20 20 20 | 20 27 73 6b 69 70 24 0a |pty$. | 'skip$.|
|00005d70| 20 20 20 20 27 6e 65 77 | 2e 73 65 6e 74 65 6e 63 | 'new|.sentenc|
|00005d80| 65 0a 20 20 69 66 24 0a | 7d 0a 0a 46 55 4e 43 54 |e. if$.|}..FUNCT|
|00005d90| 49 4f 4e 20 7b 6e 65 77 | 2e 73 65 6e 74 65 6e 63 |ION {new|.sentenc|
|00005da0| 65 2e 63 68 65 63 6b 62 | 7d 0a 7b 20 65 6d 70 74 |e.checkb|}.{ empt|
|00005db0| 79 24 0a 20 20 73 77 61 | 70 24 20 65 6d 70 74 79 |y$. swa|p$ empty|
|00005dc0| 24 0a 20 20 61 6e 64 0a | 20 20 20 20 27 73 6b 69 |$. and.| 'ski|
|00005dd0| 70 24 0a 20 20 20 20 27 | 6e 65 77 2e 73 65 6e 74 |p$. '|new.sent|
|00005de0| 65 6e 63 65 0a 20 20 69 | 66 24 0a 7d 0a 0a 25 20 |ence. i|f$.}..% |
|00005df0| 48 65 72 65 20 61 72 65 | 20 73 6f 6d 65 20 66 75 |Here are| some fu|
|00005e00| 6e 63 74 69 6f 6e 73 20 | 66 6f 72 20 66 6f 72 6d |nctions |for form|
|00005e10| 61 74 74 69 6e 67 20 63 | 68 75 6e 6b 73 20 6f 66 |atting c|hunks of|
|00005e20| 20 61 6e 20 65 6e 74 72 | 79 2e 0a 25 20 42 79 20 | an entr|y..% By |
|00005e30| 63 6f 6e 76 65 6e 74 69 | 6f 6e 20 74 68 65 79 20 |conventi|on they |
|00005e40| 65 69 74 68 65 72 20 70 | 72 6f 64 75 63 65 20 61 |either p|roduce a|
|00005e50| 20 73 74 72 69 6e 67 20 | 74 68 61 74 20 63 61 6e | string |that can|
|00005e60| 20 62 65 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 0a | be foll|owed by.|
|00005e70| 25 20 61 20 63 6f 6d 6d | 61 20 6f 72 20 70 65 72 |% a comm|a or per|
|00005e80| 69 6f 64 20 28 75 73 69 | 6e 67 20 61 64 64 2e 70 |iod (usi|ng add.p|
|00005e90| 65 72 69 6f 64 24 2c 20 | 73 6f 20 69 74 20 69 73 |eriod$, |so it is|
|00005ea0| 20 4f 4b 20 74 6f 20 65 | 6e 64 20 69 6e 20 61 20 | OK to e|nd in a |
|00005eb0| 70 65 72 69 6f 64 29 2c | 0a 25 20 6f 72 20 74 68 |period),|.% or th|
|00005ec0| 65 79 20 70 72 6f 64 75 | 63 65 20 74 68 65 20 6e |ey produ|ce the n|
|00005ed0| 75 6c 6c 20 73 74 72 69 | 6e 67 2e 0a 25 0a 25 20 |ull stri|ng..%.% |
|00005ee0| 41 20 75 73 65 66 75 6c | 20 75 74 69 6c 69 74 79 |A useful| utility|
|00005ef0| 20 69 73 20 74 68 65 20 | 66 69 65 6c 64 2e 6f 72 | is the |field.or|
|00005f00| 2e 6e 75 6c 6c 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |.null fu|nction, |
|00005f10| 77 68 69 63 68 20 63 68 | 65 63 6b 73 20 69 66 20 |which ch|ecks if |
|00005f20| 74 68 65 0a 25 20 61 72 | 67 75 6d 65 6e 74 20 69 |the.% ar|gument i|
|00005f30| 73 20 74 68 65 20 72 65 | 73 75 6c 74 20 6f 66 20 |s the re|sult of |
|00005f40| 70 75 73 68 69 6e 67 20 | 61 20 60 6d 69 73 73 69 |pushing |a `missi|
|00005f50| 6e 67 27 20 66 69 65 6c | 64 20 28 6f 6e 65 20 66 |ng' fiel|d (one f|
|00005f60| 6f 72 20 77 68 69 63 68 | 20 6e 6f 0a 25 20 61 73 |or which| no.% as|
|00005f70| 73 69 67 6e 6d 65 6e 74 | 20 77 61 73 20 6d 61 64 |signment| was mad|
|00005f80| 65 20 77 68 65 6e 20 74 | 68 65 20 63 75 72 72 65 |e when t|he curre|
|00005f90| 6e 74 20 65 6e 74 72 79 | 20 77 61 73 20 72 65 61 |nt entry| was rea|
|00005fa0| 64 20 69 6e 20 66 72 6f | 6d 20 74 68 65 20 64 61 |d in fro|m the da|
|00005fb0| 74 61 62 61 73 65 29 0a | 25 20 6f 72 20 74 68 65 |tabase).|% or the|
|00005fc0| 20 72 65 73 75 6c 74 20 | 6f 66 20 70 75 73 68 69 | result |of pushi|
|00005fd0| 6e 67 20 61 20 73 74 72 | 69 6e 67 20 68 61 76 69 |ng a str|ing havi|
|00005fe0| 6e 67 20 6e 6f 20 6e 6f | 6e 2d 77 68 69 74 65 2d |ng no no|n-white-|
|00005ff0| 73 70 61 63 65 20 63 68 | 61 72 61 63 74 65 72 73 |space ch|aracters|
|00006000| 2e 0a 25 20 49 74 20 72 | 65 74 75 72 6e 73 20 74 |..% It r|eturns t|
|00006010| 68 65 20 6e 75 6c 6c 20 | 73 74 72 69 6e 67 20 69 |he null |string i|
|00006020| 66 20 73 6f 2c 20 6f 74 | 68 65 72 77 69 73 65 20 |f so, ot|herwise |
|00006030| 69 74 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 66 |it retur|ns the f|
|00006040| 69 65 6c 64 20 73 74 72 | 69 6e 67 2e 0a 25 20 49 |ield str|ing..% I|
|00006050| 74 73 20 6d 61 69 6e 20 | 28 62 75 74 20 6e 6f 74 |ts main |(but not|
|00006060| 20 6f 6e 6c 79 29 20 70 | 75 72 70 6f 73 65 20 69 | only) p|urpose i|
|00006070| 73 20 74 6f 20 67 75 61 | 72 61 6e 74 65 65 20 74 |s to gua|rantee t|
|00006080| 68 61 74 20 77 68 61 74 | 27 73 20 6c 65 66 74 20 |hat what|'s left |
|00006090| 6f 6e 20 74 68 65 0a 25 | 20 73 74 61 63 6b 20 69 |on the.%| stack i|
|000060a0| 73 20 61 20 73 74 72 69 | 6e 67 20 72 61 74 68 65 |s a stri|ng rathe|
|000060b0| 72 20 74 68 61 6e 20 61 | 20 6d 69 73 73 69 6e 67 |r than a| missing|
|000060c0| 20 66 69 65 6c 64 2e 0a | 25 0a 25 20 66 69 65 6c | field..|%.% fiel|
|000060d0| 64 2e 6f 72 2e 6e 75 6c | 6c 28 73 29 20 3d 3d 0a |d.or.nul|l(s) ==.|
|000060e0| 25 20 20 42 45 47 49 4e | 0a 25 20 20 20 20 20 20 |% BEGIN|.% |
|000060f0| 20 69 66 20 65 6d 70 74 | 79 24 28 73 29 20 74 68 | if empt|y$(s) th|
|00006100| 65 6e 20 72 65 74 75 72 | 6e 20 22 22 0a 25 20 20 |en retur|n "".% |
|00006110| 20 20 20 20 20 65 6c 73 | 65 20 72 65 74 75 72 6e | els|e return|
|00006120| 20 73 0a 25 20 20 45 4e | 44 0a 25 0a 25 20 41 6e | s.% EN|D.%.% An|
|00006130| 6f 74 68 65 72 20 68 65 | 6c 70 65 72 20 66 75 6e |other he|lper fun|
|00006140| 63 74 69 6f 6e 20 69 73 | 20 65 6d 70 68 61 73 69 |ction is| emphasi|
|00006150| 7a 65 2c 20 77 68 69 63 | 68 20 72 65 74 75 72 6e |ze, whic|h return|
|00006160| 73 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 20 65 |s the ar|gument e|
|00006170| 6d 70 68 61 7a 69 73 65 | 64 2c 0a 25 20 69 66 20 |mphazise|d,.% if |
|00006180| 74 68 61 74 20 69 73 20 | 6e 6f 6e 2d 65 6d 70 74 |that is |non-empt|
|00006190| 79 2c 20 6f 74 68 65 72 | 77 69 73 65 20 69 74 20 |y, other|wise it |
|000061a0| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6e 75 6c 6c |returns |the null|
|000061b0| 20 73 74 72 69 6e 67 2e | 20 20 49 74 61 6c 69 63 | string.| Italic|
|000061c0| 0a 25 20 63 6f 72 72 65 | 63 74 69 6f 6e 73 20 61 |.% corre|ctions a|
|000061d0| 72 65 6e 27 74 20 75 73 | 65 64 2c 20 73 6f 20 74 |ren't us|ed, so t|
|000061e0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 73 68 6f |his func|tion sho|
|000061f0| 75 6c 64 20 62 65 20 75 | 73 65 64 20 77 68 65 6e |uld be u|sed when|
|00006200| 20 70 75 6e 63 74 61 74 | 69 6f 6e 0a 25 20 77 69 | punctat|ion.% wi|
|00006210| 6c 6c 20 66 6f 6c 6c 6f | 77 20 74 68 65 20 72 65 |ll follo|w the re|
|00006220| 73 75 6c 74 2e 0a 25 0a | 25 20 65 6d 70 68 61 73 |sult..%.|% emphas|
|00006230| 69 7a 65 28 73 29 20 3d | 3d 0a 25 20 20 42 45 47 |ize(s) =|=.% BEG|
|00006240| 49 4e 0a 25 20 20 20 20 | 20 20 20 69 66 20 65 6d |IN.% | if em|
|00006250| 70 74 79 24 28 73 29 20 | 74 68 65 6e 20 72 65 74 |pty$(s) |then ret|
|00006260| 75 72 6e 20 22 22 0a 25 | 20 20 20 20 20 20 20 65 |urn "".%| e|
|00006270| 6c 73 65 20 72 65 74 75 | 72 6e 20 22 7b 5c 65 6d |lse retu|rn "{\em|
|00006280| 20 22 20 2a 20 73 20 2a | 20 22 7d 22 0a 25 0a 25 | " * s *| "}".%.%|
|00006290| 20 54 68 65 20 66 6f 72 | 6d 61 74 2e 6e 61 6d 65 | The for|mat.name|
|000062a0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 72 6d 61 |s functi|on forma|
|000062b0| 74 73 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |ts the a|rgument |
|000062c0| 28 77 68 69 63 68 20 73 | 68 6f 75 6c 64 20 62 65 |(which s|hould be|
|000062d0| 20 69 6e 0a 25 20 42 69 | 62 54 65 58 20 6e 61 6d | in.% Bi|bTeX nam|
|000062e0| 65 20 66 6f 72 6d 61 74 | 29 20 69 6e 74 6f 20 22 |e format|) into "|
|000062f0| 46 69 72 73 74 20 56 6f | 6e 20 4c 61 73 74 2c 20 |First Vo|n Last, |
|00006300| 4a 75 6e 69 6f 72 22 2c | 20 73 65 70 61 72 61 74 |Junior",| separat|
|00006310| 65 64 20 62 79 20 63 6f | 6d 6d 61 73 0a 25 20 61 |ed by co|mmas.% a|
|00006320| 6e 64 20 77 69 74 68 20 | 61 6e 20 22 61 6e 64 22 |nd with |an "and"|
|00006330| 20 62 65 66 6f 72 65 20 | 74 68 65 20 6c 61 73 74 | before |the last|
|00006340| 20 28 62 75 74 20 65 6e | 64 69 6e 67 20 77 69 74 | (but en|ding wit|
|00006350| 68 20 22 65 74 7e 61 6c | 2e 22 20 69 66 20 74 68 |h "et~al|." if th|
|00006360| 65 20 6c 61 73 74 0a 25 | 20 6f 66 20 6d 75 6c 74 |e last.%| of mult|
|00006370| 69 70 6c 65 20 61 75 74 | 68 6f 72 73 20 69 73 20 |iple aut|hors is |
|00006380| 22 6f 74 68 65 72 73 22 | 29 2e 20 20 54 68 69 73 |"others"|). This|
|00006390| 20 66 75 6e 63 74 69 6f | 6e 27 73 20 61 72 67 75 | functio|n's argu|
|000063a0| 6d 65 6e 74 20 73 68 6f | 75 6c 64 20 61 6c 77 61 |ment sho|uld alwa|
|000063b0| 79 73 0a 25 20 63 6f 6e | 74 61 69 6e 20 61 74 20 |ys.% con|tain at |
|000063c0| 6c 65 61 73 74 20 6f 6e | 65 20 6e 61 6d 65 2e 0a |least on|e name..|
|000063d0| 25 0a 25 20 56 41 52 3a | 20 6e 61 6d 65 70 74 72 |%.% VAR:| nameptr|
|000063e0| 2c 20 6e 61 6d 65 73 6c | 65 66 74 2c 20 6e 75 6d |, namesl|eft, num|
|000063f0| 6e 61 6d 65 73 3a 20 49 | 4e 54 45 47 45 52 0a 25 |names: I|NTEGER.%|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.