Debian Codegraph @

texmf-dist/bibtex/bst/din1505/unsrtdin.bst

raw
1 %% UNSRTDIN.BST Ausgabe [8.2] 2006-01-02
2 %% mit doi-, urn-, url-Funktionen
3 %% ersetzt UNSRTDIN.BST Ausgabe [8.1b3] 22.2.2005
4 %% ersetzt UNSRTDIN.BST Ausgabe [7] 16/6/99
5 %%
6 %% K.F.Lorenzen (Copyright 1994-2006) email: [email protected]
7 %% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 %% UNSRTDIN.BST wurde entwickelt aus BibTeX standard bibliography style
9 %% `unsrt'.Mit UNSRTDIN.BST werden Literaturverzeichnisse gemaess der deutschen
10 %% Zitiernorm DIN 1505 Teil 2 formatiert.
11 %% Analog zu den 4 US standard styles wird ein vollstaendiger Satz von
12 %% 4 DIN-gerechten bst-style Dateien veroeffentlicht (alphadin.bst,
13 %% plaindin.bst, unsrtdin.bst, abbrvdin.bst). Die gueltige Version
14 %% ist am schnellsten aus dem WWW ueber folgende URL zu beziehen
15 %% http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
16 %% Stand: 2006-01-02
17 %% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 %% WAS IST UNSRTDIN.BST ?
19 %% Dieser style produziert Literaturzitate in Literaturverzeichnissen
20 %% gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
21 %% Die Reihenfolge der Zitate im Text bestimmt die Reihenfolge im
22 %% Literaturverzeichnis, das somit unsortiert ist. Form und Gestaltung
23 %% entsprechen der von plaindin.bst. Die label im Literaturverzeichnis sowie
24 %% im Text sind Nummern in eckigen Klammern. Die vorliegenden DIN-styles
25 %% gehen ueber die bibliographischen Beschraenkungen der Originalstyles hinaus.
26 %
27 %% Es werden nun auch Elektronische Online / Offline Ressourcen wie Internet-
28 %% quellen, CD-ROM usw. verarbeitet. Dazu kommen besondere Publikationsformen
29 %% wie Patente, Normen, Karten, Fernsehaufzeichnungen, Gesetzesstellen, Spiele.
30 %
31 %% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten in den
32 %% DIN-styles die in der Tex-Literatur veroeffentlichten originalen
33 %% Definitionen und Regeln fuer die Publikationstypen (entry-types) und die
34 %% bibliographischen Felder (fields).
35 %% Treten kleinere "Schoenheitsfehler" im fertig gesetzten output auf,
36 %% lassen sich diese so gut wie immer durch eine veraenderte
37 %% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
38 %% Definition der Felder weit auszulegen. Last but not least koennen
39 %% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
40 %
41 %% WARN- UND FEHLERMELDUNGEN
42 %% Ursache von Warnmeldungen sind meistens ausgelassene Felder oder
43 %% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
44 %% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
45 %% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
46 %% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um heraus zu finden,
47 %% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
48 %% kombiniert worden sind.
49 %% Echte Fehler ("errors") treten nur noch in Verbindung mit falscher
50 %% Erfassung auf (nach meinen Tests!). Pruefen Sie die Syntax, den entry-type
51 %% und die fields.
52 %% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
53 %%
54 %% DANKSAGUNG
55 %% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
56 %% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
57 %% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
58 %% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
59 %% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
60 %% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
61 %% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
62 %% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
63 %%
64 %% Klaus F. Lorenzen
65 %%
66 %%
67 %%
68 %% HINWEIS: Neben den vier bibliographischen DIN 1505 Standard-Stilen
69 %% nach den Original-styles von Oren Patashnik
70 %% gibt es zusaetzlich vier DIN 1505 Modifikationen der style
71 %% Emulationen des NATBIB-Pakets von Patrick W.Daly.
72 %% In den NATBIB-Modifikationen werden jetzt alle von P.W. Daly
73 %% implementierten Zitierweisen des Autor-Jahr-Stils unterstuetzt.
74 %% Damit erhaelt der Anwender eine weit ueber die urspruenglichen
75 %% Standardstyles hinausreichende Flexibilitaet beim Zitieren.
76 %% Naeheres unter URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
77 %%
78 %%
79 %% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 % version 0.99c for BibTeX versions 0.99c or later, LaTeX2e
81 % Copyright (C) 1985, all rights reserved.
82 % Copying of this file is authorized only if either
83 % (1) you make absolutely no changes to your copy, including name, or
84 % (2) if you do make changes, you name it something other than
85 % plaindin.bst, unsrtdin.bst, alphadin.bst, and abbrvdin.bst.
86 % This restriction helps ensure that all standard styles are identical.
87 % The file btxbst.doc has the original documentation for style 'alpha'.
88 %%
89 %% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 %%
91 %% NEUE FELDER
92 %% Zur Erfassung der neuen digitalen Online-Medien z.B. Internetquellen, E-journals, E-books,
93 %% E-mail u.a. gibt es die zusaetzlichen Felder: doi, url, urn, lastchecked
94 %% Internetquellen werden vorzugsweise mit dem BOOKLET-Typ erfasst.
95 %% Normen, Patente, Schutzrechte sind mit dem MISC-Typ zu erfassen.
96 %
97 %
98 ENTRY
99 { address %% Verlagsort
100 author %% persoenlicher Urheber eines Werkes
101 booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
102 % %% b) Titel des Sammelwerks, das einzelne selbstaendige
103 % %% Beitraege mit eigenem Titel enthaelt (->incollection)
104 chapter %% Kapitel in einem Buch (Monographie)
105 doi %%% Digital Object Identifier
106 edition %% Auflagevermerk; bei selbst. elektron. Dok. == Version
107 editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
108 howpublished %% beliebiger Verlegervermerk: von wem, wo
109 institution %% Institution, die e.Verlagsfreie Veroeffentlichung betreibt
110 isbn %% Standardnr fuer Buecher
111 issn %% - " - : Zeitschriften u. Serien
112 journal %% Titel einer Zeitschrift
113 key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
114 lastchecked %% Online Abruf einer Internetquelle ( GRAY ); 22.1.2004
115 month %% naehere Bestimmung des Erscheinungsjahres (-> macro 's)
116 note %% freies Eingabefeld fuer zusaetzliche Informationen
117 number %% Mehrfachbedeutung in Abhaengigkeit vom Eingabetyp
118 organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
119 % %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
120 pages %% Umfangsangaben, meist Seitenzahlen
121 publisher %% Verlag
122 school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
123 series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
124 title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
125 type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
126 url %%% Internet-Adresse URL ( Uniform Resource Locator )
127 urn %% Persistent Identifier URN ( Uniform Resource Name )
128 volume %% a) Zaehlung bei einem mehrbaendigen Werk (-> book)
129 % %% b) Jahrgang einer Zeitschrift (-> article
130 year %% Erscheinungsjahr
131 }
132 {}
133 { label }
134
135 %% Variablen-Vereinbarungen
136
137 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
138
139 INTEGERS { colon.after period.dash }
140
141 INTEGERS { after.firstblock }
142
143 %% fuer die Namensbehandlung
144
145 INTEGERS { zahl lang }
146
147 INTEGERS { nameptr namesleft numnames }
148
149 INTEGERS { ptr collation collrest }
150
151 %% fuer die Sortierung bei der label-Produktion
152 INTEGERS { len }
153
154 INTEGERS { number.label longest.label.width }
155 %%----------------------------------------------------------------------
156
157 STRINGS { h s t u v w }
158
159 %% bei der Behandlung der Namen-Funktionsbezeichnung (Hrsg., Redakt., usw)
160 STRINGS { fkt }
161
162 %% fuer die label-Produktion
163 STRINGS { longest.label }
164
165 %%%----------------------------------------------------------------------------
166 % Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
167 %%%----------------------------------------------------------------------------
168
169 % Abkuerzung ("... und andere") bei Mehrverfasserquellen:
170
171 FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
172
173 %% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
174
175 FUNCTION { und } { " u. " }
176
177 %% oder ausgeschrieben: FUNCTION { und } { " und " }
178 %
179 % Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
180 % zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
181
182 FUNCTION { eress } { "Elektronische Ressource" }
183
184 %%%-----------------------------------------------------------------------------------
185
186
187 FUNCTION {init.state.consts}
188 { #0 'before.all :=
189 #1 'mid.sentence :=
190 #2 'after.sentence :=
191 #3 'after.block :=
192 #4 'colon.after :=
193 #5 'period.dash :=
194 #6 'after.firstblock :=
195 }
196
197 FUNCTION {output.nonnull}
198 { 's :=
199 output.state after.block =
200 { add.period$ write$
201 newline$
202 "\newblock " write$
203 }
204 { output.state before.all =
205 { write$ }
206 { output.state colon.after =
207 { ": " * write$
208 newline$
209 "\newblock " write$
210 }
211 { output.state period.dash =
212 { ". -- " * write$
213 newline$
214 "\newblock " write$
215 }
216 { output.state mid.sentence =
217 { ", " * write$ }
218 { output.state after.sentence =
219 { " " * write$ }
220 { output.state after.firstblock =
221 { add.period$ write$
222 newline$
223 "\newblock " write$
224 }
225 { write$
226 newline$
227 "\newblock " write$
228 }
229 if$
230 }
231 if$
232 }
233 if$
234 }
235 if$
236 }
237 if$
238 }
239 if$
240 after.block 'output.state :=
241 }
242 if$
243 s
244 }
245
246 FUNCTION {output}
247 { duplicate$ empty$
248 'pop$
249 'output.nonnull
250 if$
251 }
252
253 FUNCTION {output.check}
254 { 't :=
255 duplicate$ empty$
256 { pop$ "empty " t * " in " * cite$ * warning$ }
257 'output.nonnull
258 if$
259 }
260
261 FUNCTION {new.block}
262 { output.state before.all =
263 'skip$
264 { after.block 'output.state := }
265 if$
266 }
267
268 FUNCTION {not}
269 { { #0 }
270 { #1 }
271 if$
272 }
273
274 FUNCTION {and}
275 { 'skip$
276 { pop$ #0 }
277 if$
278 }
279
280 FUNCTION {or}
281 { { pop$ #1 }
282 'skip$
283 if$
284 }
285
286
287 FUNCTION {output.bibitem}
288 { newline$
289 "\bibitem[" write$
290 label write$%
291 "]{" write$
292 cite$ write$
293 "}" write$
294 newline$
295 ""
296 before.all 'output.state :=
297 }
298
299 FUNCTION {fin.entry}
300 { write$
301 newline$
302 }
303
304 FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
305 { output.state before.all =
306 'skip$
307 { period.dash 'output.state := }
308 if$
309 }
310
311 FUNCTION {set.period.dash.check}
312 { empty$
313 'skip$
314 'set.period.dash
315 if$
316 }
317
318 FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
319 { output.state before.all =
320 'skip$
321 { colon.after 'output.state := }
322 if$
323 }
324
325 %% Wenn ein " " die Satzteile trennen soll.!
326 FUNCTION {new.sentence}
327 { output.state before.all =
328 'skip$
329 { after.sentence 'output.state := }
330 if$
331 }
332
333 %% Wenn ein ", " die Satzteile trennen soll.!
334 FUNCTION { part.of.sentence }
335 { output.state before.all =
336 'skip$
337 { mid.sentence 'output.state := }
338 if$
339 }
340
341 FUNCTION {new.sentence.checka}
342 { empty$
343 'skip$
344 'new.sentence
345 if$
346 }
347
348 FUNCTION {field.or.null}
349 { duplicate$ empty$
350 { pop$ "" }
351 'skip$
352 if$
353 }
354
355 FUNCTION {emphasize}
356 { duplicate$ empty$
357 { pop$ "" }
358 { "\emph{" swap$ * "}" * }
359 if$
360 }
361
362 FUNCTION { capitalize }
363 { duplicate$ empty$
364 { pop$ "" }
365 { "\textsc{" swap$ * "}" * }
366 if$
367 }
368
369 FUNCTION {article.in.journal}
370 { duplicate$ empty$
371 { pop$ "" }
372 { author missing$ title missing$ and
373 { emphasize }
374 { emphasize "{In: }" swap$ * }
375 if$
376 }
377 if$
378 }
379
380 FUNCTION {format.doi}
381 { doi empty$
382 { "" }
383 { new.block "\url{http://dx.doi.org/" doi * "}" *
384 %% { new.block "\url{http://dx.medra.org/" doi * "}" *
385 }
386 if$
387 }
388
389 FUNCTION {format.url}
390 { urn missing$
391 { doi missing$
392 { url empty$
393 { "" }
394 { type empty$ NOT
395 { type #-1 #4 substring$ "mail" =
396 type #1 #4 substring$ "Mail" =
397 OR
398 { type$ "incollection" =
399 { "" }
400 { "\,Absenderadresse: \url{" url * "}" * }
401 if$
402 }
403 { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
404 if$
405 }
406 { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
407 if$
408 }
409 if$
410 }
411 { format.doi }
412 if$
413 }
414 { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
415 }
416 if$
417 }
418
419 FUNCTION {format.maillist.url}
420 { url empty$
421 { "" }
422 { type empty$
423 { "" }
424 { type #-1 #4 substring$ "mail" =
425 type #1 #4 substring$ "Mail" =
426 OR
427 { "\url{" url * "}" * }
428 { "" }
429 if$
430 }
431 if$
432 }
433 if$
434 }
435
436
437
438 %% Adelspraedikate beim Sortieren nach den(m) Vornamen auffuehren
439 %% Abweichend v. DIN !!!
440 FUNCTION {format.names}
441 { 's :=
442 "" 'u :=
443 #1 'nameptr :=
444 s num.names$ 'numnames :=
445 numnames 'namesleft :=
446 { namesleft #0 > }
447 {
448 s nameptr "{ll}" format.name$ 't :=
449 t capitalize 't :=
450 s nameptr "{ jj}" format.name$ 'w :=
451 s nameptr "{, ff}{ vv}{ jj}" format.name$ 'u :=
452 u text.length$ 'lang :=
453 #1 'zahl :=
454 "" 'v :=
455 { zahl lang < }
456 { u zahl #1 substring$ "~" =
457 { v "" =
458 { u #1 zahl #1 - substring$ 'v := }
459 'skip$
460 if$
461 v u zahl #2 substring$ * "." * w * 'v :=
462 }
463 'skip$
464 if$
465 zahl #1 + 'zahl := }
466 while$
467 v "" =
468 { u 'v := }
469 'skip$
470 if$
471 t v * fkt * 't :=
472 nameptr #1 >
473 { namesleft #1 >
474 { " ; " * t * }
475 { numnames #2 >
476 { " " * }
477 'skip$
478 if$
479 t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
480 { ua.etal * }
481 { " ; " * t * }
482 if$
483 }
484 if$ %% Ende der namesleft-Pruefung
485 }
486 't
487 if$ %% Ende der nameptr-Pruefung
488
489 nameptr #1 + 'nameptr :=
490 namesleft #1 - 'namesleft :=
491 }
492 while$ %% Ende von { namesleft #0 > } ganz oben
493 "" 'fkt := %% fkt wird zurueckgesetzt
494 }
495
496 FUNCTION {format.authors}
497 { author empty$
498 { "" }
499 { author format.names }
500 if$
501 }
502
503 FUNCTION {format.editors}
504 { editor empty$
505 { author empty$
506 { "empty author and editor in " cite$ * warning$ "" }
507 'skip$
508 if$
509 }
510 { author empty$
511 { " (Hrsg.)" 'fkt :=
512 editor format.names
513 }
514 { " (Hrsg.)" 'fkt :=
515 " ; " * editor format.names *
516 }
517 if$
518 }
519 if$
520 }
521
522 FUNCTION { format.authors.organization }
523 { type$ "misc" =
524 { organization empty$
525 { author empty$
526 { "" }
527 { author format.names " (Erfinder)" * }
528 if$
529 }
530 { author empty$
531 { organization }
532 { author format.names " (Erfinder); " *
533 organization * " (Anmelder)" *
534 }
535 if$
536 }
537 if$
538 }
539 { type$ "manual" =
540 { organization empty$
541 { format.authors }
542 { author empty$
543 { organization capitalize " (Hrsg.)" * }
544 { author format.names }
545 if$
546 }
547 if$
548 }
549 'skip$
550 if$
551 }
552 if$
553 }
554
555
556
557 FUNCTION { format.editors.organization }
558 { organization empty$
559 'skip$
560 { type$ "misc" =
561 { organization }
562 { * " ; " * organization " (Veranst.)" *}
563 if$
564 }
565 if$
566 }
567
568 FUNCTION { format.tr.institution }
569 { institution empty$
570 'skip$
571 { institution capitalize }
572 if$
573 }
574
575 FUNCTION {format.ed.incoll}
576 { editor empty$
577 { "" }
578 { " (Hrsg.)" 'fkt :=
579 editor format.names
580 }
581 if$
582 }
583
584
585 FUNCTION {format.title}
586 { title empty$
587 { "" }
588 { title } %% Text so wie er dasteht im Feld title
589 if$
590 }
591
592 FUNCTION {format.number}
593 { number empty$
594 { "" }
595 { number " " * } %% Text so wie er im Feld number steht plus " "
596 if$
597 }
598
599
600 FUNCTION {format.type}
601 { type empty$
602 { "" }
603 { type " " * } %% Text wie er dasteht; Schutzrecht, Norm etc.
604 if$
605 }
606
607 FUNCTION {format.digital.type}
608 { type empty$
609 { "" }
610 { type #-1 #4 substring$ "mail" =
611 type #1 #4 substring$ "Mail" =
612 OR
613 { "" }
614 { type } %% Typ einer digitalen Ressource in Form einer
615 %% "Ergaenzenden Angabe", so wie er dasteht;
616 %% Alternativ kann dieser Text auch in NOTE erfasst werden.
617 if$
618 }
619 if$
620 }
621
622 FUNCTION {n.dashify}
623 { 't :=
624 ""
625 { t empty$ not }
626 { t #1 #1 substring$ "-" =
627 { t #1 #2 substring$ "--" = not
628 { "--" *
629 t #2 global.max$ substring$ 't :=
630 }
631 { { t #1 #1 substring$ "-" = }
632 { "-" *
633 t #2 global.max$ substring$ 't :=
634 }
635 while$
636 }
637 if$
638 }
639 { t #1 #1 substring$ *
640 t #2 global.max$ substring$ 't :=
641 }
642 if$
643 }
644 while$
645 }
646
647 %% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
648 %% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
649 %% oder fremdsprachlich: EDITION= { 2nd edition }
650
651 FUNCTION {format.edition}
652 { edition empty$
653 { "" }
654 { edition }
655 if$
656 }
657
658 FUNCTION {format.date}
659 { year duplicate$ empty$
660 { "empty year in " cite$ * warning$
661 pop$ "" }
662 'skip$
663 if$
664 month empty$
665 'skip$
666 { type$ "book" =
667 type$ "inbook" =
668 OR
669 'skip$
670 { month " " * swap$ * }
671 if$
672 }
673 if$
674 }
675
676 FUNCTION {format.edition.or.date}
677 { edition empty$ year empty$ and
678 { "" }
679 { edition empty$
680 { type empty$ NOT
681 { type #-1 #4 substring$ "mail" =
682 type #1 #4 substring$ "Mail" =
683 OR
684 { " gesendet: " "-- " type * swap$ *
685 format.date *
686 }
687 { "\,Version:\,"
688 format.date *
689 }
690 if$
691 }
692 { "\,Version:\,"
693 format.date *
694 }
695 if$
696 }
697 { year empty$
698 { "\,Version:\," edition * }
699 { "\,Version:\," edition * ", " *
700 format.date *
701 }
702 if$
703 }
704 if$
705 }
706 if$
707 }
708
709 FUNCTION {format.version.url}
710 { url empty$ doi empty$ urn empty$ and and
711 { type$ "techreport" =
712 { format.edition }
713 { "" }
714 if$
715 }
716 { format.edition.or.date output format.url }
717 if$
718 }
719
720 FUNCTION {format.edition.or.version}
721 { url empty$ doi empty$ urn empty$ and and
722 { format.edition }
723 { format.edition.or.date }
724 if$
725 }
726
727 FUNCTION {format.address.publisher.year}
728 { publisher empty$
729 { address empty$
730 { year empty$
731 { "" }
732 { year }
733 if$
734 }
735 { "there's an address but no publisher in " cite$ * warning$
736 address ", " * format.date *
737 }
738 if$
739 }
740 { address empty$
741 { year empty$
742 { "neither address nor publication date in " cite$ * warning$
743 publisher
744 }
745 { publisher ", " * format.date * }
746 if$
747 }
748 { year empty$
749 { address " : " * publisher * }
750 { address " : " * publisher * ", " * format.date * }
751 if$
752 }
753 if$
754 }
755 if$
756 }
757
758
759 FUNCTION {format.address.publisher.year.alt}
760 { publisher empty$
761 { address empty$
762 { year empty$
763 { "" }
764 { url empty$
765 { year }
766 { "" }
767 if$
768 }
769 if$
770 }
771 { "there's an address but no publisher in " cite$ * warning$
772 address ", " * format.date *
773 }
774 if$
775 }
776 { url empty$%%%% wenn es URL gibt wird nur die service-provider Adresse
777 %%% ausgegeben, die im publisher-Feld steht
778 { address empty$
779 { year empty$
780 { "neither address nor publication date in " cite$ * warning$
781 publisher
782 }
783 { publisher ", " * format.date * }
784 if$
785 }
786 { year empty$
787 { address " : " * publisher * }
788 { address " : " * publisher * ", " * format.date * }
789 if$
790 }
791 if$
792 }
793 { publisher }
794 if$
795 }
796 if$
797 }
798
799 FUNCTION {format.howpublished}
800 { url missing$ urn missing$ doi missing$ AND AND
801 { howpublished empty$
802 { address empty$
803 { type empty$
804 { "" }
805 { type #-1 #4 substring$ "mail" =
806 { "(gesendet: " new.sentence
807 format.date * ")" *
808 }
809 { "" }
810 if$
811 }
812 if$
813 format.date *
814 }
815 { address ", " * format.date * }
816 if$
817 }
818 { address empty$
819 { howpublished ", " * format.date * }
820 { address " : " * howpublished * ", " * format.date * }
821 if$
822 }
823 if$
824 }
825 { howpublished empty$
826 { "" }
827 { howpublished }
828 if$
829 }
830 if$
831 }
832
833 FUNCTION {format.lastchecked.or.type}
834 { lastchecked empty$
835 { url empty$ doi empty$ urn empty$ and and
836 { type empty$
837 { skip$ }
838 { type set.period.dash.check
839 type output
840 }
841 if$
842 }
843 { type empty$
844 { skip$ }
845 { type #-1 #4 substring$ "mail" =
846 type #1 #4 substring$ "Mail" =
847 OR
848 { skip$ }
849 { type set.period.dash.check
850 type output }
851 if$
852 }
853 if$
854 }
855 if$
856 }
857 { url empty$ doi empty$ urn empty$ and and
858 { "there's a lastchecked date but no url, urn or doi in "
859 cite$ * warning$
860 }
861 { type empty$
862 { "there's a URL and a lastchecked date but no type in "
863 cite$ * warning$
864 }
865 { type set.period.dash.check
866 type output
867 part.of.sentence
868 lastchecked "Abruf: " swap$ * output
869 }
870 if$
871 }
872 if$
873 }
874 if$
875 }
876
877
878 FUNCTION {format.btitle}
879 { title emphasize
880 }
881
882 FUNCTION {tie.or.space.connect}
883 { duplicate$ text.length$ #3 <
884 { "~" }
885 { " " }
886 if$
887 swap$ * *
888 }
889
890 FUNCTION {format.btitle.vol}
891 { number empty$
892 { series empty$
893 { volume empty$
894 { title emphasize }
895 { title emphasize ". Bd." * volume tie.or.space.connect }
896 if$
897 }
898 { volume empty$
899 { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
900 %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
901 %% Zaehlung=VOLUME und Bandtitel=TITLE;
902 { series emphasize ". Bd." * volume tie.or.space.connect
903 ": " * "{\emph{" * title * "}}" * }
904 if$
905 }
906 if$%% series-test
907 }
908 { title emphasize }%% wenn number ex., dann immer title-Feld
909 if$%% Ende number-test
910 }
911
912 FUNCTION {format.series.number.din}
913 { volume empty$
914 { number empty$
915 { series empty$
916 { "" }
917 { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
918 %% im SERIES-Feld miterfasst werden
919 if$
920 }
921 { series empty$
922 { "(" number * ")" *
923 "there's a number but no series in " cite$ * warning$
924 }
925 { "(" series * number tie.or.space.connect ")" * }
926 if$
927 }
928 if$
929 }
930 { series empty$
931 { "" }
932 { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
933 type$ "inproceedings" = OR
934 { number empty$
935 { "(" series * ")" * }
936 { "(" series * number tie.or.space.connect ")" * }
937 if$
938 }
939 { "" }%% Ausstieg mit Nullstring, s. Kommentar
940 if$
941 }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
942 if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
943 %% Typ PROCEEDINGS falsche
944 } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
945 if$
946 }
947
948 FUNCTION {format.tr.series.or.number}
949 { number empty$
950 { series empty$
951 { "" }
952 { "(" series * ")" * }
953 if$
954 }
955 { series empty$
956 { "(" number * ")" * }
957 { "(" series * number tie.or.space.connect ")" * }
958 if$
959 }
960 if$
961 }
962
963 FUNCTION {format.misc.series}
964 { series empty$
965 { "" }
966 { "(" series * ")" * }
967 if$
968 }
969
970 FUNCTION { format.doi.urn }
971 { urn empty$
972 { doi empty$
973 { "" }
974 { "DOI" doi n.dashify tie.or.space.connect }
975 if$
976 }
977 { "URN" urn n.dashify tie.or.space.connect }
978 if$
979 }
980
981 FUNCTION { format.isbn.issn }
982 { isbn empty$
983 { issn empty$
984 { "" }
985 { "ISSN" issn n.dashify tie.or.space.connect }
986 if$
987 }
988 { "ISBN" isbn n.dashify tie.or.space.connect }
989 if$
990 }
991
992 FUNCTION {format.pages}
993 { pages empty$
994 { "" }
995 { url empty$
996 { "S." pages n.dashify tie.or.space.connect }
997 { pages }
998 if$
999 }
1000 if$
1001 }
1002
1003 FUNCTION {format.pages.book}
1004 { pages empty$
1005 { "" }
1006 { note empty$ isbn empty$ AND
1007 { "" pages n.dashify tie.or.space.connect " S" *
1008 add.period$ }
1009 { "" pages n.dashify tie.or.space.connect " S" * }
1010 if$
1011 }
1012 if$
1013 }
1014
1015 FUNCTION {format.pages.bkcollation}
1016 { pages empty$
1017 { "" }
1018 { "" pages n.dashify tie.or.space.connect }
1019 if$
1020 }
1021
1022 FUNCTION {format.bkpages.collat.check}
1023 { 's :=
1024 #1 'ptr :=
1025 s text.length$ 'collation :=
1026 collation #1 =
1027 { format.pages.book }
1028 {
1029 collation 'collrest :=
1030 { collrest #0 > }
1031 { s ptr #2 substring$ 't :=
1032 t "S." =
1033 { format.pages.bkcollation
1034 #0 'collrest := }
1035 { ptr #1 + 'ptr :=
1036 collrest #1 - 'collrest :=
1037 #1 collrest =
1038 { format.pages.book }
1039 { skip$ }
1040 if$
1041 }
1042 if$
1043 }
1044 while$
1045 }
1046 if$
1047 }
1048
1049 FUNCTION {format.vol.year.num.pages}
1050 { volume field.or.null
1051 year empty$
1052 { "there's no year in " cite$ * warning$ }
1053 { " (" year * ")" * * }
1054 if$
1055 month empty$
1056 'skip$
1057 { ", " month * * }
1058 if$
1059 number empty$
1060 'skip$
1061 { ", Nr. " number * * }
1062 if$
1063 pages empty$
1064 'skip$
1065 { duplicate$ empty$
1066 { pop$ "" }
1067 { title missing$
1068 { ", " pages format.bkpages.collat.check * *}
1069 { ", " format.pages * *}
1070 if$
1071 }
1072 if$
1073 }
1074 if$
1075 }
1076
1077 FUNCTION {format.chapter.inbook}
1078 { duplicate$ empty$
1079 { pop$ "empty chapter in " cite$ * warning$ }
1080 { type empty$
1081 { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
1082 { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
1083 %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
1084 if$
1085 }
1086 if$
1087 }
1088
1089 FUNCTION {format.chapter.pages}
1090 { chapter empty$
1091 'format.pages
1092 { type empty$
1093 { "Kapitel " }
1094 { url empty$
1095 { type }
1096 { "Kapitel " }
1097 if$
1098 }
1099 if$
1100 chapter tie.or.space.connect
1101 pages empty$
1102 'skip$
1103 { ", " * format.pages * }
1104 if$
1105 }
1106 if$
1107 }
1108
1109 FUNCTION {format.in.ed.booktitle.din}
1110 { booktitle empty$
1111 { "" }
1112 { editor empty$
1113 { volume empty$
1114 { "{In: }" booktitle emphasize * }
1115 { "{In: }" booktitle emphasize *
1116 " Bd." volume tie.or.space.connect *
1117 }
1118 if$
1119 }
1120 { volume empty$
1121 { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
1122 { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
1123 " Bd." volume tie.or.space.connect *
1124 }
1125 if$
1126 }
1127 if$
1128 }
1129 if$
1130 }
1131
1132 FUNCTION {format.thesis.tr.type}
1133 { type empty$
1134 'skip$
1135 { pop$
1136 type
1137 }
1138 if$
1139 }
1140
1141 FUNCTION {format.online.lastcheck}
1142 { lastchecked empty$
1143 { url empty$ doi empty$ urn empty$ and and
1144 { skip$ }
1145 { "" output }
1146 if$
1147 }
1148 { url empty$ doi empty$ urn empty$ and and
1149 { "there's a lastchecked date but no url, urn or doi in "
1150 cite$ * warning$
1151 }
1152 { part.of.sentence
1153 lastchecked "Abruf: " swap$ * output
1154 }
1155 if$
1156 }
1157 if$
1158 }
1159
1160 FUNCTION {format.maillist.lastcheck}
1161 { type empty$ NOT
1162 { type #-1 #4 substring$ "mail" =
1163 type #1 #4 substring$ "Mail" =
1164 OR
1165 { format.online.lastcheck }
1166 'skip$
1167 if$
1168 }
1169 'skip$
1170 if$
1171 }
1172
1173 FUNCTION {format.article.crossref}
1174 { key empty$
1175 { journal empty$
1176 { "need key or journal for " cite$ * " to crossref " * crossref *
1177 warning$
1178 ""
1179 }
1180 { "{In: }{\emph " journal * "}" * }
1181 if$
1182 }
1183 { "{In: }" key * }
1184 if$
1185 "\cite{" * crossref * "}" * ", " * format.pages *
1186 }
1187
1188 FUNCTION {format.crossref.editor}
1189 { editor #1 "{ll}" format.name$ " (Hrsg.)" *
1190 editor num.names$ duplicate$
1191 #2 >
1192 { pop$ ua.etal * }%% --->u. a.
1193 { #2 <
1194 'skip$
1195 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1196 { ua.etal }
1197
1198 { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
1199 if$
1200 }
1201 if$
1202 }
1203 if$
1204 }
1205
1206 FUNCTION {format.inbk.vol.title}
1207 { volume empty$
1208 { " In: " }
1209 { title empty$
1210 { " In: Bd." volume tie.or.space.connect
1211 " von " *
1212 }
1213 { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
1214 " (" * year * ") in " *
1215 }
1216 if$
1217 }
1218 if$
1219 }
1220
1221
1222 FUNCTION {format.book.crossref}
1223 { type$ "inbook" =
1224 { format.inbk.vol.title }
1225 { volume empty$
1226 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
1227 " "
1228 }
1229 { ". -- Bd." volume tie.or.space.connect
1230 " von " *
1231 }
1232 if$
1233 }
1234 if$
1235 editor empty$
1236 editor field.or.null author field.or.null =
1237 or
1238 { key empty$
1239 { series empty$
1240 { "need editor, key, or series for " cite$ * " to crossref " *
1241 crossref * warning$
1242 "" *
1243 }
1244 { "" * }
1245 if$
1246 }
1247 { key * }
1248 if$
1249 }
1250 { "" * }
1251 if$
1252 "\cite{" * crossref * "}" *
1253 }
1254
1255 FUNCTION {format.incoll.inproc.crossref}
1256 { editor empty$
1257 editor field.or.null author field.or.null =
1258 or
1259 { key empty$
1260 { booktitle empty$
1261 { "need editor, key, or booktitle for " cite$ * " to crossref " *
1262 crossref * warning$
1263 ""
1264 }
1265 { "{In: }{\emph " booktitle * "}" * }%%
1266 if$
1267 }
1268 { "{In: }" }
1269 if$
1270 }
1271 { "{In: }" }
1272 if$
1273 "\cite{" * crossref * "}" * %% ", " * format.pages * 5.12.2005
1274 }
1275
1276 FUNCTION {article}
1277 { output.bibitem
1278 format.authors "author" output.check
1279 set.colon.after
1280 format.title "title" output.check
1281 crossref missing$
1282 { journal article.in.journal output.nonnull
1283 new.sentence
1284 format.vol.year.num.pages output
1285 format.url output
1286 }
1287 { format.article.crossref output.nonnull }
1288 if$
1289 format.online.lastcheck
1290 doi set.period.dash.check
1291 urn set.period.dash.check
1292 format.doi.urn output
1293 issn set.period.dash.check
1294 format.isbn.issn output
1295 note set.period.dash.check
1296 note output
1297 fin.entry
1298 }
1299
1300 FUNCTION {book}
1301 { output.bibitem
1302 author empty$
1303 { format.editors "author and editor" output.check }
1304 { format.authors format.editors output.nonnull }
1305 if$
1306 set.colon.after
1307 crossref missing$
1308 { format.btitle.vol "title" output.check }
1309 { format.btitle "title" output.check }
1310 if$
1311 format.edition output
1312 format.address.publisher.year "publisher" output.check
1313 new.sentence
1314 crossref missing$
1315 { format.series.number.din output }
1316 { format.book.crossref output.nonnull }
1317 if$
1318 pages empty$
1319 { skip$ }
1320 { pages set.period.dash.check
1321 pages format.bkpages.collat.check output
1322 }
1323 if$
1324 format.doi output
1325 format.url output
1326 new.block
1327 isbn set.period.dash.check
1328 format.isbn.issn output
1329 note set.period.dash.check
1330 note output
1331 fin.entry
1332 }
1333
1334 FUNCTION {booklet}
1335 { output.bibitem
1336 author empty$
1337 { format.editors "author and editor" output.check }
1338 { format.authors format.editors output.nonnull }
1339 if$
1340 set.colon.after
1341 format.btitle "title" output.check
1342 format.edition.or.version output
1343 format.url output
1344 format.online.lastcheck
1345 format.howpublished output
1346 series new.sentence.checka
1347 format.series.number.din output
1348 pages empty$
1349 { skip$ }
1350 { pages set.period.dash.check
1351 pages format.bkpages.collat.check output
1352 }
1353 if$
1354 type set.period.dash.check
1355 format.digital.type output
1356 doi set.period.dash.check
1357 urn set.period.dash.check
1358 format.doi.urn output
1359 note set.period.dash.check
1360 note output
1361 format.isbn.issn output
1362 fin.entry
1363 }
1364
1365
1366 FUNCTION {inbook}
1367 { output.bibitem
1368 chapter format.chapter.inbook output.nonnull
1369 crossref missing$
1370 { author empty$
1371 { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
1372 { format.authors "\,{In:\,}" swap$ * output.nonnull }
1373 if$
1374 author empty$ editor empty$ AND
1375 { before.all 'output.state := }
1376 { set.colon.after }
1377 if$
1378 format.btitle.vol "title" output.check
1379 format.edition output
1380 format.address.publisher.year "publisher" output.check
1381 new.sentence
1382 format.series.number.din output
1383 isbn set.period.dash.check
1384 format.isbn.issn output
1385 }
1386 { format.book.crossref output.nonnull }
1387 if$
1388 part.of.sentence
1389 format.pages output
1390 note set.period.dash.check
1391 note output
1392 fin.entry
1393 }
1394
1395 FUNCTION {incollection}
1396 { output.bibitem
1397 format.authors "author" output.check
1398 set.colon.after
1399 format.title "title" output.check
1400 format.version.url output
1401 type empty$ NOT
1402 { type #-1 #4 substring$ "mail" =
1403 type #1 #4 substring$ "Mail" =
1404 OR
1405 'skip$
1406 { format.online.lastcheck }
1407 if$
1408 }
1409 { format.online.lastcheck }
1410 if$
1411 crossref missing$
1412 { format.in.ed.booktitle.din "booktitle" output.check
1413 format.edition output
1414 format.address.publisher.year "publisher" output.check
1415 format.maillist.url output
1416 format.maillist.lastcheck
1417 new.sentence
1418 format.series.number.din output
1419 doi set.period.dash.check
1420 urn set.period.dash.check
1421 format.doi.urn output
1422 isbn set.period.dash.check
1423 issn set.period.dash.check
1424 format.isbn.issn output
1425 }
1426 { format.incoll.inproc.crossref output.nonnull }
1427 if$
1428 part.of.sentence
1429 format.chapter.pages "pages" output.check
1430 note set.period.dash.check
1431 note output
1432 fin.entry
1433 }
1434
1435
1436 FUNCTION {inproceedings}
1437 { output.bibitem
1438 format.authors "author" output.check
1439 set.colon.after
1440 format.title "title" output.check
1441 crossref missing$
1442 { format.in.ed.booktitle.din "booktitle" output.check
1443 address empty$
1444 { organization new.sentence.checka
1445 organization output
1446 part.of.sentence
1447 format.address.publisher.year output
1448 }
1449 { format.address.publisher.year "publisher" output.check }
1450 if$
1451 new.sentence
1452 series empty$
1453 'skip$
1454 { format.series.number.din output }
1455 if$
1456 isbn set.period.dash.check
1457 issn set.period.dash.check
1458 format.isbn.issn output
1459 }
1460 { format.incoll.inproc.crossref output.nonnull }
1461 if$
1462 part.of.sentence
1463 format.pages "pages" output.check
1464 note set.period.dash.check
1465 note output
1466 fin.entry
1467 }
1468
1469
1470 FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
1471
1472 FUNCTION {manual}
1473 { output.bibitem
1474 author empty$
1475 { organization empty$
1476 { title empty$
1477 'skip$
1478 {format.btitle "title" output.check }
1479 if$
1480 }
1481 'skip$
1482 if$
1483 }
1484 'skip$
1485 if$
1486 format.authors.organization output.nonnull
1487 set.colon.after
1488 format.btitle "title" output.check
1489 format.edition "edition" output.check
1490 author empty$ organization empty$ AND
1491 { address "address" output.check
1492 part.of.sentence
1493 }
1494 { organization empty$
1495 { address "address" output.check
1496 part.of.sentence
1497 }
1498 { address ": " * organization * output
1499 part.of.sentence
1500 }
1501 if$
1502 }
1503 if$
1504 format.date output
1505 number empty$
1506 'skip$
1507 { "(" number * ") " * output }
1508 if$
1509 pages empty$
1510 { skip$ }
1511 { pages set.period.dash.check
1512 pages format.bkpages.collat.check output
1513 }
1514 if$
1515 format.doi output
1516 format.url output
1517 format.online.lastcheck
1518 note set.period.dash.check
1519 note output
1520 fin.entry
1521 }
1522
1523 %% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
1524 %% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
1525 FUNCTION {mastersthesis}
1526 { output.bibitem
1527 format.authors "author" output.check
1528 set.colon.after
1529 format.btitle "title" output.check
1530 address output
1531 part.of.sentence
1532 school "school" output.check
1533 part.of.sentence
1534 "Diplomarbeit" format.thesis.tr.type output.nonnull
1535 part.of.sentence
1536 format.date "year" output.check
1537 format.url output
1538 format.online.lastcheck
1539 %% format.digital.resource.type
1540 doi set.period.dash.check
1541 urn set.period.dash.check
1542 format.doi.urn output
1543 %% pages set.period.dash.check
1544 %% format.pages.book output
1545 pages empty$
1546 { skip$ }
1547 { pages set.period.dash.check
1548 pages format.bkpages.collat.check output
1549 }
1550 if$
1551 note set.period.dash.check
1552 note output
1553 fin.entry
1554 }
1555
1556 FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
1557 { output.bibitem
1558 format.authors "author" output.check
1559 set.colon.after
1560 format.btitle "title" output.check
1561 address output
1562 part.of.sentence
1563 school "school" output.check
1564 part.of.sentence
1565 "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
1566 part.of.sentence
1567 format.date "year" output.check
1568 format.url output
1569 format.online.lastcheck
1570 %% format.digital.resource.type
1571 doi set.period.dash.check
1572 urn set.period.dash.check
1573 format.doi.urn output
1574 pages empty$
1575 { skip$ }
1576 { pages set.period.dash.check
1577 pages format.bkpages.collat.check output
1578 }
1579 if$
1580 %% pages set.period.dash.check
1581 %% format.pages.book output
1582 note set.period.dash.check
1583 note output
1584 fin.entry
1585 }
1586
1587
1588 %% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
1589 %% (z.Zt. auch noch Internetressourcen)
1590 %% das type-Feld uebernimmt eine wichtige Steuerfunktion:
1591 FUNCTION {misc}
1592 { output.bibitem
1593 type missing$ not
1594 { type duplicate$ #1 #4 substring$ "Norm" =
1595 type #1 #4 substring$ "Vorn" = OR
1596 { " " *
1597 format.number * output
1598 new.sentence
1599 format.date output
1600 title empty$
1601 { skip$ }
1602 { add.period$ new.sentence }
1603 if$
1604 format.btitle "title" output.check
1605 note set.period.dash.check
1606 note output
1607 }
1608 { duplicate$ #1 #6 substring$ "Schutz" =
1609 { " " * format.number * output
1610 new.sentence
1611 "(" * format.date ")" * output
1612 add.period$ new.sentence
1613 format.authors.organization add.period$ output
1614 note output
1615 }
1616 %% wenn irgendein anderer Typ eingetragen ist
1617 { pop$ pop$ ""
1618 title empty$
1619 { note empty$
1620 { url empty$
1621 { "there's no relevant field in " cite$ warning$
1622 pop$ ""
1623 }
1624 { format.url output }%%%
1625 if$
1626 }
1627 { note " " * output.nonnull }
1628 if$
1629 }
1630 { author empty$
1631 { editor empty$
1632 { organization empty$
1633 { skip$ }
1634 { format.editors.organization output.nonnull
1635 set.colon.after
1636 }
1637 if$
1638 }
1639 { format.editors format.editors.organization
1640 output.nonnull set.colon.after
1641 }
1642 if$
1643 }
1644 { format.authors format.editors output.nonnull
1645 set.colon.after
1646 }
1647 if$
1648 format.btitle output.nonnull
1649 url empty$
1650 { format.edition output
1651 format.howpublished output}
1652 { format.howpublished output
1653 format.edition.or.date output
1654 format.url output
1655 }
1656 if$
1657 format.online.lastcheck
1658 %% format.lastchecked.or.type
1659 new.sentence
1660 format.misc.series output
1661 %% note set.period.dash.check
1662 note output
1663 }
1664 if$
1665 }
1666 if$
1667 }
1668 if$
1669 }
1670 %% wenn es keinen type gibt
1671 { title empty$
1672 { note empty$
1673 { url empty$
1674 { "there's no relevant field in " cite$ warning$
1675 pop$ ""
1676 }
1677 { format.url output }%%% das waere e. reine URL
1678 if$
1679 }
1680 { note " " * output.nonnull
1681 %% format.url format.date output
1682 }
1683 if$
1684 }
1685 { author empty$
1686 { editor empty$
1687 { organization empty$
1688 { skip$ }
1689 { format.editors.organization output.nonnull
1690 set.colon.after
1691 }
1692 if$
1693 }
1694 { format.editors format.editors.organization
1695 output.nonnull set.colon.after
1696 }
1697 if$
1698 }
1699 { format.authors format.editors output.nonnull
1700 set.colon.after
1701 }
1702 if$
1703 format.btitle output.nonnull
1704 url empty$
1705 { format.edition output
1706 format.howpublished output}
1707 { format.howpublished output
1708 format.url output
1709 format.edition.or.date output
1710 format.online.lastcheck
1711 %% format.lastchecked.or.type
1712 }
1713 if$
1714 new.sentence
1715 format.misc.series output
1716 note set.period.dash.check
1717 note output
1718 }
1719 if$
1720 }
1721 if$
1722 fin.entry
1723 }
1724
1725 FUNCTION {proceedings}
1726 { output.bibitem
1727 editor empty$
1728 { organization empty$
1729 { "empty organization and editor in " cite$ * warning$ }
1730 { organization " (Veranst.)" * output }
1731 if$
1732 }
1733 { format.editors format.editors.organization output.nonnull }
1734 if$
1735 set.colon.after
1736 format.btitle "title" output.check
1737 volume empty$
1738 { skip$ }
1739 { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
1740 if$
1741 format.address.publisher.year "publisher" output.check
1742 new.sentence
1743 format.series.number.din output.nonnull
1744 pages empty$
1745 { skip$ }
1746 { pages set.period.dash.check
1747 pages format.bkpages.collat.check output
1748 }
1749 if$
1750 isbn set.period.dash.check
1751 issn set.period.dash.check
1752 format.isbn.issn output
1753 note set.period.dash.check
1754 note output
1755 fin.entry
1756 }
1757
1758 FUNCTION {techreport}
1759 { output.bibitem
1760 author empty$
1761 { format.editors "author and editor" output.check
1762 format.tr.institution output.nonnull }
1763 { format.authors format.editors output.nonnull }
1764 if$
1765 set.colon.after
1766 format.title "title" output.check
1767 institution empty$
1768 'skip$
1769 { author empty$ editor empty$ AND
1770 'skip$
1771 { institution new.sentence.checka
1772 "/ " institution * output.nonnull
1773 }
1774 if$
1775 }
1776 if$
1777 format.version.url output
1778 format.online.lastcheck
1779 format.address.publisher.year output
1780 number new.sentence.checka
1781 format.tr.series.or.number "number" output.check
1782 "Forschungsbericht" format.thesis.tr.type set.period.dash.check
1783 "Forschungsbericht" format.thesis.tr.type output
1784 %% format.digital.resource.type
1785 pages empty$
1786 { skip$ }
1787 { pages set.period.dash.check
1788 pages format.bkpages.collat.check output
1789 }
1790 if$
1791 isbn set.period.dash.check
1792 issn set.period.dash.check
1793 format.isbn.issn output
1794 note set.period.dash.check
1795 note "note" output.check
1796 fin.entry
1797 }
1798
1799 FUNCTION {unpublished} {misc}%% AUTHOR, TITLE, NOTE muessen sein!
1800 %% andere Felder sind optional
1801
1802 FUNCTION {default.type} { misc }
1803
1804
1805 MACRO {jan} {"Januar"}
1806
1807 MACRO {feb} {"Februar"}
1808
1809 MACRO {mar} {"M{\^^b a}rz"}
1810
1811 MACRO {apr} {"April"}
1812
1813 MACRO {mai} {"Mai"}
1814
1815 MACRO {may} {"Mai"}
1816
1817 MACRO {jun} {"Juni"}
1818
1819 MACRO {jul} {"Juli"}
1820
1821 MACRO {aug} {"August"}
1822
1823 MACRO {sep} {"September"}
1824
1825 MACRO {okt} {"Oktober"}
1826
1827 MACRO {oct} {"Oktober"}
1828
1829 MACRO {nov} {"November"}
1830
1831 MACRO {dez} {"Dezember"}
1832
1833 MACRO {dec} {"Dezember"}
1834
1835 %%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
1836
1837 %%MACRO {acmcs} {"ACM Computing Surveys"}
1838
1839 %%MACRO {acta} {"Acta Informatica"}
1840
1841 READ
1842
1843 FUNCTION {initialize.longest.label}%% nicht identisch mit der Fkt.im ALPHA-Stil
1844 { "" 'longest.label :=
1845 #1 'number.label :=
1846 #0 'longest.label.width :=
1847 }
1848
1849 FUNCTION {longest.label.pass}
1850 { number.label int.to.str$ 'label :=
1851 number.label #1 + 'number.label :=
1852 label width$ longest.label.width >
1853 { label 'longest.label :=
1854 label width$ 'longest.label.width :=
1855 }
1856 'skip$
1857 if$
1858 }
1859
1860 EXECUTE { initialize.longest.label }
1861
1862 ITERATE { longest.label.pass }
1863
1864 FUNCTION {begin.bib}
1865 { preamble$ empty$
1866 'skip$
1867 { preamble$ write$ newline$ }
1868 if$
1869 "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1870 write$ newline$ newline$
1871 "% this bibliography is generated by unsrtdin.bst [8.2] from 2005-12-21"
1872 write$ newline$ newline$
1873 "\providecommand{\url}[1]{\texttt{#1}}"
1874 write$ newline$
1875 "\expandafter\ifx\csname urlstyle\endcsname\relax"
1876 write$ newline$
1877 " \providecommand{\doi}[1]{doi: #1}\else"
1878 write$ newline$
1879 " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
1880 write$ newline$
1881 }
1882
1883 EXECUTE {begin.bib}
1884
1885 EXECUTE {init.state.consts}
1886
1887 ITERATE {call.type$}
1888
1889 FUNCTION {end.bib}
1890 { newline$
1891 "\end{thebibliography}" write$ newline$
1892 }
1893
1894 EXECUTE {end.bib}