-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapj.bst
1581 lines (1376 loc) · 32.2 KB
/
apj.bst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%$$$ apj.bst $$$
% This file is an output file created from astrobib.bst. Please edit
% that file if you have any changes.
%
% This style file is for BibTeX version 0.99c, LaTeX version 2.09
% Place it in a file called apj.bst in the BibTeX search path.
% (Placing it in the same directory as the LaTeX document should also work.)
% You need to include astrobib.sty as a \documentstyle option.
%
% ApJ BibTeX style -- ApJ style with annotations.
% Articles are cited in text as in chicago.bst and chicagoa.bst, described
% below.
%
% In the references section, articles are cited as described in
% Abt 1990 (ApJ 357, 1), with some of the ambiguities cleared up
% by looking at examples from recent ApJ's (not AJ's, which were formatted
% wrong by the publishing house).
%
% Please report bugs to [email protected]
% =====================================================================
% Revision history:
% v1 17 May 1993 H. Ferguson Adapted from chicagoa.bst
% v2 25 May 1993 H. Ferguson Fixed long name bug
% v3 06 Oct 1994 E. Bradford Many corrections to ApJ style
% 10 Oct 1994 E. Bradford Merged versions to one master file.
% 20 Oct 1994 E. Bradford Many updates for non-ApJ journals.
%
% ====================================================
% Original documentation from chicagoa.bst
%
% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
% found at ymir.claremont.edu. Annotation support added 07/09/92.
% Modifications are loosely based on Chicago Manual of Style.
%
% Citation format: (author-last-name year)
% (author-last-name and author-last-name year)
% (author-last-name, author-last-name, and author-last-name year)
% (author-last-name et al. year)
% (author-last-name)
% author-last-name (year)
% (author-last-name and author-last-name)
% (author-last-name et al.)
% (year) or (year,year)
% year or year,year
%
% Reference list ordering: alphabetical by author or whatever passes
% for author in the absence of one.
%
% This BibTeX style has support for abbreviated author lists and for
% year-only citations. This is done by having the citations
% actually look like
%
% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
%
% The LaTeX style has to have the following (or similar)
%
% \let\@internalcite\cite
% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
%
% These TeX macro definitions are found in chicago.sty. Additional
% commands to manipulate different components of a citation can be defined
% so that, for example, you can list author's names without parentheses
% if using a citation as a noun or object in a sentence.
%
% This file was originally copied from newapa.bst at ymir.claremont.edu.
%
% Features of aasa.bst:
% =========================
%
% - supports an "annotation" field for annotated bibliographies.
% - full names used in citations, but abbreviated citations are available
% (see above)
% - if an entry has a "month", then the month and year are also printed
% as part of that reference item.
% - book, inbook and manual use "location: publisher" (or organization)
% for address and publisher. All other types list publishers separately.
% - "pp." are used to identify page numbers for all entry types except
% articles.
% - organization is used as a citation label if neither author nor editor
% is present (for manuals).
% - "et al." is used for long author and editor lists.
%
% Modified by Glenn Paulley, University of Waterloo, July, 1992 (mostly
% from Chicago Manual of Style):
%
% Modifications: (from newapa.bst)
% =============
%
% - added month, year to bib entries if month is present
% - fixed bug with In proceedings, added necessary comma after title
% - all conjunctions changed to "and" from "\&"
% - fixed bug with author labels in my.full.label: "et al." now is
% generated when "others" is an author name
% - major modification from Chicago Manual of Style (13th ed.) is that
% only the first author in a reference appears last name first-
% additional authors appear as J. Q. Public.
% - pages are listed as "pp. xx-xx" in all entry types, except
% article entries. Unnecessary (IMHO) "()" around page numbers
% were removed, and page numbers now don't end with a period.
% - created chicago.sty for use with this bibstyle (required).
% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
% number, and /or pages. Renamed to format.jour.vol.
% - fixed bug in formatting booktitles: additional period an error if
% book has a volume.
% - fixed bug: editors usually given redundant period before next clause
% (format.editors.dot) removed.
% - added label support for organizations, if both author and editor
% are missing (from alpha.bst). If organization is too long, then
% the key field is used for abbreviated citations.
% - In proceedings or books of several volumes, no comma was written
% between the "Volume x" and the page numbers (this was intentional
% in newapa.bst). Fixed.
% - Some journals may not have volumes/numbers, only month/year (eg.
% IEEE Computer). Fixed bug in article style that assumed volume/number
% was always present.
%
% Original documentation for newapa.sty:
% =====================================
%
% This version was made by modifying the master file made by
% Oren Patashnik ([email protected]), and the 'named' BibTeX
% style of Peter F. Patel-Schneider.
%
% Copyright (C) 1985, all rights reserved.
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than 'newapa.bst'.
% There are undoubtably bugs in this style. If you make bug fixes,
% improvements, etc. please let me know. My e-mail address is:
%
% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
% with lots of tweaking to make it look like APA style, along with tips
% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
ENTRY
{ address
annotation
author
booktitle
chapter
edition
editor
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
volume
year
}
{}
{ label l1 l2 l3 extra.label sort.label }
FUNCTION {not}
{ { #0 }
{ #1 }
if$
}
FUNCTION {and}
{ 'skip$
{ pop$ #0 }
if$
}
FUNCTION {or}
{ { pop$ #1 }
'skip$
if$
}
INTEGERS { output.state before.all mid.sentence after.block
mid.sen.nocomma }
FUNCTION {init.state.consts}
{ #0 'before.all :=
#1 'mid.sentence :=
#2 'after.block :=
#3 'mid.sen.nocomma :=
}
STRINGS { s t u }
FUNCTION {output.nonnull}
{ duplicate$ 's :=
% If the string to be output starts with punctuation, or if we are
% at the beginning, don't add any punctuation or space.
#1 #1 substring$ % First character in the new string just added.
duplicate$ % This will be used to check for an open parenthesis.
duplicate$ "," = swap$
duplicate$ "." = swap$
duplicate$ ";" = swap$
duplicate$ ":" = swap$
duplicate$ "!" = swap$
"?" = or or or or or
output.state before.all = or
'pop$ % Eliminate first character which would have been used for paren chk.
{
"(" =
output.state mid.sen.nocomma = or
{ " " * }
{ output.state after.block =
{ add.period$ write$
newline$
"\newblock "
}
{ output.state mid.sentence =
{ ", " * }
{ "Internal error: unrecognized state in " cite$ * warning$ }
if$
}
if$
}
if$
}
if$
write$
mid.sentence 'output.state :=
s
}
% Use a colon to separate output. Used only for address/publisher
% combination in book/inbook types.
%
%FUNCTION {output.nonnull.colon}
%{ 's :=
% output.state mid.sentence =
% { ": " * write$ }
% { output.state after.block =
% { add.period$ write$
% newline$
% "\newblock " write$
% }
% { output.state before.all =
% 'write$
% { output.state mid.sen.nocomma =
% { " " * write$ }
% { add.period$ " " * write$ }
% if$
% }
% if$
% }
% if$
% mid.sentence 'output.state :=
% }
% if$
% s
%}
FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
if$
}
FUNCTION {output.check}
{ 't :=
duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
if$
}
%FUNCTION {output.colon}
%{ duplicate$ empty$
% 'pop$
% 'output.nonnull.colon
% if$
%}
%FUNCTION {output.check.colon}
%{ 't :=
% duplicate$ empty$
% { pop$ "empty " t * " in " * cite$ * warning$ }
% 'output.nonnull.colon
% if$
%}
FUNCTION {output.year}
{ year empty$
'skip$
{ write$
" "
year * extra.label *
mid.sentence 'output.state :=
}
if$
}
FUNCTION {output.year.check}
{ year empty$
{ "empty year in " cite$ * warning$ }
{ output.year }
if$
}
FUNCTION {output.bibitem}
{ newline$
"\bibitem[" write$
l2 l1 "\protect\citeauthoryear{" swap$ * "}{" * swap$ * "}{" * write$
l3 write$
"]{" write$
cite$ write$
"}" write$
newline$
""
before.all 'output.state :=
}
FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
if$
}
%FUNCTION {new.sentence}
%{ output.state after.block =
% 'skip$
% { output.state before.all =
% 'skip$
% { after.sentence 'output.state := }
% if$
% }
% if$
%}
%FUNCTION {new.block.checka}
%{ empty$
% 'skip$
% 'new.block
% if$
%}
%FUNCTION {new.block.checkb}
%{ empty$
% swap$ empty$
% and
% 'skip$
% 'new.block
% if$
%}
%FUNCTION {new.sentence.checka}
%{ empty$
% 'skip$
% 'new.sentence
% if$
%}
%FUNCTION {new.sentence.checkb}
%{ empty$
% swap$ empty$
% and
% 'skip$
% 'new.sentence
% if$
%}
FUNCTION {field.or.null}
{ duplicate$ empty$
{ pop$ "" }
'skip$
if$
}
%FUNCTION {underline}
%{ duplicate$ empty$
% { pop$ "" }
% { "\underline{" swap$ * "}" * }
% if$
%}
%
% Emphasize the top string on the stack.
%
% FUNCTION {emphasize}
% { duplicate$ empty$
% { pop$ "" }
% { "{\em " swap$ * "}" * }
% if$
%}
%
% Emphasize the top string on the stack, but add a trailing space.
%
% FUNCTION {emphasize.space}
% { duplicate$ empty$
% { pop$ "" }
% { "{\em " swap$ * "\/}" * }
% if$
% }
FUNCTION {format.annotation}
{ annotation empty$
{ "" }
{ " \begin{quotation}\noindent "
annotation
* " \end{quotation} " *
}
if$
}
FUNCTION {fin.entry}
{
note output
write$
newline$
format.annotation write$
}
INTEGERS { nameptr namesleft numnames }
%
% Format bibliographical entries with the last name first.
%
FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
% Check for "et al." condition.
numnames #8 >
{ s nameptr
"{vv~}{ll}{, f.}{, jj}"
format.name$
"," *
" et~al." * }
{
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr
"{vv~}{ll}{, f.}{, jj}"
format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{", " *}
{", " *}
if$
t "others" =
{ " et~al." * }
{
" \& "
* t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}
if$
}
% Just last names.
% If more than three authors, use et al.
FUNCTION {my.full.label}
{ 's :=
#1 'nameptr := % nameptr = 1;
s num.names$ 'numnames := % numnames = num.name$(s);
numnames 'namesleft :=
namesleft #3 >
{ s nameptr "{vv~}{ll}" format.name$ " et~al." * }
{
{ namesleft #0 > }
{ s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " \& " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr := % nameptr += 1;
namesleft #1 - 'namesleft := % namesleft =- 1;
}
while$
}
if$
}
FUNCTION {format.authors}
{ author empty$
{ "" }
{ author format.names }
if$
}
FUNCTION {format.key}
{ empty$
{ key field.or.null }
{ "" }
if$
}
FUNCTION {add.editors.indication}
{ editor num.names$ #1 >
{ ", ed" * }
{ ", ed" * }
if$
}
FUNCTION {format.names.fml}
%
% Format names in "familiar" format, with first initial followed by
% last name. Like format.names, ALL names are formatted.
%
{ 's :=
#1 'nameptr := % nameptr = 1;
s num.names$ 'numnames := % numnames = num.name$(s);
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{
" \& "
* t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr := % nameptr += 1;
namesleft #1 - 'namesleft := % namesleft =- 1;
}
while$
}
%
% Format editor names for use in the "in" types: inbook, incollection,
% inproceedings: first initial, then last names. When editors are the
% LABEL for an entry, then format.editor is used which lists editors
% by last name first.
%
FUNCTION {format.editors.fml}
{ editor empty$
{ "" }
{ editor format.names.fml }
if$
}
%
% Format editor names for use in labels, last names first.
%
FUNCTION {format.editors}
{ editor empty$
{ "" }
{ editor format.names add.editors.indication }
if$
}
FUNCTION {format.title}
{ title empty$
{ "" }
{ title "t" change.case$ }
if$
}
FUNCTION {output.publisher}
{
mid.sen.nocomma 'output.state :=
publisher empty$
{ address empty$
{ "No publisher or address in " cite$ * warning$ ""}
{ "There's an address but no publisher in " cite$ * warning$
"(" address * ")" *
}
if$
}
{ address empty$
{ "(" publisher * ")" * }
{ "(" address * ": " * publisher * ")" * }
if$
}
if$
output
}
FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
{ "~" }
{ " " }
if$
swap$ * *
}
FUNCTION {format.btitle} % Title should be on stack.
{ duplicate$ empty$ edition empty$ or
'skip$
{ " (" * edition * " ed.)" * }
if$
}
FUNCTION {format.ed.booktitle} % The title should be on the stack.
{ duplicate$ empty$
{ "no book title in " cite$ * warning$ "" pop$ }
{ editor empty$
author empty$ or % Empty author means editor already given.
'format.btitle
{ format.btitle ", ed. " * format.editors.fml * }
if$
}
if$
}
FUNCTION {add.no}
{ " No." number tie.or.space.connect *
}
FUNCTION {add.vol}
{ ", Vol." volume tie.or.space.connect *
}
FUNCTION {format.full.book.spec} % The title should be on the stack.
{ series empty$
{ format.ed.booktitle
volume empty$
{ number empty$
'skip$
{ " there's a number but no series in " cite$ * warning$
add.no }
if$
}
{ add.vol
number empty$
'skip$
{"Both volume and number fields in " * cite$ * warning$ }
if$
}
if$
}
{ volume empty$
{ format.ed.booktitle ", " * series *
number empty$
'skip$
'add.no
if$
}
{ series add.vol ", " * swap$ format.ed.booktitle *
number empty$
'skip$
{"Both volume and number fields in " * cite$ * warning$ }
if$
}
if$
}
if$
}
INTEGERS { multiresult }
%FUNCTION {multi.page.check}
%{ 't :=
% #0 'multiresult :=
% { multiresult not
% t empty$ not
% and
% }
% { t #1 #1 substring$
% duplicate$ "-" =
% swap$ duplicate$ "," =
% swap$ "+" =
% or or
% { #1 'multiresult := }
% { t #2 global.max$ substring$ 't := }
% if$
% }
% while$
% multiresult
%}
%Return only the first page from page range (e.g. "1" from "1-20").
FUNCTION {format.pages.short}
{ pages 't :=
""
{ t empty$ not
t #1 #1 substring$ "-" = not
and
t #1 #1 substring$ "+" = not
and
}
{ t #1 #1 substring$ *
t #2 global.max$ substring$ 't :=
}
while$
}
% Format pages for a book citation.
FUNCTION {format.pages.p}
{
pages empty$
{ "" }
{ "p." format.pages.short tie.or.space.connect }
if$
}
FUNCTION {format.pages.book}
{
pages empty$
{ "" }
'format.pages.short
if$
}
% By Young (and Spencer)
% GNP - fixed bugs with missing volume, number, and/or pages
%
% Format journal, volume, number, pages for article types.
%
FUNCTION {output.jour.vol}
{ journal empty$
{ "no journal in " cite$ * warning$
"" }
{ journal output }
if$
volume empty$
'skip$
{ Volume output }
if$
pages empty$
'skip$
{
duplicate$ empty$ % For no volume, add "p." so page different from vol.
{ pop$ ", " * format.pages.p * }
{ ", " * format.pages.short * }
if$
}
if$
}
FUNCTION {format.chapter.pages}
{ chapter empty$
'format.pages.book
{ type empty$
{ "Ch." }
{ type "t" change.case$ }
if$
chapter tie.or.space.connect
pages empty$
'skip$
{ ", " * format.pages.book * }
if$
}
if$
}
FUNCTION {format.thesis.type}
{ type empty$
'skip$
{ pop$
type "t" change.case$
}
if$
}
FUNCTION {format.tr.number}
{ type empty$
{ "Technical Report" }
'type
if$
number empty$
{ "t" change.case$ }
{ number tie.or.space.connect }
if$
}
%FUNCTION {format.crossref}
%{ "in \citeN{" crossref * "}" *
%}
%FUNCTION {format.book.crossref}
%{ volume empty$
% { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
% "in "
% }
% { "Vol." volume tie.or.space.connect
% " of " *
% }
% if$
% " \citeN{" * crossref * "}" *
%}
FUNCTION {article}
{ output.bibitem
format.authors output
author format.key output % added
add.period$
output.year.check
output.jour.vol
fin.entry
}
FUNCTION {book}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check }
{ editor empty$
{ format.authors output.nonnull }
{ "Can't use both author and editor fields in " * cite$ * warning$ }
if$
}
if$
add.period$
output.year.check % added
title format.full.book.spec output
output.publisher
format.pages.book output
fin.entry
}
FUNCTION {booklet}
{ output.bibitem
format.authors output
author format.key output
author empty$ key empty$ and
'skip$
'add.period$
if$
mid.sen.nocomma 'output.state :=
output.year
format.title output
howpublished output
address output
fin.entry
}
FUNCTION {inbook}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check }
{ format.authors output.nonnull }
if$
add.period$
output.year.check % added
title format.full.book.spec
output
output.publisher
format.chapter.pages "chapter and pages" output.check
fin.entry
}
FUNCTION {incollection}
{ output.bibitem
format.authors "author" output.check
author format.key output % added
add.period$
output.year.check % added
"in " booktitle format.full.book.spec * output
output.publisher
format.chapter.pages output
fin.entry
}
FUNCTION {inproceedings}
{ output.bibitem
format.authors "author" output.check
author format.key output % added
add.period$
output.year.check % added
"in " booktitle format.full.book.spec * output
publisher empty$
{ organization output
address output
}
{ output.publisher }
if$
format.pages.book output
fin.entry
}
FUNCTION {conference} { inproceedings }
FUNCTION {manual}
{ output.bibitem
author empty$
{ editor empty$
{ organization format.key output } % if all else fails, use key
{ format.editors "author and editor" output.check }
if$
}
{ format.authors output.nonnull }
if$
add.period$
mid.sen.nocomma 'output.state :=
output.year
title format.btitle "title" output.check
author empty$ not editor empty$ not or
{organization output}
'skip$
if$
address output
% address output
% ":" output
% organization output
fin.entry
}
FUNCTION {misc}
{ output.bibitem