Skip to content

Commit

Permalink
Update din-1505-2-numeric.csl
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoole committed Jun 23, 2013
1 parent 6f142dc commit d2dd57f
Showing 1 changed file with 113 additions and 20 deletions.
133 changes: 113 additions & 20 deletions din-1505-2-numeric.csl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@
</contributor>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>Style following DIN 1505-2, for other media types on additional standards</summary>
<summary>Style following DIN 1505-2, for other media types on additional standards
Hinweise zur Benutzung:
* Zitieren von Gesetzen:
- hier müssen manuell §, Abs und S. zur Seitenangabe beim Zitieren eingetragen werden
- im Kurzbeleg wird der Kurztitel verwendet, dafür keine Autoren eintragen!
- als Jahresangabe wird 'Datum des Inkrafttretens' herangezogen, Verwenden nur bei Verweis auf nicht z.Z. gültige Gesetze, z.B. (idF. v. 12.12.1972)
* Zitieren von Normen und Standards - nicht vollständig nach DIN 1505
- Nutzen Sie den Typ 'Bericht' - als Abhilfe, da es keinen Typ 'Standard' gibt.
- als Autor die Kurzbezeichnung inkl. Nummer und Jahr eingeben (z.B. VDI 2222-1997), Vorname leer, Jahr leer
- als Titel den ausführlichen Titel bei Bedarf (z.B. VDI Richtlinie 2222 Blatt 1 - Konstruktionsmethodik - Methodisches Entwickeln von Lösungsprinzipien)</summary>
<!-- This is the same as the original DIN 1505 citation style as far as concerning the bibliography,
but in numeric style for citation,
Feel free to send me any comments, suggestions etc...
Expand All @@ -39,10 +48,13 @@
<term name="anonymous" form="short">o.&#160;A.</term>
<term name="no date" form="short">o.&#160;J.</term>
<term name="collection-editor" form="short">Hrsg.</term>
<term name="retrieved">abgerufen am</term>
<term name="composer" form="short">Komp.</term>
<term name="composer" form="long">Komponist</term>
</terms>
</locale>
<macro name="author">
<names variable="author composer" delimiter=" ; ">
<names variable="author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
Expand All @@ -67,20 +79,34 @@
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="composer">
<names variable="composer" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="long" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<!-- <macro name="contributor">
<names variable=" " delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; "
delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; "
delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>-->
</macro>-->
<macro name="translator">
<names variable="translator" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="recipient">
<names variable="recipient" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<!--<label form="long" prefix=" (" suffix=")"/>-->
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with=". " delimiter-precedes-last="never" font-variant="small-caps"/>
Expand All @@ -89,9 +115,12 @@
<names variable="editor" font-variant="small-caps"/>
<names variable="translator" font-variant="small-caps"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else-if type="bill legal_case legislation" match="any">
<text variable="title" form="short" font-style="normal"/>
</else-if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
Expand All @@ -112,17 +141,23 @@
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<if type="bill legislation" match="any">
<group delimiter=" &#8212; ">
<text variable="title-short" font-style="normal"/>
<text variable="title"/>
</group>
</if>
<else-if type="book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="genre">
<choose>
<if type="report thesis" match="any">
<if type="report thesis manuscript map" match="any">
<group>
<text variable="genre"/>
<!--<text term="number" form="short" suffix=" "/>-->
Expand Down Expand Up @@ -158,12 +193,67 @@
</if>
</choose>
</macro>
<macro name="dimensions">
<group>
<text variable="dimensions"/>
</group>
</macro>
<macro name="medium">
<group>
<text variable="medium"/>
</group>
</macro>
<macro name="scale">
<group>
<text term="scale"/>
<text prefix=" " variable="scale"/>
</group>
</macro>
<macro name="recipient-show">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<text macro="recipient" prefix=", "/>
</macro>
<macro name="cite-year">
<group>
<choose>
<if type="bill legislation" match="any">
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year" prefix="idF. v. "/>
</date>
</if>
<else>
<date variable="issued" prefix=", ">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</else>
</choose>
</group>
</macro>
<macro name="locator">
<group>
<choose>
<if type="bill legislation" match="any">
<text variable="locator" prefix=" "/>
</if>
<else>
<label variable="locator" form="short" prefix=", "/>
<text variable="locator" prefix=" "/>
</else>
</choose>
</group>
</macro>
<!-- This citytion style only differs from its original DIN 1505 style in the in-text citation which begins here -->
<citation collapse="citation-number">
<sort>
Expand All @@ -186,25 +276,28 @@
<!-- except type="chapter article " etc.... -->
<text macro="editor"/>
<text macro="editor-collection"/>
<text macro="composer"/>
</if>
</choose>
<!-- <text macro="contributor"/> -->
<text macro="translator"/>
</group>
<choose>
<!-- Tabelle 1 aus litverz.ps -->
<if type="bill book graphic legal_case legislation map map motion_picture report song" match="any">
<if type="bill book broadcast graphic legal_case legislation manuscript map motion_picture report song" match="any">
<text prefix=" " macro="title" suffix=""/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<!--Reihe-->
<text prefix=" (" macro="genre" suffix=")"/>
<text prefix=". " macro="volumes"/>
<text prefix=". " macro="edition"/>
<text prefix=". " macro="medium"/>
<text prefix=". " macro="dimensions"/>
<text prefix=". " variable="publisher-place"/>
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
" (2. Gesamttitel mit Zählung)" -->
<text prefix=" &#8211;&#160;" macro="scale"/>
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
Expand All @@ -229,13 +322,13 @@
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
" (2. Gesamttitel mit Zählung)" -->
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
<text prefix=", " macro="pages"/>
</else-if>
<!-- Tabelle 5 aus litverz.ps - Hochschulschriften
(Diplomarbeiten, Dissertationen, Master-A., unverö. Studienarbeiten -->
(Diplomarbeiten, Dissertationen, Master-A., unverö. Studienarbeiten -->
<else-if type="thesis" match="any">
<text prefix=" " macro="title" font-style="italic" suffix=""/>
<text prefix=". " macro="edition"/>
Expand All @@ -246,7 +339,7 @@
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=". &#8212;&#160;" variable="note"/>
</else-if>
<else-if type="webpage">
<else-if type="webpage post post-weblog " match="any">
<text prefix=" " macro="title" suffix=". " font-style="italic"/>
<text prefix="URL " variable="URL"/>
<text prefix=". - " macro="access"/>
Expand All @@ -258,8 +351,8 @@
<else-if type="article article-journal article-magazine article-newspaper" match="any">
<text prefix=" " variable="title"/>
<!-- " : Zusatz zum Sachtitel"
". Angabe des Teils"
" (Gesamttitelangabe)" -->
". Angabe des Teils"
" (Gesamttitelangabe)" -->
<group>
<text prefix=". " term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor" suffix=" "/>
Expand All @@ -279,9 +372,9 @@
<!-- keiner der oben genannten fälle -->
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
<text macro="translator" prefix=" "/>
<text prefix=" " macro="title"/>
<text prefix=", " macro="editor"/>
<text prefix=". " macro="recipient-show"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
Expand Down

0 comments on commit d2dd57f

Please sign in to comment.