<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="en-US">
  <info>
    <title>Comparative Population Studies</title>
    <id>http://www.zotero.org/styles/comparative-population-studies</id>
    <link href="http://www.zotero.org/styles/comparative-population-studies" rel="self"/>
    <link href="http://www.zotero.org/styles/wirtschaftsuniversitat-wien-handel-und-marketing" rel="template"/>
    <link href="http://www.comparativepopulationstudies.de/index.php/CPoS/pages/view/AGL_E" rel="documentation"/>
    <author>
      <name>Brenton M. Wiernik</name>
      <email>zotero@wiernik.org</email>
    </author>
    <category citation-format="author-date"/>
    <category field="social_science"/>
    <issn>1869-8980</issn>
    <eissn>1869-8999</eissn>
    <summary>Citation style for Comparative Population Studies.</summary>
    <updated>2017-06-04T15:32:54+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
  <macro name="container">
    <choose>
      <if type="chapter paper-conference entry-encyclopedia entry-dictionary" match="any">
        <text term="in" text-case="capitalize-first" suffix=": "/>
        <names variable="editor translator" delimiter="; " suffix=": ">
          <name delimiter-precedes-last="always" initialize-with="." name-as-sort-order="all" font-style="italic"/>
          <label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
        </names>
        <group delimiter=", ">
          <group delimiter=". ">
            <text variable="container-title" text-case="title"/>
            <group delimiter=" ">
              <text term="volume" text-case="capitalize-first"/>
              <text variable="volume" text-case="title"/>
            </group>
          </group>
          <group delimiter=" ">
            <text variable="collection-title" text-case="title"/>
            <number variable="collection-number"/>
          </group>
        </group>
      </if>
      <else-if type="book graphic legal_case motion_picture report song" match="any">
        <group delimiter=", ">
          <text variable="container-title" text-case="title"/>
          <group delimiter=" ">
            <text variable="collection-title" text-case="title"/>
            <number variable="collection-number"/>
          </group>
        </group>
      </else-if>
      <else-if type="article-journal article-magazine article" match="any">
        <group delimiter=" ">
          <text term="in" text-case="capitalize-first" suffix=":"/>
          <group delimiter=", ">
            <text variable="container-title" text-case="title"/>
            <group delimiter=" ">
              <text variable="collection-title" text-case="title"/>
              <number variable="collection-number"/>
            </group>
          </group>
          <group delimiter=",">
            <text variable="volume"/>
            <text variable="issue"/>
          </group>
        </group>
        <text variable="page" prefix=": "/>
      </else-if>
      <else-if type="article-newspaper" match="any">
        <group delimiter=" ">
          <text term="in" text-case="capitalize-first" suffix=":"/>
          <text variable="container-title" text-case="title"/>
          <text variable="edition" prefix="(" suffix=")"/>
          <group delimiter=", ">
            <text variable="issue"/>
            <date variable="issued" delimiter=".">
              <date-part name="day" form="numeric"/>
              <date-part name="month" form="numeric"/>
              <date-part name="year"/>
            </date>
          </group>
        </group>
        <text variable="page" prefix=": "/>
      </else-if>
      <else-if type="bill legislation" match="any">
        <group delimiter=" ">
          <group delimiter=", ">
            <group delimiter=" ">
              <text variable="container-title"/>
              <text variable="volume"/>
              <group delimiter="/">
                <text variable="number"/>
                <date date-parts="year" form="numeric" variable="issued"/>
              </group>
            </group>
            <text variable="page"/>
          </group>
          <text variable="references"/>
        </group>
      </else-if>
      <else>
        <group delimiter=", ">
          <text variable="container-title" text-case="title"/>
          <group delimiter=" ">
            <text variable="collection-title" text-case="title"/>
            <number variable="collection-number"/>
          </group>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="author">
    <names variable="author" font-style="italic">
      <name delimiter-precedes-last="always" initialize="false" initialize-with="." name-as-sort-order="all"/>
      <label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <text variable="title-short"/>
        <text term="anonymous" form="short"/>
      </substitute>
    </names>
  </macro>
  <macro name="author-short">
    <names variable="author">
      <name form="short" initialize-with=". "/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <text variable="title-short"/>
        <text term="anonymous" form="short"/>
      </substitute>
    </names>
  </macro>
  <macro name="access">
    <choose>
      <if variable="DOI">
        <text variable="DOI" prefix="[https://doi.org/" suffix="]"/>
      </if>
      <else>
        <group delimiter=", " prefix="[" suffix="]">
          <text variable="URL"/>
          <date variable="accessed" delimiter=".">
            <date-part name="day" form="numeric"/>
            <date-part name="month" form="numeric"/>
            <date-part name="year"/>
          </date>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="title">
    <choose>
      <if type="report" match="any">
        <group delimiter=". ">
          <text variable="title" text-case="title"/>
          <group delimiter=" ">
            <text variable="genre" text-case="title"/>
            <text term="number" form="short"/>
            <number variable="number"/>
          </group>
        </group>
      </if>
      <else-if type="book graphic motion_picture song" match="any">
        <group delimiter=". ">
          <text variable="title" text-case="title"/>
          <group delimiter=" ">
            <text term="volume" text-case="capitalize-first"/>
            <text variable="volume" text-case="title"/>
          </group>
        </group>
      </else-if>
      <else>
        <text variable="title" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="descriptors">
    <group delimiter=". ">
      <choose>
        <if type="report" match="none">
          <group delimiter=" ">
            <text variable="genre" text-case="title"/>
            <text variable="number"/>
          </group>
        </if>
      </choose>
      <text variable="medium" text-case="title"/>
      <choose>
        <if type="article-newspaper" match="none">
          <choose>
            <if is-numeric="edition">
              <number variable="edition" form="ordinal"/>
              <text term="edition" form="short"/>
            </if>
            <else>
              <text variable="edition"/>
            </else>
          </choose>
        </if>
      </choose>
    </group>
  </macro>
  <macro name="publisher">
    <group delimiter=": ">
      <text variable="publisher-place"/>
      <text variable="publisher"/>
      <choose>
        <if type="chapter paper-conference entry-encyclopedia entry-dictionary" match="any">
          <text variable="page"/>
        </if>
      </choose>
    </group>
  </macro>
  <macro name="event">
    <choose>
      <if variable="event">
        <text term="presented at" text-case="capitalize-first" suffix=" "/>
        <text variable="event" text-case="title"/>
      </if>
    </choose>
  </macro>
  <macro name="year">
    <choose>
      <if variable="issued">
        <date variable="issued">
          <date-part name="year"/>
        </date>
      </if>
      <else>
        <text term="no date" form="short"/>
      </else>
    </choose>
  </macro>
  <macro name="author-year-title">
    <group delimiter=": ">
      <group delimiter=" ">
        <text macro="author"/>
        <text macro="year"/>
      </group>
      <text macro="title"/>
    </group>
  </macro>
  <citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year" name-delimiter="/">
    <sort>
      <key macro="author"/>
      <key macro="year" sort="descending"/>
    </sort>
    <layout prefix="(" suffix=")" delimiter="; ">
      <group delimiter=": ">
        <group delimiter=" ">
          <choose>
            <if type="legislation" match="any">
              <text variable="title-short"/>
            </if>
            <else>
              <text macro="author-short"/>
            </else>
          </choose>
          <text macro="year"/>
        </group>
        <text variable="locator"/>
      </group>
    </layout>
  </citation>
  <bibliography et-al-min="4" et-al-use-first="1" initialize="false" entry-spacing="1" name-delimiter="; " hanging-indent="true">
    <sort>
      <key macro="author"/>
      <key macro="year" sort="descending"/>
      <key macro="title"/>
    </sort>
    <layout suffix=".">
      <group delimiter=". ">
        <text macro="author-year-title"/>
        <text macro="container"/>
        <text macro="descriptors"/>
        <text macro="event"/>
        <text macro="publisher"/>
        <text macro="access"/>
      </group>
    </layout>
  </bibliography>
</style>
