Debian Codegraph @

texmf-dist/doc/latex/biblist/biblist.bst-dist

raw
1 Below is a shar with a diff to btxbst.doc and biblist.bst. btxbst.doc
2 is renamed to itibst.doc. Enjoy.
3
4 --
5 Joachim // PLEASE NOTE CHANGE OF EMAIL ADDRESS !!
6
7 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
8 Joachim Schrod Email: [email protected]
9 Computer Science Department
10 Technical University of Darmstadt, Germany
11
12
13 ================ snip snap ========================================
14 #! /bin/sh
15 # This is a shell archive. Remove anything before this line, then unpack
16 # it by saving it into a file and typing "sh file". To overwrite existing
17 # files, type "sh file -c". You can also feed this as standard input via
18 # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
19 # will see the following message at the end:
20 # "End of shell archive."
21 # Contents: itibst.diff biblist.bst
22 # Wrapped by schrod@itihp11 on Mon Jan 13 15:03:52 1992
23 PATH=/bin:/usr/bin:/usr/ucb ; export PATH
24 if test -f 'itibst.diff' -a "${1}" != "-c" ; then
25 echo shar: Will not clobber existing file \"'itibst.diff'\"
26 else
27 echo shar: Extracting \"'itibst.diff'\" \(28321 characters\)
28 sed "s/^X//" >'itibst.diff' <<'END_OF_FILE'
29 X*** 1.1 1991/10/15 10:34:27
30 X--- itibst.doc 1992/01/13 14:00:36
31 X***************
32 X*** 1,54 ****
33 X! % BibTeX `plain' family
34 X! % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
35 X! % Copyright (C) 1985, all rights reserved.
36 X! % Copying of this file is authorized only if either
37 X! % (1) you make absolutely no changes to your copy, including name, or
38 X! % (2) if you do make changes, you name it something other than
39 X! % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
40 X! % This restriction helps ensure that all standard styles are identical.
41 X! % The file btxbst.doc has the documentation for this style.
42 X! % Please notify Oren Patashnik ([email protected]) of any bugs in
43 X! % these standard styles or in this documentation file.
44 X %
45 X! % This is file btxbxt.doc; it helps document bibliography styles,
46 X % and is also a template file that you can use to make
47 X % several different style files, if you have access to a C preprocessor.
48 X! % For example, the standard styles were made by doing something like
49 X! % cpp -P -DPLAIN btxbst.doc plain.txt
50 X! % cpp -P -DUNSRT btxbst.doc unsrt.txt
51 X! % cpp -P -DALPHA btxbst.doc alpha.txt
52 X! % cpp -P -DABBRV btxbst.doc abbrv.txt
53 X! % and then renaming after removing unwanted comments and blank lines.
54 X! % If you don't have access,
55 X! % you can edit this file by hand to imitate the preprocessor,
56 X! % with the following explanation of the C preprocessor constructs used here.
57 X! %
58 X! % The output of the preprocessor is the same as the input, except that certain
59 X! % lines will be excluded (and some blank lines will be added). The sequence
60 X! % #if VAR
61 X! % lines to be included when VAR is not zero
62 X! % #else
63 X! % lines to be included when VAR is zero
64 X! % #endif
65 X! % (with the #-signs appearing in column 1) means that one set or the other of
66 X! % the lines are to be included depending on the value of VAR.
67 X! % The #else part is optional. Comments can be added after #else and #endif.
68 X! % Variables can be set by
69 X! % #define VAR value
70 X! % and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
71 X! % to see if it has none.
72 X! % Another #if form used in this file is #if !VAR, which includes the lines
73 X! % after the #if only if VAR is zero.
74 X! %
75 X! % Convention: Use all uppercase identifiers for these preprocessor variables
76 X! % so you can spot them easily
77 X! %
78 X! % The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
79 X! % or ABBRV (though PLAIN will be used by default if none is given),
80 X! % and the following lines will set various boolean variables to control the
81 X! % various lines that are chosen from the rest of the file.
82 X! % Each boolean variable should be set true (1) or false (0) in each style.
83 X! % Here are the current variables, and their meanings:
84 X % LAB_ALPH: an alphabetic label is used (if false then a numeric
85 X % label is used)
86 X % SORTED: the entries should be sorted by label (if nonnumeric)
87 X--- 1,71 ----
88 X! %% $Id: itibst.doc,v 1.3 1992/01/13 13:59:34 schrod Exp schrod $
89 X! %%----------------------------------------------------------------------
90 X! %% BibTeX `THD/ITI' family of bibliography styles
91 X! %% The file itibst.doc has the documentation for this style.
92 X! %% Please notify Joachim Schrod ([email protected]) of
93 X! %% any bugs in these styles or in this documentation file.
94 X! %%
95 X! %% CAVEAT: This is experimental software in an alpha-test version.
96 X! %% The documentation is not complete, installation instructions
97 X! %% are missing (or perhaps not updated), etc. Please send
98 X! %% bug reports (and, of course, repairs) to me, but do not expect
99 X! %% that I will react very soon. I will collect the stuff and will
100 X! %% incorporate it at a later date.
101 X! %%
102 X! %
103 X! % $Log: itibst.doc,v $
104 X! % Revision 1.3 1992/01/13 13:59:34 schrod
105 X! % In biblist style titles will not be lowered. The user should see
106 X! % what's in the database.
107 X! %
108 X! % The Id tag is now propagated to the styles. One must see from which
109 X! % version they were created.
110 X! %
111 X! % Replaced function format.annote with output.annote. The former
112 X! % concatenated the annote field which yielded an overflow of the
113 X! % global-string-size (at max. 1000).
114 X! % Well, I learned now that fields which might be very large (ie,
115 X! % more than 1000 chars) must not be used with operations like "*", only
116 X! % with functions like empty$, write$, etc. Of course, these arbitrary
117 X! % limits are not documented...
118 X! % (This error was pointed out by Joseph Gil <[email protected]>.)
119 X! %
120 X! % Revision 1.2 1991/10/15 10:35:32 schrod
121 X! % added support for GERMAN, ISBN, ANNOTATE, and LIBRARY.
122 X! % added REFERENCE.
123 X! % added styles ALPH_ABBRV and BIBLIST.
124 X! % defined ATIT_LOWER conditionally.
125 X %
126 X! % checked in for alpha distribution.
127 X! %
128 X! %
129 X! % This is file itibst.doc; it helps document bibliography styles,
130 X % and is also a template file that you can use to make
131 X % several different style files, if you have access to a C preprocessor.
132 X! %
133 X! % identifiers:
134 X! %
135 X! % UNSRT bst unsrt: numbers, unsorted, unabbreviated
136 X! % ALPHA bst alpha: short alphabetics, sorted, unabbreviated
137 X! % ABBRV bst abbrv: numbers, sorted, abbreviated
138 X! % ALPH_ABBRV bst alph-abbrv: short alphabetics, sorted, abbreviated
139 X! % PLAIN bst plain: numbers, sorted, unabbreviated
140 X! % (all 5 by default with lowered titles)
141 X! %
142 X! % BIBLIST bst biblist: for listings of bib files,
143 X! % cite keys, unsorted, unabbreviated, not lowered
144 X! % (defines REFERENCE and sets ATIT_LOWER to 0)
145 X! %
146 X! % GERMAN not-lowered titles
147 X! % german texts (not complete!!!)
148 X! % REFERENCE sets ISBN, ANNOTATE, LIBRARY
149 X! %
150 X! % ISBN adds support for ISBN and ISSN
151 X! % ANNOTATE adds support for annotations
152 X! % LIBRARY adds support for library info
153 X! %
154 X! %
155 X! % in fact, the following identifiers are used internally:
156 X % LAB_ALPH: an alphabetic label is used (if false then a numeric
157 X % label is used)
158 X % SORTED: the entries should be sorted by label (if nonnumeric)
159 X***************
160 X*** 57,114 ****
161 X % NAME_FULL: the authors, editors, etc., get the full names as
162 X % given in the bibliography file (if false, the first
163 X % names become initials)
164 X- % ATIT_LOWER: titles of non-"books" (e.g., articles) should be
165 X- % converted to lower-case, except the first letter or
166 X- % first letter after a colon
167 X- % (if false then they appear as in the database)
168 X % MONTH_FULL: months are spelled out in full (if false, then
169 X % they're abbreviated)
170 X % JOUR_FULL: macro journal names are spelled out in full
171 X % (if false then they are abbreviated, currently
172 X % as they appear in ACM publications)
173 X! #ifndef UNSRT
174 X! # ifndef ALPHA
175 X! # ifndef ABBRV
176 X! # define PLAIN 1
177 X! # endif
178 X! # endif
179 X! #endif
180 X! #ifdef PLAIN
181 X! % plain style (sorted numbers)
182 X! # define LAB_ALPH 0
183 X! # define SORTED 1
184 X! # define NAME_FULL 1
185 X! # define ATIT_LOWER 1
186 X! # define MONTH_FULL 1
187 X! # define JOUR_FULL 1
188 X #endif
189 X #ifdef UNSRT
190 X! % unsrt style (unsorted numbers)
191 X # define LAB_ALPH 0
192 X # define SORTED 0
193 X # define NAME_FULL 1
194 X! # define ATIT_LOWER 1
195 X # define MONTH_FULL 1
196 X # define JOUR_FULL 1
197 X #endif
198 X #ifdef ALPHA
199 X! % alpha style (sorted short alphabetics)
200 X # define LAB_ALPH 1
201 X # define SORTED 1
202 X! # define NAME_FULL 1
203 X # define ATIT_LOWER 1
204 X # define MONTH_FULL 1
205 X # define JOUR_FULL 1
206 X #endif
207 X #ifdef ABBRV
208 X! % abbrv style (sorted numbers, with abbreviations)
209 X # define LAB_ALPH 0
210 X # define SORTED 1
211 X # define NAME_FULL 0
212 X # define ATIT_LOWER 1
213 X # define MONTH_FULL 0
214 X # define JOUR_FULL 0
215 X #endif
216 X %
217 X % Entry formatting: Similar to that recommended by Mary-Claire van Leunen
218 X % in "A Handbook for Scholars". Book-like titles are italicized
219 X--- 74,185 ----
220 X % NAME_FULL: the authors, editors, etc., get the full names as
221 X % given in the bibliography file (if false, the first
222 X % names become initials)
223 X % MONTH_FULL: months are spelled out in full (if false, then
224 X % they're abbreviated)
225 X % JOUR_FULL: macro journal names are spelled out in full
226 X % (if false then they are abbreviated, currently
227 X % as they appear in ACM publications)
228 X! %
229 X! % this might be set on request:
230 X! % ATIT_LOWER: titles of non-"books" (e.g., articles) should be
231 X! % converted to lower-case, except the first letter or
232 X! % first letter after a colon
233 X! % (if false then they appear as in the database)
234 X! %
235 X! % PLAIN is default!
236 X! %
237 X! %
238 X! % creation:
239 X! %
240 X! % /lib/cpp -P [ defines ] itibst.doc |
241 X! % perl -n -e 's/^%$//; s/^%[^%].*//; print unless $_ eq "\n";' \
242 X! % >style.bst
243 X! %
244 X! #ifdef GERMAN
245 X! %% german texts
246 X! # define ATIT_LOWER 0
247 X #endif
248 X #ifdef UNSRT
249 X! %% unsrt style (unsorted numbers)
250 X # define LAB_ALPH 0
251 X # define SORTED 0
252 X # define NAME_FULL 1
253 X! # ifndef ATIT_LOWER
254 X! # define ATIT_LOWER 1
255 X! # endif
256 X # define MONTH_FULL 1
257 X # define JOUR_FULL 1
258 X #endif
259 X #ifdef ALPHA
260 X! %% alpha style (sorted short alphabetics)
261 X # define LAB_ALPH 1
262 X # define SORTED 1
263 X! # define NAME_FULL 0
264 X! #ifndef ATIT_LOWER
265 X # define ATIT_LOWER 1
266 X+ #endif
267 X # define MONTH_FULL 1
268 X # define JOUR_FULL 1
269 X #endif
270 X #ifdef ABBRV
271 X! %% abbrv style (sorted numbers, with abbreviations)
272 X # define LAB_ALPH 0
273 X # define SORTED 1
274 X # define NAME_FULL 0
275 X+ #ifndef ATIT_LOWER
276 X+ # define ATIT_LOWER 1
277 X+ #endif
278 X+ # define MONTH_FULL 0
279 X+ # define JOUR_FULL 0
280 X+ #endif
281 X+ #ifdef ALPH_ABBRV
282 X+ %% alph-abbrv style (sorted short alphabetics, with abbreviations)
283 X+ # define LAB_ALPH 1
284 X+ # define SORTED 1
285 X+ # define NAME_FULL 0
286 X+ #ifndef ATIT_LOWER
287 X # define ATIT_LOWER 1
288 X+ #endif
289 X # define MONTH_FULL 0
290 X # define JOUR_FULL 0
291 X #endif
292 X+ #ifdef BIBLIST
293 X+ %% biblist style (unsorted, for listings of bib files)
294 X+ # define LAB_ALPH 0
295 X+ # define SORTED 0
296 X+ # define NAME_FULL 1
297 X+ #ifndef ATIT_LOWER
298 X+ # define ATIT_LOWER 0
299 X+ #endif
300 X+ # define MONTH_FULL 1
301 X+ # define JOUR_FULL 1
302 X+ # define REFERENCE
303 X+ #endif
304 X+ #ifndef SORTED /* use PLAIN */
305 X+ %% plain style (sorted numbers)
306 X+ # define LAB_ALPH 0
307 X+ # define SORTED 1
308 X+ # define NAME_FULL 1
309 X+ # ifndef ATIT_LOWER
310 X+ # define ATIT_LOWER 1
311 X+ # endif
312 X+ # define MONTH_FULL 1
313 X+ # define JOUR_FULL 1
314 X+ #endif
315 X+ #ifdef REFERENCE
316 X+ # define ISBN 1
317 X+ # define ANNOTATE 1
318 X+ # define LIBRARY 1
319 X+ #endif
320 X+ #ifndef ISBN
321 X+ # define ISBN 0
322 X+ #endif
323 X+ #ifndef ANNOTATE
324 X+ # define ANNOTATE 0
325 X+ #endif
326 X+ #ifndef LIBRARY
327 X+ # define LIBRARY 0
328 X+ #endif
329 X %
330 X % Entry formatting: Similar to that recommended by Mary-Claire van Leunen
331 X % in "A Handbook for Scholars". Book-like titles are italicized
332 X***************
333 X*** 199,206 ****
334 X % however, it's the address of the conference; for those two entry
335 X % types, include the publisher's or organization's address, if
336 X % necessary, in the publisher or organization field.
337 X! % annote
338 X % Long annotation---for annotated bibliographies (begins sentence).
339 X author
340 X % Name(s) of author(s), in BibTeX name format.
341 X booktitle
342 X--- 270,279 ----
343 X % however, it's the address of the conference; for those two entry
344 X % types, include the publisher's or organization's address, if
345 X % necessary, in the publisher or organization field.
346 X! #if ANNOTATE
347 X! annote
348 X % Long annotation---for annotated bibliographies (begins sentence).
349 X+ #endif
350 X author
351 X % Name(s) of author(s), in BibTeX name format.
352 X booktitle
353 X***************
354 X*** 218,228 ****
355 X--- 291,311 ----
356 X % How something strange has been published (begins sentence).
357 X institution
358 X % Sponsoring institution of a technical report.
359 X+ #if ISBN
360 X+ isbn
361 X+ % ISBN of book
362 X+ issn
363 X+ % ISSN of periodical
364 X+ #endif
365 X journal
366 X % Journal name (macros are provided for many).
367 X key
368 X % Alphabetizing, labeling, and cross-referencing key
369 X % (needed when an entry has no author or editor).
370 X+ #if LIBRARY
371 X+ library
372 X+ % Library signature
373 X+ #endif
374 X month
375 X % Month (macros are provided).
376 X note
377 X***************
378 X*** 380,385 ****
379 X--- 463,491 ----
380 X % output.state := before.all
381 X % END
382 X %
383 X+ #if ANNOTATE
384 X+ % The output.annote function writes the annotation for the current
385 X+ % entry. It must not use the concatenation operator since an
386 X+ % annotation may be rather long and BibTeX has an arbitrary limit
387 X+ % (1000) on the length of strings.
388 X+ %
389 X+ % In fact, this function is defined later, since it needs new.block
390 X+ % which is not defined yet.
391 X+ %
392 X+ % output.annote ==
393 X+ % BEGIN
394 X+ % if not empty$(annote) then
395 X+ % new.block
396 X+ % prepare for output of "\annote "
397 X+ % newline$
398 X+ % write$("\annote ")
399 X+ % write$(annote)
400 X+ % newline$
401 X+ % push "\endannote" on stack % for fin.entry
402 X+ % fi
403 X+ % END
404 X+ %
405 X+ #endif
406 X % The fin.entry function finishes off an entry by adding a period to the
407 X % string remaining on the stack. If the state is still before.all
408 X % then nothing was produced for this entry, so the result will look bad,
409 X***************
410 X*** 503,508 ****
411 X--- 609,629 ----
412 X if$
413 X }
414 X
415 X+ #if ANNOTATE
416 X+ FUNCTION {output.annote}
417 X+ {
418 X+ annote empty$
419 X+ { }
420 X+ {
421 X+ new.block "\annote " output
422 X+ newline$ write$
423 X+ annote write$ newline$
424 X+ "\endannote"
425 X+ }
426 X+ if$
427 X+ }
428 X+ #endif
429 X+
430 X % These three functions pop one or two (integer) arguments from the stack
431 X % and push a single one, either 0 or 1.
432 X % The 'skip$ in the `and' and `or' functions are used because
433 X***************
434 X*** 591,597 ****
435 X % emphasize(s) ==
436 X % BEGIN
437 X % if empty$(s) then return ""
438 X! % else return "{\em " * s * "}"
439 X %
440 X % The format.names function formats the argument (which should be in
441 X % BibTeX name format) into "First Von Last, Junior", separated by commas
442 X--- 712,718 ----
443 X % emphasize(s) ==
444 X % BEGIN
445 X % if empty$(s) then return ""
446 X! % else return "{\it " * s * "}"
447 X %
448 X % The format.names function formats the argument (which should be in
449 X % BibTeX name format) into "First Von Last, Junior", separated by commas
450 X***************
451 X*** 615,626 ****
452 X--- 736,755 ----
453 X % t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
454 X % if nameptr > 1 then
455 X % if namesleft > 1 then nameresult := nameresult * ", " * t
456 X+ #ifndef GERMAN
457 X % else if numnames > 2
458 X % then nameresult := nameresult * ","
459 X % fi
460 X % if t = "others"
461 X+ #else /* GERMAN */
462 X+ % else if t = "others"
463 X+ #endif /* GERMAN */
464 X % then nameresult := nameresult * " et~al."
465 X+ #ifndef GERMAN
466 X % else nameresult := nameresult * " and " * t
467 X+ #else /* GERMAN */
468 X+ % else nameresult := nameresult * " und " * t
469 X+ #endif /* GERMAN */
470 X % fi
471 X % fi
472 X % else nameresult := t
473 X***************
474 X*** 672,678 ****
475 X FUNCTION {emphasize}
476 X { duplicate$ empty$
477 X { pop$ "" }
478 X! { "{\em " swap$ * "}" * }
479 X if$
480 X }
481 X
482 X--- 801,807 ----
483 X FUNCTION {emphasize}
484 X { duplicate$ empty$
485 X { pop$ "" }
486 X! { "{\it " swap$ * "}" * }
487 X if$
488 X }
489 X
490 X***************
491 X*** 692,704 ****
492 X--- 821,841 ----
493 X nameptr #1 >
494 X { namesleft #1 >
495 X { ", " * t * }
496 X+ #ifndef GERMAN
497 X { numnames #2 >
498 X { "," * }
499 X 'skip$
500 X if$
501 X t "others" =
502 X+ #else /* GERMAN */
503 X+ { t "others" =
504 X+ #endif /* GERMAN */
505 X { " et~al." * }
506 X+ #ifndef GERMAN
507 X { " and " * t * }
508 X+ #else /* GERMAN */
509 X+ { " und " * t * }
510 X+ #endif /* GERMAN */
511 X if$
512 X }
513 X if$
514 X***************
515 X*** 730,735 ****
516 X--- 867,898 ----
517 X if$
518 X }
519 X
520 X+ #if ISBN
521 X+ FUNCTION {format.isbn}
522 X+ { isbn empty$
523 X+ { "" }
524 X+ { new.sentence "ISBN~" isbn * }
525 X+ if$
526 X+ }
527 X+
528 X+ FUNCTION {format.issn}
529 X+ { issn empty$
530 X+ { "" }
531 X+ { new.sentence "ISSN~" issn * }
532 X+ if$
533 X+ }
534 X+ #endif
535 X+
536 X+ #if LIBRARY
537 X+ FUNCTION {format.library}
538 X+ { library empty$
539 X+ { "" }
540 X+ { "\library{" library * "}" * }
541 X+ if$
542 X+ }
543 X+ #endif
544 X+
545 X+
546 X % The format.title function is used for non-book-like titles.
547 X % For most styles we convert to lowercase (except for the very first letter,
548 X % and except for the first one after a colon (followed by whitespace)),
549 X***************
550 X*** 992,999 ****
551 X--- 1155,1167 ----
552 X { pages empty$
553 X { "" }
554 X { pages multi.page.check
555 X+ #ifndef GERMAN
556 X { "pages" pages n.dashify tie.or.space.connect }
557 X { "page" pages tie.or.space.connect }
558 X+ #else /* GERMAN */
559 X+ { "Seiten" pages n.dashify tie.or.space.connect }
560 X+ { "Seite" pages tie.or.space.connect }
561 X+ #endif /* GERMAN */
562 X if$
563 X }
564 X if$
565 X***************
566 X*** 1151,1157 ****
567 X warning$
568 X ""
569 X }
570 X! { "In {\em " journal * "\/}" * }
571 X if$
572 X }
573 X { "In " key * }
574 X--- 1319,1325 ----
575 X warning$
576 X ""
577 X }
578 X! { "In {\it " journal * "\/}" * }
579 X if$
580 X }
581 X { "In " key * }
582 X***************
583 X*** 1172,1178 ****
584 X--- 1340,1350 ----
585 X 'skip$
586 X { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
587 X { " et~al." * }
588 X+ #ifndef GERMAN
589 X { " and " * editor #2 "{vv~}{ll}" format.name$ * }
590 X+ #else
591 X+ { " und " * editor #2 "{vv~}{ll}" format.name$ * }
592 X+ #endif
593 X if$
594 X }
595 X if$
596 X***************
597 X*** 1204,1210 ****
598 X crossref * warning$
599 X "" *
600 X }
601 X! { "{\em " * series * "\/}" * }
602 X if$
603 X }
604 X { key * }
605 X--- 1376,1382 ----
606 X crossref * warning$
607 X "" *
608 X }
609 X! { "{\it " * series * "\/}" * }
610 X if$
611 X }
612 X { key * }
613 X***************
614 X*** 1231,1237 ****
615 X crossref * warning$
616 X ""
617 X }
618 X! { "In {\em " booktitle * "\/}" * }
619 X if$
620 X }
621 X { "In " key * }
622 X--- 1403,1409 ----
623 X crossref * warning$
624 X ""
625 X }
626 X! { "In {\it " booktitle * "\/}" * }
627 X if$
628 X }
629 X { "In " key * }
630 X***************
631 X*** 1313,1318 ****
632 X--- 1485,1494 ----
633 X
634 X FUNCTION {article}
635 X { output.bibitem
636 X+ #if LIBRARY
637 X+ format.library output
638 X+ new.sentence
639 X+ #endif
640 X format.authors "author" output.check
641 X new.block
642 X format.title "title" output.check
643 X***************
644 X*** 1326,1338 ****
645 X--- 1502,1524 ----
646 X format.pages output
647 X }
648 X if$
649 X+ #if ISBN
650 X+ format.issn output
651 X+ #endif
652 X new.block
653 X note output
654 X+ #if ANNOTATE
655 X+ output.annote
656 X+ #endif
657 X fin.entry
658 X }
659 X
660 X FUNCTION {book}
661 X { output.bibitem
662 X+ #if LIBRARY
663 X+ format.library output
664 X+ new.sentence
665 X+ #endif
666 X author empty$
667 X { format.editors "author and editor" output.check }
668 X { format.authors output.nonnull
669 X***************
670 X*** 1358,1365 ****
671 X--- 1544,1557 ----
672 X if$
673 X format.edition output
674 X format.date "year" output.check
675 X+ #if ISBN
676 X+ format.isbn output
677 X+ #endif
678 X new.block
679 X note output
680 X+ #if ANNOTATE
681 X+ output.annote
682 X+ #endif
683 X fin.entry
684 X }
685 X
686 X***************
687 X*** 1369,1374 ****
688 X--- 1561,1570 ----
689 X
690 X FUNCTION {booklet}
691 X { output.bibitem
692 X+ #if LIBRARY
693 X+ format.library output
694 X+ new.sentence
695 X+ #endif
696 X format.authors output
697 X new.block
698 X format.title "title" output.check
699 X***************
700 X*** 1378,1383 ****
701 X--- 1574,1582 ----
702 X format.date output
703 X new.block
704 X note output
705 X+ #if ANNOTATE
706 X+ output.annote
707 X+ #endif
708 X fin.entry
709 X }
710 X
711 X***************
712 X*** 1391,1396 ****
713 X--- 1590,1599 ----
714 X
715 X FUNCTION {inbook}
716 X { output.bibitem
717 X+ #if LIBRARY
718 X+ format.library output
719 X+ new.sentence
720 X+ #endif
721 X author empty$
722 X { format.editors "author and editor" output.check }
723 X { format.authors output.nonnull
724 X***************
725 X*** 1418,1425 ****
726 X--- 1621,1634 ----
727 X if$
728 X format.edition output
729 X format.date "year" output.check
730 X+ #if ISBN
731 X+ format.isbn output
732 X+ #endif
733 X new.block
734 X note output
735 X+ #if ANNOTATE
736 X+ output.annote
737 X+ #endif
738 X fin.entry
739 X }
740 X
741 X***************
742 X*** 1432,1437 ****
743 X--- 1641,1650 ----
744 X
745 X FUNCTION {incollection}
746 X { output.bibitem
747 X+ #if LIBRARY
748 X+ format.library output
749 X+ new.sentence
750 X+ #endif
751 X format.authors "author" output.check
752 X new.block
753 X format.title "title" output.check
754 X***************
755 X*** 1451,1458 ****
756 X--- 1664,1677 ----
757 X format.chapter.pages output
758 X }
759 X if$
760 X+ #if ISBN
761 X+ format.isbn output
762 X+ #endif
763 X new.block
764 X note output
765 X+ #if ANNOTATE
766 X+ output.annote
767 X+ #endif
768 X fin.entry
769 X }
770 X
771 X***************
772 X*** 1465,1470 ****
773 X--- 1684,1693 ----
774 X
775 X FUNCTION {inproceedings}
776 X { output.bibitem
777 X+ #if LIBRARY
778 X+ format.library output
779 X+ new.sentence
780 X+ #endif
781 X format.authors "author" output.check
782 X new.block
783 X format.title "title" output.check
784 X***************
785 X*** 1492,1499 ****
786 X--- 1715,1729 ----
787 X format.pages output
788 X }
789 X if$
790 X+ #if ISBN
791 X+ format.isbn output
792 X+ format.issn output
793 X+ #endif
794 X new.block
795 X note output
796 X+ #if ANNOTATE
797 X+ output.annote
798 X+ #endif
799 X fin.entry
800 X }
801 X
802 X***************
803 X*** 1507,1512 ****
804 X--- 1737,1746 ----
805 X
806 X FUNCTION {manual}
807 X { output.bibitem
808 X+ #if LIBRARY
809 X+ format.library output
810 X+ new.sentence
811 X+ #endif
812 X author empty$
813 X { organization empty$
814 X 'skip$
815 X***************
816 X*** 1536,1541 ****
817 X--- 1770,1778 ----
818 X format.date output
819 X new.block
820 X note output
821 X+ #if ANNOTATE
822 X+ output.annote
823 X+ #endif
824 X fin.entry
825 X }
826 X
827 X***************
828 X*** 1545,1550 ****
829 X--- 1782,1791 ----
830 X
831 X FUNCTION {mastersthesis}
832 X { output.bibitem
833 X+ #if LIBRARY
834 X+ format.library output
835 X+ new.sentence
836 X+ #endif
837 X format.authors "author" output.check
838 X new.block
839 X format.title "title" output.check
840 X***************
841 X*** 1555,1560 ****
842 X--- 1796,1804 ----
843 X format.date "year" output.check
844 X new.block
845 X note output
846 X+ #if ANNOTATE
847 X+ output.annote
848 X+ #endif
849 X fin.entry
850 X }
851 X
852 X***************
853 X*** 1564,1569 ****
854 X--- 1808,1817 ----
855 X
856 X FUNCTION {misc}
857 X { output.bibitem
858 X+ #if LIBRARY
859 X+ format.library output
860 X+ new.sentence
861 X+ #endif
862 X format.authors output
863 X title howpublished new.block.checkb
864 X format.title output
865 X***************
866 X*** 1570,1577 ****
867 X--- 1818,1831 ----
868 X howpublished new.block.checka
869 X howpublished output
870 X format.date output
871 X+ #if ISBN
872 X+ format.issn output
873 X+ #endif
874 X new.block
875 X note output
876 X+ #if ANNOTATE
877 X+ output.annote
878 X+ #endif
879 X fin.entry
880 X empty.misc.check
881 X }
882 X***************
883 X*** 1582,1587 ****
884 X--- 1836,1845 ----
885 X
886 X FUNCTION {phdthesis}
887 X { output.bibitem
888 X+ #if LIBRARY
889 X+ format.library output
890 X+ new.sentence
891 X+ #endif
892 X format.authors "author" output.check
893 X new.block
894 X format.btitle "title" output.check
895 X***************
896 X*** 1592,1597 ****
897 X--- 1850,1858 ----
898 X format.date "year" output.check
899 X new.block
900 X note output
901 X+ #if ANNOTATE
902 X+ output.annote
903 X+ #endif
904 X fin.entry
905 X }
906 X
907 X***************
908 X*** 1605,1610 ****
909 X--- 1866,1875 ----
910 X
911 X FUNCTION {proceedings}
912 X { output.bibitem
913 X+ #if LIBRARY
914 X+ format.library output
915 X+ new.sentence
916 X+ #endif
917 X editor empty$
918 X { organization output }
919 X { format.editors output.nonnull }
920 X***************
921 X*** 1633,1640 ****
922 X--- 1898,1912 ----
923 X publisher output
924 X }
925 X if$
926 X+ #if ISBN
927 X+ format.isbn output
928 X+ format.issn output
929 X+ #endif
930 X new.block
931 X note output
932 X+ #if ANNOTATE
933 X+ output.annote
934 X+ #endif
935 X fin.entry
936 X }
937 X
938 X***************
939 X*** 1644,1649 ****
940 X--- 1916,1925 ----
941 X
942 X FUNCTION {techreport}
943 X { output.bibitem
944 X+ #if LIBRARY
945 X+ format.library output
946 X+ new.sentence
947 X+ #endif
948 X format.authors "author" output.check
949 X new.block
950 X format.title "title" output.check
951 X***************
952 X*** 1654,1659 ****
953 X--- 1930,1938 ----
954 X format.date "year" output.check
955 X new.block
956 X note output
957 X+ #if ANNOTATE
958 X+ output.annote
959 X+ #endif
960 X fin.entry
961 X }
962 X
963 X***************
964 X*** 1663,1668 ****
965 X--- 1942,1951 ----
966 X
967 X FUNCTION {unpublished}
968 X { output.bibitem
969 X+ #if LIBRARY
970 X+ format.library output
971 X+ new.sentence
972 X+ #endif
973 X format.authors "author" output.check
974 X new.block
975 X format.title "title" output.check
976 X***************
977 X*** 1669,1674 ****
978 X--- 1952,1960 ----
979 X new.block
980 X note "note" output.check
981 X format.date output
982 X+ #if ANNOTATE
983 X+ output.annote
984 X+ #endif
985 X fin.entry
986 X }
987 X
988 X***************
989 X*** 1683,1739 ****
990 X
991 X #if MONTH_FULL
992 X
993 X- MACRO {jan} {"January"}
994 X
995 X! MACRO {feb} {"February"}
996 X
997 X MACRO {mar} {"March"}
998 X-
999 X MACRO {apr} {"April"}
1000 X-
1001 X MACRO {may} {"May"}
1002 X-
1003 X MACRO {jun} {"June"}
1004 X-
1005 X MACRO {jul} {"July"}
1006 X-
1007 X MACRO {aug} {"August"}
1008 X-
1009 X MACRO {sep} {"September"}
1010 X-
1011 X MACRO {oct} {"October"}
1012 X
1013 X MACRO {nov} {"November"}
1014 X
1015 X! MACRO {dec} {"December"}
1016 X
1017 X- #else !MONTH_FULL
1018 X
1019 X! MACRO {jan} {"Jan."}
1020 X
1021 X- MACRO {feb} {"Feb."}
1022 X
1023 X! MACRO {mar} {"Mar."}
1024 X
1025 X MACRO {apr} {"Apr."}
1026 X-
1027 X MACRO {may} {"May"}
1028 X-
1029 X MACRO {jun} {"June"}
1030 X-
1031 X MACRO {jul} {"July"}
1032 X-
1033 X MACRO {aug} {"Aug."}
1034 X-
1035 X MACRO {sep} {"Sept."}
1036 X-
1037 X MACRO {oct} {"Oct."}
1038 X
1039 X MACRO {nov} {"Nov."}
1040 X
1041 X! MACRO {dec} {"Dec."}
1042 X
1043 X! #endif MONTH_FULL
1044 X
1045 X % Journals are either written out in full or abbreviated;
1046 X % the abbreviations are like those found in ACM publications.
1047 X--- 1969,2045 ----
1048 X
1049 X #if MONTH_FULL
1050 X
1051 X
1052 X! #ifndef GERMAN
1053 X
1054 X+ MACRO {jan} {"January"}
1055 X+ MACRO {feb} {"February"}
1056 X MACRO {mar} {"March"}
1057 X MACRO {apr} {"April"}
1058 X MACRO {may} {"May"}
1059 X MACRO {jun} {"June"}
1060 X MACRO {jul} {"July"}
1061 X MACRO {aug} {"August"}
1062 X MACRO {sep} {"September"}
1063 X MACRO {oct} {"October"}
1064 X+ MACRO {nov} {"November"}
1065 X+ MACRO {dec} {"December"}
1066 X
1067 X+ #else /* GERMAN */
1068 X+
1069 X+ MACRO {jan} {"Januar"}
1070 X+ MACRO {feb} {"Februar"}
1071 X+ MACRO {mar} {"M{\accent 127 a}rz"}
1072 X+ MACRO {apr} {"April"}
1073 X+ MACRO {may} {"Mai"}
1074 X+ MACRO {jun} {"Juni"}
1075 X+ MACRO {jul} {"Juli"}
1076 X+ MACRO {aug} {"August"}
1077 X+ MACRO {sep} {"September"}
1078 X+ MACRO {oct} {"Oktober"}
1079 X MACRO {nov} {"November"}
1080 X+ MACRO {dec} {"Dezember"}
1081 X
1082 X! #endif /* GERMAN */
1083 X
1084 X
1085 X! #else /* !MONTH_FULL */
1086 X
1087 X
1088 X! #ifndef GERMAN
1089 X
1090 X+ MACRO {jan} {"Jan."}
1091 X+ MACRO {feb} {"Feb."}
1092 X+ MACRO {mar} {"Mar."}
1093 X MACRO {apr} {"Apr."}
1094 X MACRO {may} {"May"}
1095 X MACRO {jun} {"June"}
1096 X MACRO {jul} {"July"}
1097 X MACRO {aug} {"Aug."}
1098 X MACRO {sep} {"Sept."}
1099 X MACRO {oct} {"Oct."}
1100 X+ MACRO {nov} {"Nov."}
1101 X+ MACRO {dec} {"Dec."}
1102 X+
1103 X+ #else /* GERMAN */
1104 X
1105 X+ MACRO {jan} {"Jan."}
1106 X+ MACRO {feb} {"Feb."}
1107 X+ MACRO {mar} {"M{\accent 127 a}rz"}
1108 X+ MACRO {apr} {"April"}
1109 X+ MACRO {may} {"Mai"}
1110 X+ MACRO {jun} {"Juni"}
1111 X+ MACRO {jul} {"Juli"}
1112 X+ MACRO {aug} {"Aug."}
1113 X+ MACRO {sep} {"Sept."}
1114 X+ MACRO {oct} {"Okt."}
1115 X MACRO {nov} {"Nov."}
1116 X+ MACRO {dec} {"Dez."}
1117 X
1118 X! #endif /* GERMAN */
1119 X!
1120 X
1121 X! #endif /* MONTH_FULL */
1122 X
1123 X % Journals are either written out in full or abbreviated;
1124 X % the abbreviations are like those found in ACM publications.
1125 X***************
1126 X*** 1785,1791 ****
1127 X
1128 X MACRO {tcs} {"Theoretical Computer Science"}
1129 X
1130 X! #else !JOUR_FULL
1131 X
1132 X MACRO {acmcs} {"ACM Comput. Surv."}
1133 X
1134 X--- 2091,2097 ----
1135 X
1136 X MACRO {tcs} {"Theoretical Computer Science"}
1137 X
1138 X! #else /* !JOUR_FULL */
1139 X
1140 X MACRO {acmcs} {"ACM Comput. Surv."}
1141 X
1142 X***************
1143 X*** 1828,1834 ****
1144 X
1145 X MACRO {tcs} {"Theoretical Comput. Sci."}
1146 X
1147 X! #endif JOUR_FULL
1148 X
1149 X % Now we read in the .BIB entries.
1150 X
1151 X--- 2134,2140 ----
1152 X
1153 X MACRO {tcs} {"Theoretical Comput. Sci."}
1154 X
1155 X! #endif /* JOUR_FULL */
1156 X
1157 X % Now we read in the .BIB entries.
1158 X
1159 END_OF_FILE
1160 if test 28321 -ne `wc -c <'itibst.diff'`; then
1161 echo shar: \"'itibst.diff'\" unpacked with wrong size!
1162 fi
1163 # end of 'itibst.diff'
1164 fi
1165 if test -f 'biblist.bst' -a "${1}" != "-c" ; then
1166 echo shar: Will not clobber existing file \"'biblist.bst'\"
1167 else
1168 echo shar: Extracting \"'biblist.bst'\" \(19478 characters\)
1169 sed "s/^X//" >'biblist.bst' <<'END_OF_FILE'
1170 X%% $Id: itibst.doc,v 1.3 1992/01/13 13:59:34 schrod Exp schrod $
1171 X%%----------------------------------------------------------------------
1172 X%% BibTeX `THD/ITI' family of bibliography styles
1173 X%% The file itibst.doc has the documentation for this style.
1174 X%% Please notify Joachim Schrod ([email protected]) of
1175 X%% any bugs in these styles or in this documentation file.
1176 X%%
1177 X%% CAVEAT: This is experimental software in an alpha-test version.
1178 X%% The documentation is not complete, installation instructions
1179 X%% are missing (or perhaps not updated), etc. Please send
1180 X%% bug reports (and, of course, repairs) to me, but do not expect
1181 X%% that I will react very soon. I will collect the stuff and will
1182 X%% incorporate it at a later date.
1183 X%%
1184 X%% biblist style (unsorted, for listings of bib files)
1185 XENTRY
1186 X { address
1187 X annote
1188 X author
1189 X booktitle
1190 X chapter
1191 X edition
1192 X editor
1193 X howpublished
1194 X institution
1195 X isbn
1196 X issn
1197 X journal
1198 X key
1199 X library
1200 X month
1201 X note
1202 X number
1203 X organization
1204 X pages
1205 X publisher
1206 X school
1207 X series
1208 X title
1209 X type
1210 X volume
1211 X year
1212 X }
1213 X {}
1214 X { label }
1215 XINTEGERS { output.state before.all mid.sentence after.sentence after.block }
1216 XFUNCTION {init.state.consts}
1217 X{ #0 'before.all :=
1218 X #1 'mid.sentence :=
1219 X #2 'after.sentence :=
1220 X #3 'after.block :=
1221 X}
1222 XSTRINGS { s t }
1223 XFUNCTION {output.nonnull}
1224 X{ 's :=
1225 X output.state mid.sentence =
1226 X { ", " * write$ }
1227 X { output.state after.block =
1228 X { add.period$ write$
1229 X newline$
1230 X "\newblock " write$
1231 X }
1232 X { output.state before.all =
1233 X 'write$
1234 X { add.period$ " " * write$ }
1235 X if$
1236 X }
1237 X if$
1238 X mid.sentence 'output.state :=
1239 X }
1240 X if$
1241 X s
1242 X}
1243 XFUNCTION {output}
1244 X{ duplicate$ empty$
1245 X 'pop$
1246 X 'output.nonnull
1247 X if$
1248 X}
1249 XFUNCTION {output.check}
1250 X{ 't :=
1251 X duplicate$ empty$
1252 X { pop$ "empty " t * " in " * cite$ * warning$ }
1253 X 'output.nonnull
1254 X if$
1255 X}
1256 XFUNCTION {output.bibitem}
1257 X{ newline$
1258 X "\bibitem{" write$
1259 X cite$ write$
1260 X "}" write$
1261 X newline$
1262 X ""
1263 X before.all 'output.state :=
1264 X}
1265 XFUNCTION {fin.entry}
1266 X{ add.period$
1267 X write$
1268 X newline$
1269 X}
1270 XFUNCTION {new.block}
1271 X{ output.state before.all =
1272 X 'skip$
1273 X { after.block 'output.state := }
1274 X if$
1275 X}
1276 XFUNCTION {new.sentence}
1277 X{ output.state after.block =
1278 X 'skip$
1279 X { output.state before.all =
1280 X 'skip$
1281 X { after.sentence 'output.state := }
1282 X if$
1283 X }
1284 X if$
1285 X}
1286 XFUNCTION {output.annote}
1287 X{
1288 X annote empty$
1289 X { }
1290 X {
1291 X new.block "\annote " output
1292 X newline$ write$
1293 X annote write$ newline$
1294 X "\endannote"
1295 X }
1296 X if$
1297 X}
1298 XFUNCTION {not}
1299 X{ { #0 }
1300 X { #1 }
1301 X if$
1302 X}
1303 XFUNCTION {and}
1304 X{ 'skip$
1305 X { pop$ #0 }
1306 X if$
1307 X}
1308 XFUNCTION {or}
1309 X{ { pop$ #1 }
1310 X 'skip$
1311 X if$
1312 X}
1313 XFUNCTION {new.block.checka}
1314 X{ empty$
1315 X 'skip$
1316 X 'new.block
1317 X if$
1318 X}
1319 XFUNCTION {new.block.checkb}
1320 X{ empty$
1321 X swap$ empty$
1322 X and
1323 X 'skip$
1324 X 'new.block
1325 X if$
1326 X}
1327 XFUNCTION {new.sentence.checka}
1328 X{ empty$
1329 X 'skip$
1330 X 'new.sentence
1331 X if$
1332 X}
1333 XFUNCTION {new.sentence.checkb}
1334 X{ empty$
1335 X swap$ empty$
1336 X and
1337 X 'skip$
1338 X 'new.sentence
1339 X if$
1340 X}
1341 XFUNCTION {field.or.null}
1342 X{ duplicate$ empty$
1343 X { pop$ "" }
1344 X 'skip$
1345 X if$
1346 X}
1347 XFUNCTION {emphasize}
1348 X{ duplicate$ empty$
1349 X { pop$ "" }
1350 X { "{\it " swap$ * "}" * }
1351 X if$
1352 X}
1353 XINTEGERS { nameptr namesleft numnames }
1354 XFUNCTION {format.names}
1355 X{ 's :=
1356 X #1 'nameptr :=
1357 X s num.names$ 'numnames :=
1358 X numnames 'namesleft :=
1359 X { namesleft #0 > }
1360 X { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
1361 X nameptr #1 >
1362 X { namesleft #1 >
1363 X { ", " * t * }
1364 X { numnames #2 >
1365 X { "," * }
1366 X 'skip$
1367 X if$
1368 X t "others" =
1369 X { " et~al." * }
1370 X { " and " * t * }
1371 X if$
1372 X }
1373 X if$
1374 X }
1375 X 't
1376 X if$
1377 X nameptr #1 + 'nameptr :=
1378 X namesleft #1 - 'namesleft :=
1379 X }
1380 X while$
1381 X}
1382 XFUNCTION {format.authors}
1383 X{ author empty$
1384 X { "" }
1385 X { author format.names }
1386 X if$
1387 X}
1388 XFUNCTION {format.editors}
1389 X{ editor empty$
1390 X { "" }
1391 X { editor format.names
1392 X editor num.names$ #1 >
1393 X { ", editors" * }
1394 X { ", editor" * }
1395 X if$
1396 X }
1397 X if$
1398 X}
1399 XFUNCTION {format.isbn}
1400 X{ isbn empty$
1401 X { "" }
1402 X { new.sentence "ISBN~" isbn * }
1403 X if$
1404 X}
1405 XFUNCTION {format.issn}
1406 X{ issn empty$
1407 X { "" }
1408 X { new.sentence "ISSN~" issn * }
1409 X if$
1410 X}
1411 XFUNCTION {format.library}
1412 X{ library empty$
1413 X { "" }
1414 X { "\library{" library * "}" * }
1415 X if$
1416 X}
1417 XFUNCTION {format.title}
1418 X{ title empty$
1419 X { "" }
1420 X 'title
1421 X if$
1422 X}
1423 XFUNCTION {n.dashify}
1424 X{ 't :=
1425 X ""
1426 X { t empty$ not }
1427 X { t #1 #1 substring$ "-" =
1428 X { t #1 #2 substring$ "--" = not
1429 X { "--" *
1430 X t #2 global.max$ substring$ 't :=
1431 X }
1432 X { { t #1 #1 substring$ "-" = }
1433 X { "-" *
1434 X t #2 global.max$ substring$ 't :=
1435 X }
1436 X while$
1437 X }
1438 X if$
1439 X }
1440 X { t #1 #1 substring$ *
1441 X t #2 global.max$ substring$ 't :=
1442 X }
1443 X if$
1444 X }
1445 X while$
1446 X}
1447 XFUNCTION {format.date}
1448 X{ year empty$
1449 X { month empty$
1450 X { "" }
1451 X { "there's a month but no year in " cite$ * warning$
1452 X month
1453 X }
1454 X if$
1455 X }
1456 X { month empty$
1457 X 'year
1458 X { month " " * year * }
1459 X if$
1460 X }
1461 X if$
1462 X}
1463 XFUNCTION {format.btitle}
1464 X{ title emphasize
1465 X}
1466 XFUNCTION {tie.or.space.connect}
1467 X{ duplicate$ text.length$ #3 <
1468 X { "~" }
1469 X { " " }
1470 X if$
1471 X swap$ * *
1472 X}
1473 XFUNCTION {either.or.check}
1474 X{ empty$
1475 X 'pop$
1476 X { "can't use both " swap$ * " fields in " * cite$ * warning$ }
1477 X if$
1478 X}
1479 XFUNCTION {format.bvolume}
1480 X{ volume empty$
1481 X { "" }
1482 X { "volume" volume tie.or.space.connect
1483 X series empty$
1484 X 'skip$
1485 X { " of " * series emphasize * }
1486 X if$
1487 X "volume and number" number either.or.check
1488 X }
1489 X if$
1490 X}
1491 XFUNCTION {format.number.series}
1492 X{ volume empty$
1493 X { number empty$
1494 X { series field.or.null }
1495 X { output.state mid.sentence =
1496 X { "number" }
1497 X { "Number" }
1498 X if$
1499 X number tie.or.space.connect
1500 X series empty$
1501 X { "there's a number but no series in " cite$ * warning$ }
1502 X { " in " * series * }
1503 X if$
1504 X }
1505 X if$
1506 X }
1507 X { "" }
1508 X if$
1509 X}
1510 XFUNCTION {format.edition}
1511 X{ edition empty$
1512 X { "" }
1513 X { output.state mid.sentence =
1514 X { edition "l" change.case$ " edition" * }
1515 X { edition "t" change.case$ " edition" * }
1516 X if$
1517 X }
1518 X if$
1519 X}
1520 XINTEGERS { multiresult }
1521 XFUNCTION {multi.page.check}
1522 X{ 't :=
1523 X #0 'multiresult :=
1524 X { multiresult not
1525 X t empty$ not
1526 X and
1527 X }
1528 X { t #1 #1 substring$
1529 X duplicate$ "-" =
1530 X swap$ duplicate$ "," =
1531 X swap$ "+" =
1532 X or or
1533 X { #1 'multiresult := }
1534 X { t #2 global.max$ substring$ 't := }
1535 X if$
1536 X }
1537 X while$
1538 X multiresult
1539 X}
1540 XFUNCTION {format.pages}
1541 X{ pages empty$
1542 X { "" }
1543 X { pages multi.page.check
1544 X { "pages" pages n.dashify tie.or.space.connect }
1545 X { "page" pages tie.or.space.connect }
1546 X if$
1547 X }
1548 X if$
1549 X}
1550 XFUNCTION {format.vol.num.pages}
1551 X{ volume field.or.null
1552 X number empty$
1553 X 'skip$
1554 X { "(" number * ")" * *
1555 X volume empty$
1556 X { "there's a number but no volume in " cite$ * warning$ }
1557 X 'skip$
1558 X if$
1559 X }
1560 X if$
1561 X pages empty$
1562 X 'skip$
1563 X { duplicate$ empty$
1564 X { pop$ format.pages }
1565 X { ":" * pages n.dashify * }
1566 X if$
1567 X }
1568 X if$
1569 X}
1570 XFUNCTION {format.chapter.pages}
1571 X{ chapter empty$
1572 X 'format.pages
1573 X { type empty$
1574 X { "chapter" }
1575 X { type "l" change.case$ }
1576 X if$
1577 X chapter tie.or.space.connect
1578 X pages empty$
1579 X 'skip$
1580 X { ", " * format.pages * }
1581 X if$
1582 X }
1583 X if$
1584 X}
1585 XFUNCTION {format.in.ed.booktitle}
1586 X{ booktitle empty$
1587 X { "" }
1588 X { editor empty$
1589 X { "In " booktitle emphasize * }
1590 X { "In " format.editors * ", " * booktitle emphasize * }
1591 X if$
1592 X }
1593 X if$
1594 X}
1595 XFUNCTION {empty.misc.check}
1596 X{ author empty$ title empty$ howpublished empty$
1597 X month empty$ year empty$ note empty$
1598 X and and and and and
1599 X { "all relevant fields are empty in " cite$ * warning$ }
1600 X 'skip$
1601 X if$
1602 X}
1603 XFUNCTION {format.thesis.type}
1604 X{ type empty$
1605 X 'skip$
1606 X { pop$
1607 X type "t" change.case$
1608 X }
1609 X if$
1610 X}
1611 XFUNCTION {format.tr.number}
1612 X{ type empty$
1613 X { "Technical Report" }
1614 X 'type
1615 X if$
1616 X number empty$
1617 X { "t" change.case$ }
1618 X { number tie.or.space.connect }
1619 X if$
1620 X}
1621 XFUNCTION {format.article.crossref}
1622 X{ key empty$
1623 X { journal empty$
1624 X { "need key or journal for " cite$ * " to crossref " * crossref *
1625 X warning$
1626 X ""
1627 X }
1628 X { "In {\it " journal * "\/}" * }
1629 X if$
1630 X }
1631 X { "In " key * }
1632 X if$
1633 X " \cite{" * crossref * "}" *
1634 X}
1635 XFUNCTION {format.crossref.editor}
1636 X{ editor #1 "{vv~}{ll}" format.name$
1637 X editor num.names$ duplicate$
1638 X #2 >
1639 X { pop$ " et~al." * }
1640 X { #2 <
1641 X 'skip$
1642 X { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1643 X { " et~al." * }
1644 X { " and " * editor #2 "{vv~}{ll}" format.name$ * }
1645 X if$
1646 X }
1647 X if$
1648 X }
1649 X if$
1650 X}
1651 XFUNCTION {format.book.crossref}
1652 X{ volume empty$
1653 X { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
1654 X "In "
1655 X }
1656 X { "Volume" volume tie.or.space.connect
1657 X " of " *
1658 X }
1659 X if$
1660 X editor empty$
1661 X editor field.or.null author field.or.null =
1662 X or
1663 X { key empty$
1664 X { series empty$
1665 X { "need editor, key, or series for " cite$ * " to crossref " *
1666 X crossref * warning$
1667 X "" *
1668 X }
1669 X { "{\it " * series * "\/}" * }
1670 X if$
1671 X }
1672 X { key * }
1673 X if$
1674 X }
1675 X { format.crossref.editor * }
1676 X if$
1677 X " \cite{" * crossref * "}" *
1678 X}
1679 XFUNCTION {format.incoll.inproc.crossref}
1680 X{ editor empty$
1681 X editor field.or.null author field.or.null =
1682 X or
1683 X { key empty$
1684 X { booktitle empty$
1685 X { "need editor, key, or booktitle for " cite$ * " to crossref " *
1686 X crossref * warning$
1687 X ""
1688 X }
1689 X { "In {\it " booktitle * "\/}" * }
1690 X if$
1691 X }
1692 X { "In " key * }
1693 X if$
1694 X }
1695 X { "In " format.crossref.editor * }
1696 X if$
1697 X " \cite{" * crossref * "}" *
1698 X}
1699 XFUNCTION {article}
1700 X{ output.bibitem
1701 X format.library output
1702 X new.sentence
1703 X format.authors "author" output.check
1704 X new.block
1705 X format.title "title" output.check
1706 X new.block
1707 X crossref missing$
1708 X { journal emphasize "journal" output.check
1709 X format.vol.num.pages output
1710 X format.date "year" output.check
1711 X }
1712 X { format.article.crossref output.nonnull
1713 X format.pages output
1714 X }
1715 X if$
1716 X format.issn output
1717 X new.block
1718 X note output
1719 X output.annote
1720 X fin.entry
1721 X}
1722 XFUNCTION {book}
1723 X{ output.bibitem
1724 X format.library output
1725 X new.sentence
1726 X author empty$
1727 X { format.editors "author and editor" output.check }
1728 X { format.authors output.nonnull
1729 X crossref missing$
1730 X { "author and editor" editor either.or.check }
1731 X 'skip$
1732 X if$
1733 X }
1734 X if$
1735 X new.block
1736 X format.btitle "title" output.check
1737 X crossref missing$
1738 X { format.bvolume output
1739 X new.block
1740 X format.number.series output
1741 X new.sentence
1742 X publisher "publisher" output.check
1743 X address output
1744 X }
1745 X { new.block
1746 X format.book.crossref output.nonnull
1747 X }
1748 X if$
1749 X format.edition output
1750 X format.date "year" output.check
1751 X format.isbn output
1752 X new.block
1753 X note output
1754 X output.annote
1755 X fin.entry
1756 X}
1757 XFUNCTION {booklet}
1758 X{ output.bibitem
1759 X format.library output
1760 X new.sentence
1761 X format.authors output
1762 X new.block
1763 X format.title "title" output.check
1764 X howpublished address new.block.checkb
1765 X howpublished output
1766 X address output
1767 X format.date output
1768 X new.block
1769 X note output
1770 X output.annote
1771 X fin.entry
1772 X}
1773 XFUNCTION {inbook}
1774 X{ output.bibitem
1775 X format.library output
1776 X new.sentence
1777 X author empty$
1778 X { format.editors "author and editor" output.check }
1779 X { format.authors output.nonnull
1780 X crossref missing$
1781 X { "author and editor" editor either.or.check }
1782 X 'skip$
1783 X if$
1784 X }
1785 X if$
1786 X new.block
1787 X format.btitle "title" output.check
1788 X crossref missing$
1789 X { format.bvolume output
1790 X format.chapter.pages "chapter and pages" output.check
1791 X new.block
1792 X format.number.series output
1793 X new.sentence
1794 X publisher "publisher" output.check
1795 X address output
1796 X }
1797 X { format.chapter.pages "chapter and pages" output.check
1798 X new.block
1799 X format.book.crossref output.nonnull
1800 X }
1801 X if$
1802 X format.edition output
1803 X format.date "year" output.check
1804 X format.isbn output
1805 X new.block
1806 X note output
1807 X output.annote
1808 X fin.entry
1809 X}
1810 XFUNCTION {incollection}
1811 X{ output.bibitem
1812 X format.library output
1813 X new.sentence
1814 X format.authors "author" output.check
1815 X new.block
1816 X format.title "title" output.check
1817 X new.block
1818 X crossref missing$
1819 X { format.in.ed.booktitle "booktitle" output.check
1820 X format.bvolume output
1821 X format.number.series output
1822 X format.chapter.pages output
1823 X new.sentence
1824 X publisher "publisher" output.check
1825 X address output
1826 X format.edition output
1827 X format.date "year" output.check
1828 X }
1829 X { format.incoll.inproc.crossref output.nonnull
1830 X format.chapter.pages output
1831 X }
1832 X if$
1833 X format.isbn output
1834 X new.block
1835 X note output
1836 X output.annote
1837 X fin.entry
1838 X}
1839 XFUNCTION {inproceedings}
1840 X{ output.bibitem
1841 X format.library output
1842 X new.sentence
1843 X format.authors "author" output.check
1844 X new.block
1845 X format.title "title" output.check
1846 X new.block
1847 X crossref missing$
1848 X { format.in.ed.booktitle "booktitle" output.check
1849 X format.bvolume output
1850 X format.number.series output
1851 X format.pages output
1852 X address empty$
1853 X { organization publisher new.sentence.checkb
1854 X organization output
1855 X publisher output
1856 X format.date "year" output.check
1857 X }
1858 X { address output.nonnull
1859 X format.date "year" output.check
1860 X new.sentence
1861 X organization output
1862 X publisher output
1863 X }
1864 X if$
1865 X }
1866 X { format.incoll.inproc.crossref output.nonnull
1867 X format.pages output
1868 X }
1869 X if$
1870 X format.isbn output
1871 X format.issn output
1872 X new.block
1873 X note output
1874 X output.annote
1875 X fin.entry
1876 X}
1877 XFUNCTION {conference} { inproceedings }
1878 XFUNCTION {manual}
1879 X{ output.bibitem
1880 X format.library output
1881 X new.sentence
1882 X author empty$
1883 X { organization empty$
1884 X 'skip$
1885 X { organization output.nonnull
1886 X address output
1887 X }
1888 X if$
1889 X }
1890 X { format.authors output.nonnull }
1891 X if$
1892 X new.block
1893 X format.btitle "title" output.check
1894 X author empty$
1895 X { organization empty$
1896 X { address new.block.checka
1897 X address output
1898 X }
1899 X 'skip$
1900 X if$
1901 X }
1902 X { organization address new.block.checkb
1903 X organization output
1904 X address output
1905 X }
1906 X if$
1907 X format.edition output
1908 X format.date output
1909 X new.block
1910 X note output
1911 X output.annote
1912 X fin.entry
1913 X}
1914 XFUNCTION {mastersthesis}
1915 X{ output.bibitem
1916 X format.library output
1917 X new.sentence
1918 X format.authors "author" output.check
1919 X new.block
1920 X format.title "title" output.check
1921 X new.block
1922 X "Master's thesis" format.thesis.type output.nonnull
1923 X school "school" output.check
1924 X address output
1925 X format.date "year" output.check
1926 X new.block
1927 X note output
1928 X output.annote
1929 X fin.entry
1930 X}
1931 XFUNCTION {misc}
1932 X{ output.bibitem
1933 X format.library output
1934 X new.sentence
1935 X format.authors output
1936 X title howpublished new.block.checkb
1937 X format.title output
1938 X howpublished new.block.checka
1939 X howpublished output
1940 X format.date output
1941 X format.issn output
1942 X new.block
1943 X note output
1944 X output.annote
1945 X fin.entry
1946 X empty.misc.check
1947 X}
1948 XFUNCTION {phdthesis}
1949 X{ output.bibitem
1950 X format.library output
1951 X new.sentence
1952 X format.authors "author" output.check
1953 X new.block
1954 X format.btitle "title" output.check
1955 X new.block
1956 X "PhD thesis" format.thesis.type output.nonnull
1957 X school "school" output.check
1958 X address output
1959 X format.date "year" output.check
1960 X new.block
1961 X note output
1962 X output.annote
1963 X fin.entry
1964 X}
1965 XFUNCTION {proceedings}
1966 X{ output.bibitem
1967 X format.library output
1968 X new.sentence
1969 X editor empty$
1970 X { organization output }
1971 X { format.editors output.nonnull }
1972 X if$
1973 X new.block
1974 X format.btitle "title" output.check
1975 X format.bvolume output
1976 X format.number.series output
1977 X address empty$
1978 X { editor empty$
1979 X { publisher new.sentence.checka }
1980 X { organization publisher new.sentence.checkb
1981 X organization output
1982 X }
1983 X if$
1984 X publisher output
1985 X format.date "year" output.check
1986 X }
1987 X { address output.nonnull
1988 X format.date "year" output.check
1989 X new.sentence
1990 X editor empty$
1991 X 'skip$
1992 X { organization output }
1993 X if$
1994 X publisher output
1995 X }
1996 X if$
1997 X format.isbn output
1998 X format.issn output
1999 X new.block
2000 X note output
2001 X output.annote
2002 X fin.entry
2003 X}
2004 XFUNCTION {techreport}
2005 X{ output.bibitem
2006 X format.library output
2007 X new.sentence
2008 X format.authors "author" output.check
2009 X new.block
2010 X format.title "title" output.check
2011 X new.block
2012 X format.tr.number output.nonnull
2013 X institution "institution" output.check
2014 X address output
2015 X format.date "year" output.check
2016 X new.block
2017 X note output
2018 X output.annote
2019 X fin.entry
2020 X}
2021 XFUNCTION {unpublished}
2022 X{ output.bibitem
2023 X format.library output
2024 X new.sentence
2025 X format.authors "author" output.check
2026 X new.block
2027 X format.title "title" output.check
2028 X new.block
2029 X note "note" output.check
2030 X format.date output
2031 X output.annote
2032 X fin.entry
2033 X}
2034 XFUNCTION {default.type} { misc }
2035 XMACRO {jan} {"January"}
2036 XMACRO {feb} {"February"}
2037 XMACRO {mar} {"March"}
2038 XMACRO {apr} {"April"}
2039 XMACRO {may} {"May"}
2040 XMACRO {jun} {"June"}
2041 XMACRO {jul} {"July"}
2042 XMACRO {aug} {"August"}
2043 XMACRO {sep} {"September"}
2044 XMACRO {oct} {"October"}
2045 XMACRO {nov} {"November"}
2046 XMACRO {dec} {"December"}
2047 XMACRO {acmcs} {"ACM Computing Surveys"}
2048 XMACRO {acta} {"Acta Informatica"}
2049 XMACRO {cacm} {"Communications of the ACM"}
2050 XMACRO {ibmjrd} {"IBM Journal of Research and Development"}
2051 XMACRO {ibmsj} {"IBM Systems Journal"}
2052 XMACRO {ieeese} {"IEEE Transactions on Software Engineering"}
2053 XMACRO {ieeetc} {"IEEE Transactions on Computers"}
2054 XMACRO {ieeetcad}
2055 X {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
2056 XMACRO {ipl} {"Information Processing Letters"}
2057 XMACRO {jacm} {"Journal of the ACM"}
2058 XMACRO {jcss} {"Journal of Computer and System Sciences"}
2059 XMACRO {scp} {"Science of Computer Programming"}
2060 XMACRO {sicomp} {"SIAM Journal on Computing"}
2061 XMACRO {tocs} {"ACM Transactions on Computer Systems"}
2062 XMACRO {tods} {"ACM Transactions on Database Systems"}
2063 XMACRO {tog} {"ACM Transactions on Graphics"}
2064 XMACRO {toms} {"ACM Transactions on Mathematical Software"}
2065 XMACRO {toois} {"ACM Transactions on Office Information Systems"}
2066 XMACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
2067 XMACRO {tcs} {"Theoretical Computer Science"}
2068 XREAD
2069 XSTRINGS { longest.label }
2070 XINTEGERS { number.label longest.label.width }
2071 XFUNCTION {initialize.longest.label}
2072 X{ "" 'longest.label :=
2073 X #1 'number.label :=
2074 X #0 'longest.label.width :=
2075 X}
2076 XFUNCTION {longest.label.pass}
2077 X{ number.label int.to.str$ 'label :=
2078 X number.label #1 + 'number.label :=
2079 X label width$ longest.label.width >
2080 X { label 'longest.label :=
2081 X label width$ 'longest.label.width :=
2082 X }
2083 X 'skip$
2084 X if$
2085 X}
2086 XEXECUTE {initialize.longest.label}
2087 XITERATE {longest.label.pass}
2088 XFUNCTION {begin.bib}
2089 X{ preamble$ empty$
2090 X 'skip$
2091 X { preamble$ write$ newline$ }
2092 X if$
2093 X "\begin{thebibliography}{" longest.label * "}" * write$ newline$
2094 X}
2095 XEXECUTE {begin.bib}
2096 XEXECUTE {init.state.consts}
2097 XITERATE {call.type$}
2098 XFUNCTION {end.bib}
2099 X{ newline$
2100 X "\end{thebibliography}" write$ newline$
2101 X}
2102 XEXECUTE {end.bib}
2103 END_OF_FILE
2104 if test 19478 -ne `wc -c <'biblist.bst'`; then
2105 echo shar: \"'biblist.bst'\" unpacked with wrong size!
2106 fi
2107 # end of 'biblist.bst'
2108 fi
2109 echo shar: End of shell archive.
2110 exit 0