Skip to content
Permalink
Browse files

Create urban-geography.csl fix decision science (#3570)

via: https://forums.zotero.org/discussion/72238/style-request#latest (non-answering OP)

Fix small error in template style
  • Loading branch information...
POBrien333 authored and adam3smith committed Jul 2, 2018
1 parent e7351ff commit 8de750d5e899537707c622be946ee5d95a3f9fae
Showing with 316 additions and 1 deletion.
  1. +1 −1 decision-sciences.csl
  2. +315 −0 urban-geography.csl
@@ -25,9 +25,9 @@
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<text variable="container-title"/>
<text variable="collection-title"/>
<names variable="editor"/>
</substitute>
</names>
</macro>
@@ -0,0 +1,315 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" name-delimiter="," et-al-subsequent-min="3" et-al-subsequent-use-first="1" initialize-with="." demote-non-dropping-particle="never" default-locale="en-US">
<info>
<title>Urban Geography</title>
<id>http://www.zotero.org/styles/urban-geography</id>
<link href="http://www.zotero.org/styles/urban-geography" rel="self"/>
<link href="http://www.zotero.org/styles/decision-sciences" rel="template"/>
<link href="https://www.tandfonline.com/action/authorSubmission?journalCode=rurb20&amp;page=instructions#refs" rel="documentation"/>
<author>
<name>Patrick O'Brien, PhD</name>
<email>obrienpat86@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="geography"/>
<issn>0272-3638</issn>
<eissn>1938-2847</eissn>
<summary>Style for Urban Geography as per the style revision of 15 March 2017.</summary>
<updated>2018-06-28T14:10:22+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="author">
<names variable="author">
<name and="symbol" delimiter-precedes-last="always" initialize="false" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<text variable="container-title"/>
<text variable="collection-title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<choose>
<if type="article-journal article-magazine article-newspaper paper-conference webpage" match="any">
<text variable="container-title"/>
</if>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<group delimiter=" ">
<text term="retrieved" text-case="capitalize-first"/>
<text term="from"/>
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="thesis article book" match="any" variable="event">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="report" match="any">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</else-if>
<else>
<group delimiter=";">
<choose>
<if variable="event" match="none">
<text variable="genre"/>
</if>
</choose>
<choose>
<if type="article-journal article-magazine article-newspaper" match="none">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</if>
</choose>
</group>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<choose>
<if variable="genre" match="none">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
<text variable="event"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group prefix=" (" suffix=")">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</group>
</if>
<else>
<group prefix=" (" suffix=")">
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
</else>
</choose>
</macro>
<macro name="issued-sort">
<choose>
<if type="article-journal book chapter paper-conference report" match="none">
<date variable="issued">
<date-part name="year"/>
<date-part name="month"/>
<date-part name="day"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number font-style="italic" vertical-align="baseline" variable="edition" form="ordinal"/>
<text term="edition" form="short" font-style="italic"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group prefix=", " delimiter=", ">
<group>
<text variable="volume" font-style="italic"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</if>
<else-if type="book report chapter paper-conference" match="any">
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="edition"/>
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<text variable="locator" prefix=" "/>
</macro>
<macro name="container">
<group>
<choose>
<if type="chapter entry-encyclopedia paper-conference" match="any">
<text term="in" text-case="capitalize-first" suffix=" "/>
</if>
</choose>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="article-newspaper" match="any">
<text variable="container-title" font-style="italic" suffix=". "/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor translator" delimiter=", " suffix=", ">
<name and="symbol" initialize="false" initialize-with=". "/>
<label form="short" prefix=" (" text-case="title" suffix=")"/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="article-journal chapter paper-conference" match="none">
<names variable="translator editor" delimiter=", " prefix=" (" suffix=")">
<name and="symbol" initialize="false" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " text-case="title"/>
</names>
</if>
</choose>
</macro>
<citation disambiguate-add-names="true" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" givenname-disambiguation-rule="primary-name" collapse="year" cite-group-delimiter="">
<sort>
<key macro="issued-sort"/>
<key macro="author-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="8" et-al-use-first="6" et-al-use-last="true" entry-spacing="0" line-spacing="2" hanging-indent="true">
<sort>
<key macro="author"/>
<key macro="issued-sort"/>
</sort>
<layout>
<group suffix=".">
<choose>
<if type="webpage" match="any">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued" suffix="."/>
<text variable="title" suffix=","/>
</group>
</if>
<else>
<group delimiter=". ">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued"/>
</group>
<text macro="title" prefix=" "/>
<text macro="container"/>
</group>
</else>
</choose>
<choose>
<if type="article-newspaper" match="any">
<date delimiter=" " variable="issued">
<date-part name="month"/>
<date-part name="day"/>
</date>
</if>
</choose>
<text macro="locators"/>
<choose>
<if type="chapter paper-conference article-newspaper report" match="any">
<group delimiter=" " prefix=" (" suffix=")">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</if>
</choose>
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="publisher"/>
</group>
<text macro="access" prefix=" "/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 8de750d

Please sign in to comment.
You can’t perform that action at this time.