Skip to content

Commit

Permalink
Update geografie-sbornik-cgs.csl
Browse files Browse the repository at this point in the history
some bug fix and clearing code
  • Loading branch information
libora committed Jun 19, 2013
1 parent 88bf3f8 commit e57462e
Showing 1 changed file with 22 additions and 65 deletions.
87 changes: 22 additions & 65 deletions geografie-sbornik-cgs.csl
Original file line number Diff line number Diff line change
Expand Up @@ -63,32 +63,35 @@
<macro name="container-author">
<names variable="container-author">
<name and="text" name-as-sort-order="all" delimiter=", " initialize-with=". " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1">
<name-part name="family" text-case="lowercase"/>
<name-part name="family" text-case="capitalize-first"/>
<name-part name="given"/>
</name>
<label form="short" prefix=" (" suffix="): " text-case="lowercase" strip-periods="true"/>
<label form="short" prefix=" (" suffix=")" text-case="lowercase"/>
</names>
</macro>
<!--macro name="container-responsability">
<macro name="container-responsability">
<choose>
<if variable="container-author editor translator" match="any">
<if variable="container-author editor" match="any">
<choose>
<if variable="container-author">
<text macro="container-author"/>
</if>
<else-if variable="editor">
<text macro="editor2"/>
</else-if>
<else>
<text macro="translator"/>
<text macro="editor"/>
</else>
</choose>
</if>
<else>
<text term="anonymous" text-case="uppercase"/>
</else>
</choose>
</macro-->
</macro>
<macro name="editor">
<names variable="editor">
<name and="text" name-as-sort-order="all" delimiter=", " initialize-with=". " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1">
<name-part name="family" text-case="capitalize-first"/>
<name-part name="given"/>
</name>
</names>
<text term="editor" form="short" prefix=" (" suffix=")" text-case="lowercase"/>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
Expand All @@ -106,54 +109,6 @@
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="paper-conference speech chapter post" match="any">
<text variable="title" suffix=". "/>
<text term="in" text-case="capitalize-first" suffix=": "/>
<choose>
<if variable="container-author editor translator" match="any">
<text macro="container-responsability"/>
<choose>
<if variable="container-title event" match="any">
<text value=" "/>
</if>
</choose>
</if>
</choose>
<choose>
<if variable="container-title">
<choose>
<if variable="event">
<text variable="event" suffix=": "/>
</if>
</choose>
<text variable="container-title"/>
</if>
<else>
<text variable="event"/>
</else>
</choose>
</if>
<else>
<group delimiter=". ">
<text variable="title"/>
<text variable="container-title"/>
</group>
</else>
</choose>
<choose>
<if variable="DOI URL" match="any">
<text term="online" prefix=" [" suffix="]"/>
</if>
</choose>
</macro>
<macro name="publisher">
<text variable="publisher"/>
</macro>
<macro name="publisher-place">
<text variable="publisher-place"/>
</macro>
<macro name="page">
<choose>
<if type="book report" match="any">
Expand Down Expand Up @@ -198,7 +153,7 @@
<sort>
<key macro="responsability"/>
<key macro="year-date"/>
<key macro="title"/>
<key variable="title"/>
</sort>
<layout>
<group delimiter=" (" suffix="): ">
Expand Down Expand Up @@ -227,10 +182,12 @@
<group delimiter=" ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text variable="container-title"/>
</group>
<text macro="container-author"/>
<text variable="event"/>
<text macro="container-responsability"/>
<group delimiter=" ">
<text variable="container-title"/>
<text variable="event"/>
</group>
</group>
</group>
<group delimiter=", ">
<text variable="publisher"/>
Expand Down

0 comments on commit e57462e

Please sign in to comment.