Debian Codegraph @

texmf-dist/bibtex/bst/hc/hc-de.bst

raw
1 %%
2 %% This is file `hc-de.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% merlin.mbs (with options: `head,exlang,ay,nat,vonx,nm-revv1,aunm-semi,dt-beg,yr-par,aymth,yrp-col,note-yr,atit-u,trtit-b,pre-pub,edby,edbyx,in-col,german,pp,ed,abr,ord,and-xcom,nfss,{}')
8 %% german.mbs (with options: `exlang,ay,nat,vonx,nm-revv1,aunm-semi,dt-beg,yr-par,aymth,yrp-col,note-yr,atit-u,trtit-b,pre-pub,edby,edbyx,in-col,german,pp,ed,abr,ord,and-xcom,nfss,{}')
9 %% merlin.mbs (with options: `tail,exlang,ay,nat,vonx,nm-revv1,aunm-semi,dt-beg,yr-par,aymth,yrp-col,note-yr,atit-u,trtit-b,pre-pub,edby,edbyx,in-col,german,pp,ed,abr,ord,and-xcom,nfss,{}')
10 %% ----------------------------------------
11 %% *** Bibliographie-Standard von Christian Siefkes ***
12 %%
13 %-------------------------------------------------------------------
14 % The original source file contains the following version information:
15 % \ProvidesFile{merlin.mbs}[1998/02/25 3.85a (PWD)]
16 %
17 % NOTICE:
18 % This file may be used for non-profit purposes.
19 % It may not be distributed in exchange for money,
20 % other than distribution costs.
21 %
22 % The author provides it `as is' and does not guarantee it in any way.
23 %
24 % Copyright (C) 1994-98 Patrick W. Daly
25 %-------------------------------------------------------------------
26 % For use with BibTeX version 0.99a or later
27 %-------------------------------------------------------------------
28 % This bibliography style file is intended for texts in
29 % GERMAN
30 % This is an author-year citation style bibliography. As such, it is
31 % non-standard LaTeX, and requires a special package file to function properly.
32 % Such a package is natbib.sty by Patrick W. Daly
33 % The form of the \bibitem entries is
34 % \bibitem[Jones et al.(1990)]{key}...
35 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
36 % The essential feature is that the label (the part in brackets) consists
37 % of the author names, as they should appear in the citation, with the year
38 % in parentheses following. There must be no space before the opening
39 % parenthesis!
40 % With natbib v5.3, a full list of authors may also follow the year.
41 % In natbib.sty, it is possible to define the type of enclosures that is
42 % really wanted (brackets or parentheses), but in either case, there must
43 % be parentheses in the label.
44 % The \cite command functions as follows:
45 % \citet{key} ==>> Jones et al. (1990)
46 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
47 % \citep{key} ==>> (Jones et al., 1990)
48 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
49 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
50 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
51 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
52 % \citeauthor{key} ==>> Jones et al.
53 % \citeauthor*{key} ==>> Jones, Baker, and Smith
54 % \citeyear{key} ==>> 1990
55 %---------------------------------------------------------------------
56
57 ENTRY
58 { address
59 author
60 booktitle
61 chapter
62 edition
63 editor
64 howpublished
65 institution
66 journal
67 key
68 month
69 note
70 number
71 organization
72 pages
73 publisher
74 school
75 series
76 title
77 type
78 volume
79 year
80 }
81 {}
82 { label extra.label sort.label short.list }
83
84 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
85
86 FUNCTION {init.state.consts}
87 { #0 'before.all :=
88 #1 'mid.sentence :=
89 #2 'after.sentence :=
90 #3 'after.block :=
91 }
92
93 STRINGS { s t }
94
95 FUNCTION {output.nonnull}
96 { 's :=
97 output.state mid.sentence =
98 { ", " * write$ }
99 { output.state after.block =
100 { add.period$ write$
101 newline$
102 "\newblock " write$
103 }
104 { output.state before.all =
105 'write$
106 { add.period$ " " * write$ }
107 if$
108 }
109 if$
110 mid.sentence 'output.state :=
111 }
112 if$
113 s
114 }
115
116 FUNCTION {output}
117 { duplicate$ empty$
118 'pop$
119 'output.nonnull
120 if$
121 }
122
123 FUNCTION {output.check}
124 { 't :=
125 duplicate$ empty$
126 { pop$ "empty " t * " in " * cite$ * warning$ }
127 'output.nonnull
128 if$
129 }
130
131 FUNCTION {fin.entry}
132 { add.period$
133 write$
134 newline$
135 }
136
137 FUNCTION {new.block}
138 { output.state before.all =
139 'skip$
140 { after.block 'output.state := }
141 if$
142 }
143
144 FUNCTION {new.sentence}
145 { output.state after.block =
146 'skip$
147 { output.state before.all =
148 'skip$
149 { after.sentence 'output.state := }
150 if$
151 }
152 if$
153 }
154
155 FUNCTION {add.blank}
156 { " " * before.all 'output.state :=
157 }
158
159 FUNCTION {date.block}
160 {
161 ":" *
162 add.blank
163 }
164
165 FUNCTION {not}
166 { { #0 }
167 { #1 }
168 if$
169 }
170
171 FUNCTION {and}
172 { 'skip$
173 { pop$ #0 }
174 if$
175 }
176
177 FUNCTION {or}
178 { { pop$ #1 }
179 'skip$
180 if$
181 }
182
183 FUNCTION {new.block.checkb}
184 { empty$
185 swap$ empty$
186 and
187 'skip$
188 'new.block
189 if$
190 }
191
192 FUNCTION {field.or.null}
193 { duplicate$ empty$
194 { pop$ "" }
195 'skip$
196 if$
197 }
198
199 FUNCTION {emphasize}
200 { duplicate$ empty$
201 { pop$ "" }
202 { "\emph{" swap$ * "}" * }
203 if$
204 }
205
206 FUNCTION {capitalize}
207 { "u" change.case$ "t" change.case$ }
208
209 FUNCTION {space.word}
210 { " " swap$ * " " * }
211
212 % Here are the language-specific definitions for explicit words.
213 % Each function has a name bbl.xxx where xxx is the English word.
214 %-------------------------------------------------------------------
215 % The original source file contains the following version information:
216 % \ProvidesFile{german.mbs}[1995/11/02 1.5 (PWD)]
217 % Copyright (C) 1994, 1995 Patrick W. Daly
218 %-------------------------------------------------------------------
219
220 % The language selected here is GERMAN
221 FUNCTION {bbl.and}
222 { "und"}
223
224 FUNCTION {bbl.editors}
225 { "Hg." }
226
227 FUNCTION {bbl.editor}
228 { "Hg." }
229
230 FUNCTION {bbl.edby}
231 { "herausgegeben von" }
232
233 FUNCTION {bbl.edition}
234 { "Aufl." }
235
236 FUNCTION {bbl.volume}
237 { "Bd." }
238
239 FUNCTION {bbl.of}
240 { "von" }
241
242 FUNCTION {bbl.number}
243 { "Nr." }
244
245 FUNCTION {bbl.nr}
246 { "Nr." }
247
248 FUNCTION {bbl.in}
249 { "in" }
250
251 FUNCTION {bbl.pages}
252 { "S." }
253
254 FUNCTION {bbl.page}
255 { "S." }
256
257 FUNCTION {bbl.chapter}
258 { "Kap." }
259
260 FUNCTION {bbl.techrep}
261 { "{Techn.\ Ber.}" }
262
263 FUNCTION {bbl.mthesis}
264 { "Diplomarbeit" }
265
266 FUNCTION {bbl.phdthesis}
267 { "Dissertation" }
268
269 FUNCTION {bbl.first}
270 { "1." }
271
272 FUNCTION {bbl.second}
273 { "2." }
274
275 FUNCTION {bbl.third}
276 { "3." }
277
278 FUNCTION {bbl.fourth}
279 { "4." }
280
281 FUNCTION {bbl.fifth}
282 { "5." }
283
284 FUNCTION {bbl.th}
285 { "." }
286
287 MACRO {jan} {"Jan."}
288
289 MACRO {feb} {"Febr."}
290
291 MACRO {mar} {"M\^^b{a}rz"}
292
293 MACRO {apr} {"Apr."}
294
295 MACRO {may} {"Mai"}
296
297 MACRO {jun} {"Juni"}
298
299 MACRO {jul} {"Juli"}
300
301 MACRO {aug} {"Aug."}
302
303 MACRO {sep} {"Sept."}
304
305 MACRO {oct} {"Okt."}
306
307 MACRO {nov} {"Nov."}
308
309 MACRO {dec} {"Dez."}
310
311 % End of language definition file
312
313 MACRO {acmcs} {"ACM Computing Surveys"}
314
315 MACRO {acta} {"Acta Informatica"}
316
317 MACRO {cacm} {"Communications of the ACM"}
318
319 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
320
321 MACRO {ibmsj} {"IBM Systems Journal"}
322
323 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
324
325 MACRO {ieeetc} {"IEEE Transactions on Computers"}
326
327 MACRO {ieeetcad}
328 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
329
330 MACRO {ipl} {"Information Processing Letters"}
331
332 MACRO {jacm} {"Journal of the ACM"}
333
334 MACRO {jcss} {"Journal of Computer and System Sciences"}
335
336 MACRO {scp} {"Science of Computer Programming"}
337
338 MACRO {sicomp} {"SIAM Journal on Computing"}
339
340 MACRO {tocs} {"ACM Transactions on Computer Systems"}
341
342 MACRO {tods} {"ACM Transactions on Database Systems"}
343
344 MACRO {tog} {"ACM Transactions on Graphics"}
345
346 MACRO {toms} {"ACM Transactions on Mathematical Software"}
347
348 MACRO {toois} {"ACM Transactions on Office Information Systems"}
349
350 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
351
352 MACRO {tcs} {"Theoretical Computer Science"}
353
354 INTEGERS { nameptr namesleft numnames }
355
356 FUNCTION {format.names}
357 { 's :=
358 #1 'nameptr :=
359 s num.names$ 'numnames :=
360 numnames 'namesleft :=
361 { namesleft #0 > }
362 { nameptr #1 >
363 { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ }
364 { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ }
365 if$
366 't :=
367 nameptr #1 >
368 {
369 namesleft #1 >
370 { "; " * t * }
371 {
372 s nameptr "{ll}" format.name$ duplicate$ "others" =
373 { 't := }
374 { pop$ }
375 if$
376 t "others" =
377 {
378 " et~al." *
379 }
380 { bbl.and space.word * t * }
381 if$
382 }
383 if$
384 }
385 't
386 if$
387 nameptr #1 + 'nameptr :=
388 namesleft #1 - 'namesleft :=
389 }
390 while$
391 }
392 FUNCTION {format.names.ed}
393 { 's :=
394 #1 'nameptr :=
395 s num.names$ 'numnames :=
396 numnames 'namesleft :=
397 { namesleft #0 > }
398 { s nameptr
399 "{ff~}{vv~}{ll}{, jj}"
400 format.name$
401 't :=
402 nameptr #1 >
403 {
404 namesleft #1 >
405 { "; " * t * }
406 {
407 s nameptr "{ll}" format.name$ duplicate$ "others" =
408 { 't := }
409 { pop$ }
410 if$
411 t "others" =
412 {
413 " et~al." *
414 }
415 { bbl.and space.word * t * }
416 if$
417 }
418 if$
419 }
420 't
421 if$
422 nameptr #1 + 'nameptr :=
423 namesleft #1 - 'namesleft :=
424 }
425 while$
426 }
427
428 FUNCTION {format.key}
429 { empty$
430 { key field.or.null }
431 { "" }
432 if$
433 }
434
435 FUNCTION {format.authors}
436 { author empty$
437 { "" }
438 { author format.names }
439 if$
440 }
441
442 FUNCTION {format.editors}
443 { editor empty$
444 { "" }
445 { editor format.names
446 editor num.names$ #1 >
447 { ", " * bbl.editors * }
448 { ", " * bbl.editor * }
449 if$
450 }
451 if$
452 }
453
454 FUNCTION {format.in.editors}
455 { editor empty$
456 { "" }
457 { editor format.names.ed
458 }
459 if$
460 }
461
462 FUNCTION {format.note}
463 { note empty$
464 { "" }
465 { note #1 #1 substring$
466 duplicate$ "{" =
467 'skip$
468 { output.state mid.sentence =
469 { "l" }
470 { "u" }
471 if$
472 change.case$
473 }
474 if$
475 note #2 global.max$ substring$ *
476 }
477 if$
478 }
479
480 FUNCTION {format.title}
481 { title empty$
482 { "" }
483 { title
484 }
485 if$
486 }
487
488 FUNCTION {format.full.names}
489 {'s :=
490 #1 'nameptr :=
491 s num.names$ 'numnames :=
492 numnames 'namesleft :=
493 { namesleft #0 > }
494 { s nameptr
495 "{vv~}{ll}" format.name$
496 't :=
497 nameptr #1 >
498 {
499 namesleft #1 >
500 { ", " * t * }
501 {
502 s nameptr "{ll}" format.name$ duplicate$ "others" =
503 { 't := }
504 { pop$ }
505 if$
506 t "others" =
507 {
508 " et~al." *
509 }
510 { bbl.and space.word * t * }
511 if$
512 }
513 if$
514 }
515 't
516 if$
517 nameptr #1 + 'nameptr :=
518 namesleft #1 - 'namesleft :=
519 }
520 while$
521 }
522
523 FUNCTION {author.editor.key.full}
524 { author empty$
525 { editor empty$
526 { key empty$
527 { cite$ #1 #3 substring$ }
528 'key
529 if$
530 }
531 { editor format.full.names }
532 if$
533 }
534 { author format.full.names }
535 if$
536 }
537
538 FUNCTION {author.key.full}
539 { author empty$
540 { key empty$
541 { cite$ #1 #3 substring$ }
542 'key
543 if$
544 }
545 { author format.full.names }
546 if$
547 }
548
549 FUNCTION {editor.key.full}
550 { editor empty$
551 { key empty$
552 { cite$ #1 #3 substring$ }
553 'key
554 if$
555 }
556 { editor format.full.names }
557 if$
558 }
559
560 FUNCTION {make.full.names}
561 { type$ "book" =
562 type$ "inbook" =
563 or
564 'author.editor.key.full
565 { type$ "proceedings" =
566 'editor.key.full
567 'author.key.full
568 if$
569 }
570 if$
571 }
572
573 FUNCTION {output.bibitem}
574 { newline$
575 "\bibitem[{" write$
576 label write$
577 ")" make.full.names duplicate$ short.list =
578 { pop$ }
579 { * }
580 if$
581 "}]{" * write$
582 cite$ write$
583 "}" write$
584 newline$
585 ""
586 before.all 'output.state :=
587 }
588
589 FUNCTION {n.dashify}
590 {
591 't :=
592 ""
593 { t empty$ not }
594 { t #1 #1 substring$ "-" =
595 { t #1 #2 substring$ "--" = not
596 { "--" *
597 t #2 global.max$ substring$ 't :=
598 }
599 { { t #1 #1 substring$ "-" = }
600 { "-" *
601 t #2 global.max$ substring$ 't :=
602 }
603 while$
604 }
605 if$
606 }
607 { t #1 #1 substring$ *
608 t #2 global.max$ substring$ 't :=
609 }
610 if$
611 }
612 while$
613 }
614
615 FUNCTION {word.in}
616 { bbl.in capitalize
617 ":" *
618 " " * }
619
620 FUNCTION {format.date}
621 { year duplicate$ empty$
622 { "empty year in " cite$ * "; set to ????" * warning$
623 pop$ "????" }
624 'skip$
625 if$
626 month empty$
627 'skip$
628 { month
629 " " * swap$ *
630 }
631 if$
632 extra.label *
633 before.all 'output.state :=
634 " (" swap$ * ")" *
635 }
636
637 FUNCTION {format.btitle}
638 { title emphasize
639 }
640
641 FUNCTION {tie.or.space.connect}
642 { duplicate$ text.length$ #3 <
643 { "~" }
644 { " " }
645 if$
646 swap$ * *
647 }
648
649 FUNCTION {either.or.check}
650 { empty$
651 'pop$
652 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
653 if$
654 }
655
656 FUNCTION {format.bvolume}
657 { volume empty$
658 { "" }
659 { bbl.volume volume tie.or.space.connect
660 series empty$
661 'skip$
662 { bbl.of space.word * series emphasize * }
663 if$
664 "volume and number" number either.or.check
665 }
666 if$
667 }
668
669 FUNCTION {format.number.series}
670 { volume empty$
671 { number empty$
672 { series field.or.null }
673 { output.state mid.sentence =
674 { bbl.number }
675 { bbl.number capitalize }
676 if$
677 number tie.or.space.connect
678 series empty$
679 { "there's a number but no series in " cite$ * warning$ }
680 { bbl.in space.word * series * }
681 if$
682 }
683 if$
684 }
685 { "" }
686 if$
687 }
688
689 FUNCTION {is.num}
690 { chr.to.int$
691 duplicate$ "0" chr.to.int$ < not
692 swap$ "9" chr.to.int$ > not and
693 }
694
695 FUNCTION {extract.num}
696 { duplicate$ 't :=
697 "" 's :=
698 { t empty$ not }
699 { t #1 #1 substring$
700 t #2 global.max$ substring$ 't :=
701 duplicate$ is.num
702 { s swap$ * 's := }
703 { pop$ "" 't := }
704 if$
705 }
706 while$
707 s empty$
708 'skip$
709 { pop$ s }
710 if$
711 }
712
713 FUNCTION {convert.edition}
714 { edition extract.num "l" change.case$ 's :=
715 s "first" = s "1" = or
716 { bbl.first 't := }
717 { s "second" = s "2" = or
718 { bbl.second 't := }
719 { s "third" = s "3" = or
720 { bbl.third 't := }
721 { s "fourth" = s "4" = or
722 { bbl.fourth 't := }
723 { s "fifth" = s "5" = or
724 { bbl.fifth 't := }
725 { s #1 #1 substring$ is.num
726 { s bbl.th * 't := }
727 { edition 't := }
728 if$
729 }
730 if$
731 }
732 if$
733 }
734 if$
735 }
736 if$
737 }
738 if$
739 t
740 }
741
742 FUNCTION {format.edition}
743 { edition empty$
744 { "" }
745 { output.state mid.sentence =
746 { convert.edition "l" change.case$ " " * bbl.edition * }
747 { convert.edition "t" change.case$ " " * bbl.edition * }
748 if$
749 }
750 if$
751 }
752
753 INTEGERS { multiresult }
754
755 FUNCTION {multi.page.check}
756 { 't :=
757 #0 'multiresult :=
758 { multiresult not
759 t empty$ not
760 and
761 }
762 { t #1 #1 substring$
763 duplicate$ "-" =
764 swap$ duplicate$ "," =
765 swap$ "+" =
766 or or
767 { #1 'multiresult := }
768 { t #2 global.max$ substring$ 't := }
769 if$
770 }
771 while$
772 multiresult
773 }
774
775 FUNCTION {format.pages}
776 { pages empty$
777 { "" }
778 { pages multi.page.check
779 { bbl.pages pages n.dashify tie.or.space.connect }
780 { bbl.page pages tie.or.space.connect }
781 if$
782 }
783 if$
784 }
785
786 FUNCTION {format.journal.pages}
787 { pages empty$
788 'skip$
789 { duplicate$ empty$
790 { pop$ format.pages }
791 {
792 ":" *
793 pages n.dashify *
794 }
795 if$
796 }
797 if$
798 }
799
800 FUNCTION {format.vol.num.pages}
801 { volume field.or.null
802 number empty$
803 'skip$
804 {
805 "(" number * ")" * *
806 volume empty$
807 { "there's a number but no volume in " cite$ * warning$ }
808 'skip$
809 if$
810 }
811 if$
812 format.journal.pages
813 }
814
815 FUNCTION {format.chapter.pages}
816 { chapter empty$
817 'format.pages
818 { type empty$
819 { bbl.chapter }
820 { type "l" change.case$ }
821 if$
822 chapter tie.or.space.connect
823 pages empty$
824 'skip$
825 { ", " * format.pages * }
826 if$
827 }
828 if$
829 }
830
831 FUNCTION {format.in.ed.booktitle}
832 { booktitle empty$
833 { "" }
834 { editor empty$
835 { word.in booktitle emphasize * }
836 { word.in booktitle emphasize *
837 ", " *
838 editor num.names$ #1 >
839 { bbl.editors }
840 { bbl.editor }
841 if$
842 * " " *
843 format.in.editors *
844 }
845 if$
846 }
847 if$
848 }
849
850 FUNCTION {format.thesis.type}
851 { type empty$
852 'skip$
853 { pop$
854 type "t" change.case$
855 }
856 if$
857 }
858
859 FUNCTION {format.tr.number}
860 { type empty$
861 { bbl.techrep }
862 'type
863 if$
864 number empty$
865 { "t" change.case$ }
866 { number tie.or.space.connect }
867 if$
868 }
869
870 FUNCTION {format.article.crossref}
871 {
872 word.in
873 " \cite{" * crossref * "}" *
874 }
875
876 FUNCTION {format.book.crossref}
877 { volume empty$
878 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
879 word.in
880 }
881 { bbl.volume capitalize
882 volume tie.or.space.connect
883 bbl.of space.word *
884 }
885 if$
886 " \cite{" * crossref * "}" *
887 }
888
889 FUNCTION {format.incoll.inproc.crossref}
890 {
891 word.in
892 " \cite{" * crossref * "}" *
893 }
894
895 FUNCTION {format.publisher}
896 { publisher empty$
897 { "empty publisher in " cite$ * warning$ }
898 'skip$
899 if$
900 ""
901 address empty$ publisher empty$ and
902 'skip$
903 {
904 publisher empty$
905 { address empty$
906 'skip$
907 { address * }
908 if$
909 }
910 { publisher *
911 address empty$
912 'skip$
913 { ", " * address * }
914 if$
915 }
916 if$
917 }
918 if$
919 output
920 }
921
922 FUNCTION {article}
923 { output.bibitem
924 format.authors "author" output.check
925 author format.key output
926 format.date "year" output.check
927 date.block
928 format.title "title" output.check
929 new.block
930 crossref missing$
931 { journal
932 emphasize
933 "journal" output.check
934 format.vol.num.pages output
935 }
936 { format.article.crossref output.nonnull
937 format.pages output
938 }
939 if$
940 new.block
941 format.note output
942 fin.entry
943 }
944
945 FUNCTION {book}
946 { output.bibitem
947 author empty$
948 { format.editors "author and editor" output.check
949 editor format.key output
950 }
951 { format.authors output.nonnull
952 crossref missing$
953 { "author and editor" editor either.or.check }
954 'skip$
955 if$
956 }
957 if$
958 format.date "year" output.check
959 date.block
960 format.btitle "title" output.check
961 crossref missing$
962 { format.bvolume output
963 new.block
964 format.number.series output
965 new.sentence
966 format.publisher
967 }
968 {
969 new.block
970 format.book.crossref output.nonnull
971 }
972 if$
973 format.edition output
974 new.block
975 format.note output
976 fin.entry
977 }
978
979 FUNCTION {booklet}
980 { output.bibitem
981 format.authors output
982 author format.key output
983 format.date "year" output.check
984 date.block
985 format.title "title" output.check
986 new.block
987 howpublished output
988 address output
989 new.block
990 format.note output
991 fin.entry
992 }
993
994 FUNCTION {inbook}
995 { output.bibitem
996 author empty$
997 { format.editors "author and editor" output.check
998 editor format.key output
999 }
1000 { format.authors output.nonnull
1001 crossref missing$
1002 { "author and editor" editor either.or.check }
1003 'skip$
1004 if$
1005 }
1006 if$
1007 format.date "year" output.check
1008 date.block
1009 format.btitle "title" output.check
1010 crossref missing$
1011 {
1012 format.publisher
1013 format.bvolume output
1014 format.chapter.pages "chapter and pages" output.check
1015 new.block
1016 format.number.series output
1017 new.sentence
1018 }
1019 {
1020 format.chapter.pages "chapter and pages" output.check
1021 new.block
1022 format.book.crossref output.nonnull
1023 }
1024 if$
1025 format.edition output
1026 new.block
1027 format.note output
1028 fin.entry
1029 }
1030
1031 FUNCTION {incollection}
1032 { output.bibitem
1033 format.authors "author" output.check
1034 author format.key output
1035 format.date "year" output.check
1036 date.block
1037 format.title "title" output.check
1038 new.block
1039 crossref missing$
1040 { format.in.ed.booktitle "booktitle" output.check
1041 format.publisher
1042 format.bvolume output
1043 format.number.series output
1044 format.chapter.pages output
1045 new.sentence
1046 format.edition output
1047 }
1048 { format.incoll.inproc.crossref output.nonnull
1049 format.chapter.pages output
1050 }
1051 if$
1052 new.block
1053 format.note output
1054 fin.entry
1055 }
1056
1057 FUNCTION {inproceedings}
1058 { output.bibitem
1059 format.authors "author" output.check
1060 author format.key output
1061 format.date "year" output.check
1062 date.block
1063 format.title "title" output.check
1064 new.block
1065 crossref missing$
1066 { format.in.ed.booktitle "booktitle" output.check
1067 new.sentence
1068 publisher empty$
1069 { organization output
1070 address output
1071 }
1072 { organization output
1073 format.publisher
1074 }
1075 if$
1076 format.bvolume output
1077 format.number.series output
1078 format.pages output
1079 }
1080 { format.incoll.inproc.crossref output.nonnull
1081 format.pages output
1082 }
1083 if$
1084 new.block
1085 format.note output
1086 fin.entry
1087 }
1088
1089 FUNCTION {conference} { inproceedings }
1090
1091 FUNCTION {manual}
1092 { output.bibitem
1093 format.authors output
1094 author format.key output
1095 format.date "year" output.check
1096 date.block
1097 format.btitle "title" output.check
1098 organization address new.block.checkb
1099 organization output
1100 address output
1101 format.edition output
1102 new.block
1103 format.note output
1104 fin.entry
1105 }
1106
1107 FUNCTION {mastersthesis}
1108 { output.bibitem
1109 format.authors "author" output.check
1110 author format.key output
1111 format.date "year" output.check
1112 date.block
1113 format.btitle "title" output.check
1114 new.block
1115 bbl.mthesis format.thesis.type output.nonnull
1116 school "school" output.check
1117 address output
1118 new.block
1119 format.note output
1120 fin.entry
1121 }
1122
1123 FUNCTION {misc}
1124 { output.bibitem
1125 format.authors output
1126 author format.key output
1127 format.date "year" output.check
1128 date.block
1129 format.title output
1130 new.block
1131 howpublished output
1132 new.block
1133 format.note output
1134 fin.entry
1135 }
1136
1137 FUNCTION {phdthesis}
1138 { output.bibitem
1139 format.authors "author" output.check
1140 author format.key output
1141 format.date "year" output.check
1142 date.block
1143 format.btitle "title" output.check
1144 new.block
1145 bbl.phdthesis format.thesis.type output.nonnull
1146 school "school" output.check
1147 address output
1148 new.block
1149 format.note output
1150 fin.entry
1151 }
1152
1153 FUNCTION {proceedings}
1154 { output.bibitem
1155 format.editors output
1156 editor format.key output
1157 format.date "year" output.check
1158 date.block
1159 format.btitle "title" output.check
1160 format.bvolume output
1161 format.number.series output
1162 address output
1163 new.sentence
1164 organization output
1165 publisher output
1166 new.block
1167 format.note output
1168 fin.entry
1169 }
1170
1171 FUNCTION {techreport}
1172 { output.bibitem
1173 format.authors "author" output.check
1174 author format.key output
1175 format.date "year" output.check
1176 date.block
1177 format.btitle "title" output.check
1178 new.block
1179 format.tr.number output.nonnull
1180 institution "institution" output.check
1181 address output
1182 new.block
1183 format.note output
1184 fin.entry
1185 }
1186
1187 FUNCTION {unpublished}
1188 { output.bibitem
1189 format.authors "author" output.check
1190 author format.key output
1191 format.date "year" output.check
1192 date.block
1193 format.title "title" output.check
1194 new.block
1195 format.note "note" output.check
1196 fin.entry
1197 }
1198
1199 FUNCTION {default.type} { misc }
1200
1201 READ
1202
1203 FUNCTION {sortify}
1204 { purify$
1205 "l" change.case$
1206 }
1207
1208 INTEGERS { len }
1209
1210 FUNCTION {chop.word}
1211 { 's :=
1212 'len :=
1213 s #1 len substring$ =
1214 { s len #1 + global.max$ substring$ }
1215 's
1216 if$
1217 }
1218
1219 FUNCTION {format.lab.names}
1220 { 's :=
1221 s #1 "{vv~}{ll}" format.name$
1222 s num.names$ duplicate$
1223 #2 >
1224 { pop$
1225 " et~al." *
1226 }
1227 { #2 <
1228 'skip$
1229 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1230 {
1231 " et~al." *
1232 }
1233 { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
1234 * }
1235 if$
1236 }
1237 if$
1238 }
1239 if$
1240 }
1241
1242 FUNCTION {author.key.label}
1243 { author empty$
1244 { key empty$
1245 { cite$ #1 #3 substring$ }
1246 'key
1247 if$
1248 }
1249 { author format.lab.names }
1250 if$
1251 }
1252
1253 FUNCTION {author.editor.key.label}
1254 { author empty$
1255 { editor empty$
1256 { key empty$
1257 { cite$ #1 #3 substring$ }
1258 'key
1259 if$
1260 }
1261 { editor format.lab.names }
1262 if$
1263 }
1264 { author format.lab.names }
1265 if$
1266 }
1267
1268 FUNCTION {editor.key.label}
1269 { editor empty$
1270 { key empty$
1271 { cite$ #1 #3 substring$ }
1272 'key
1273 if$
1274 }
1275 { editor format.lab.names }
1276 if$
1277 }
1278
1279 FUNCTION {calc.short.authors}
1280 { type$ "book" =
1281 type$ "inbook" =
1282 or
1283 'author.editor.key.label
1284 { type$ "proceedings" =
1285 'editor.key.label
1286 'author.key.label
1287 if$
1288 }
1289 if$
1290 'short.list :=
1291 }
1292
1293 FUNCTION {calc.label}
1294 { calc.short.authors
1295 short.list
1296 "("
1297 *
1298 year duplicate$ empty$
1299 { pop$ "????" }
1300 'skip$
1301 if$
1302 *
1303 'label :=
1304 }
1305
1306 FUNCTION {sort.format.names}
1307 { 's :=
1308 #1 'nameptr :=
1309 ""
1310 s num.names$ 'numnames :=
1311 numnames 'namesleft :=
1312 { namesleft #0 > }
1313 { s nameptr
1314 "{ll{ }}{ ff{ }}{ jj{ }}"
1315 format.name$ 't :=
1316 nameptr #1 >
1317 {
1318 " " *
1319 namesleft #1 = t "others" = and
1320 { "zzzzz" * }
1321 { t sortify * }
1322 if$
1323 }
1324 { t sortify * }
1325 if$
1326 nameptr #1 + 'nameptr :=
1327 namesleft #1 - 'namesleft :=
1328 }
1329 while$
1330 }
1331
1332 FUNCTION {sort.format.title}
1333 { 't :=
1334 "A " #2
1335 "An " #3
1336 "The " #4 t chop.word
1337 chop.word
1338 chop.word
1339 sortify
1340 #1 global.max$ substring$
1341 }
1342
1343 FUNCTION {author.sort}
1344 { author empty$
1345 { key empty$
1346 { "to sort, need author or key in " cite$ * warning$
1347 ""
1348 }
1349 { key sortify }
1350 if$
1351 }
1352 { author sort.format.names }
1353 if$
1354 }
1355
1356 FUNCTION {author.editor.sort}
1357 { author empty$
1358 { editor empty$
1359 { key empty$
1360 { "to sort, need author, editor, or key in " cite$ * warning$
1361 ""
1362 }
1363 { key sortify }
1364 if$
1365 }
1366 { editor sort.format.names }
1367 if$
1368 }
1369 { author sort.format.names }
1370 if$
1371 }
1372
1373 FUNCTION {editor.sort}
1374 { editor empty$
1375 { key empty$
1376 { "to sort, need editor or key in " cite$ * warning$
1377 ""
1378 }
1379 { key sortify }
1380 if$
1381 }
1382 { editor sort.format.names }
1383 if$
1384 }
1385
1386 FUNCTION {presort}
1387 { calc.label
1388 label sortify
1389 " "
1390 *
1391 type$ "book" =
1392 type$ "inbook" =
1393 or
1394 'author.editor.sort
1395 { type$ "proceedings" =
1396 'editor.sort
1397 'author.sort
1398 if$
1399 }
1400 if$
1401 #1 entry.max$ substring$
1402 'sort.label :=
1403 sort.label
1404 *
1405 " "
1406 *
1407 title field.or.null
1408 sort.format.title
1409 *
1410 #1 entry.max$ substring$
1411 'sort.key$ :=
1412 }
1413
1414 ITERATE {presort}
1415
1416 SORT
1417
1418 STRINGS { last.label next.extra }
1419
1420 INTEGERS { last.extra.num number.label }
1421
1422 FUNCTION {initialize.extra.label.stuff}
1423 { #0 int.to.chr$ 'last.label :=
1424 "" 'next.extra :=
1425 #0 'last.extra.num :=
1426 #0 'number.label :=
1427 }
1428
1429 FUNCTION {forward.pass}
1430 { last.label label =
1431 { last.extra.num #1 + 'last.extra.num :=
1432 last.extra.num int.to.chr$ 'extra.label :=
1433 }
1434 { "a" chr.to.int$ 'last.extra.num :=
1435 "" 'extra.label :=
1436 label 'last.label :=
1437 }
1438 if$
1439 number.label #1 + 'number.label :=
1440 }
1441
1442 FUNCTION {reverse.pass}
1443 { next.extra "b" =
1444 { "a" 'extra.label := }
1445 'skip$
1446 if$
1447 extra.label 'next.extra :=
1448 extra.label
1449 duplicate$ empty$
1450 'skip$
1451 { "{\natexlab{" swap$ * "}}" * }
1452 if$
1453 'extra.label :=
1454 label extra.label * 'label :=
1455 }
1456
1457 EXECUTE {initialize.extra.label.stuff}
1458
1459 ITERATE {forward.pass}
1460
1461 REVERSE {reverse.pass}
1462
1463 FUNCTION {bib.sort.order}
1464 { sort.label
1465 " "
1466 *
1467 year field.or.null sortify
1468 *
1469 " "
1470 *
1471 title field.or.null
1472 sort.format.title
1473 *
1474 #1 entry.max$ substring$
1475 'sort.key$ :=
1476 }
1477
1478 ITERATE {bib.sort.order}
1479
1480 SORT
1481
1482 FUNCTION {begin.bib}
1483 { preamble$ empty$
1484 'skip$
1485 { preamble$ write$ newline$ }
1486 if$
1487 "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1488 write$ newline$
1489 "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
1490 write$ newline$
1491 }
1492
1493 EXECUTE {begin.bib}
1494
1495 EXECUTE {init.state.consts}
1496
1497 ITERATE {call.type$}
1498
1499 FUNCTION {end.bib}
1500 { newline$
1501 "\end{thebibliography}" write$ newline$
1502 }
1503
1504 EXECUTE {end.bib}
1505 %% End of customized bst file
1506 %%
1507 %% End of file `hc-de.bst'.