Skip to content

Instantly share code, notes, and snippets.

Created June 27, 2012 22:52
Show Gist options
  • Save anonymous/3007415 to your computer and use it in GitHub Desktop.
Save anonymous/3007415 to your computer and use it in GitHub Desktop.
Acta Ophthslmologica
<?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">
<info>
<title>Acta Ophthalmologica</title>
<id>http://www.zotero.org/styles/acta-ophthalmologica</id>
<link href="http://www.zotero.org/styles/acta-ophthalmologica" rel="self"/>
<link href="http://www.zotero.org/styles/apsa" rel="template"/>
<issn>1755-3768</issn>
<link href="http://steveridout.com/csl/visualEditor/" rel="documentation"/>
<author>
<name>Troels Brynskov</name>
<email>tbr@brynskov.com</email>
</author>
<category field="medicine"></category>
<category field="generic-base"></category>
<category citation-format="author-date"></category>
<updated>2012-06-27T22:12:54.742Z</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale lang="en">
<terms>
<term name="translator" form="short">
<single>trans.</single>
<multiple>trans.</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first" suffix=": "></text>
<names variable="editor" delimiter=", " suffix=" ">
<name delimiter="" and="symbol" delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all" sort-separator=" "></name>
<label form="short" prefix=" (" suffix=")"></label>
<substitute>
<names variable="translator"></names>
</substitute>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="translator" delimiter=", " prefix=" (" suffix=")">
<name delimiter="" and="symbol" delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all" sort-separator=" "></name>
<label form="short" prefix=", " text-case="capitalize-first" suffix=""></label>
<substitute>
<names variable="editor"></names>
</substitute>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name et-al-min="4" et-al-use-first="1" and="symbol" delimiter=", " form="short" delimiter-precedes-last="never"></name>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"></label>
<substitute>
<names variable="editor"></names>
<names variable="translator"></names>
<choose>
<if type="report">
<text variable="publisher"></text>
<text macro="title"></text>
</if>
<else>
<text macro="title"></text>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name et-al-min="4" et-al-use-first="1" and="symbol" delimiter=", " form="short" delimiter-precedes-last="never"></name>
<substitute>
<names variable="editor"></names>
<names variable="translator"></names>
<choose>
<if type="report">
<text variable="publisher"></text>
<text variable="title" form="short" font-style="italic"></text>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
<text variable="title" form="short" font-style="italic"></text>
</else-if>
<else>
<text variable="title" form="short" quotes="true"></text>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if type="thesis">
<choose>
<if variable="archive" match="any">
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "></text>
<text term="from" suffix=" "></text>
<text variable="archive" suffix="."></text>
<text variable="archive_location" prefix=" (" suffix=")"></text>
</group>
</if>
<else>
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "></text>
<text term="from" suffix=" "></text>
<text variable="URL"></text>
</group>
</else>
</choose>
</if>
<else>
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"></text>
</if>
<else>
<choose>
<if type="webpage">
<group delimiter=" ">
<text term="retrieved" text-case="capitalize-first" suffix=" "></text>
<group>
<date variable="accessed" suffix=", ">
<date-part name="month" suffix=" "></date-part>
<date-part name="day" suffix=", "></date-part>
<date-part name="year"></date-part>
</date>
</group>
<text term="from"></text>
<text variable="URL"></text>
</group>
</if>
<else>
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "></text>
<text term="from" suffix=" "></text>
<text variable="URL"></text>
</group>
</else>
</choose>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="report thesis" match="any">
<text variable="title" font-style="italic"></text>
<group prefix=" (" suffix=")" delimiter=" ">
<text variable="genre"></text>
<text variable="number" prefix="No. "></text>
</group>
</if>
<else-if type="book graphic article motion_picture report chapter manuscript speech" match="any">
<text variable="title" form="long" strip-periods="false" quotes="false" font-style="normal" text-decoration="none"></text>
</else-if>
<else>
<text variable="title"></text>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="report" match="any">
<group delimiter=": ">
<text variable="publisher-place"></text>
<text variable="publisher"></text>
</group>
</if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="publisher"></text>
<text variable="publisher-place"></text>
</group>
</else-if>
<else>
<group delimiter=" ">
<choose>
<if variable="event" match="none">
<text variable="genre"></text>
</if>
</choose>
<choose>
<if type="article-journal article-magazine" match="none">
<group delimiter=": ">
<text variable="publisher-place"></text>
<text variable="publisher"></text>
</group>
<group>
<text variable="page"></text>
</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>
<text variable="event"></text>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"></text>
<text term="presented at"></text>
<text variable="event"></text>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if type="bill legal_case legislation" match="none">
<choose>
<if variable="issued">
<group prefix=" (" suffix="):">
<date variable="issued">
<date-part name="year"></date-part>
</date>
<text variable="year-suffix"></text>
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<date variable="issued">
<date-part prefix=", " name="month"></date-part>
<date-part prefix=" " name="day"></date-part>
</date>
</if>
</choose>
</group>
</if>
<else>
<group prefix=" (" suffix=").">
<text term="no date" form="short"></text>
<text variable="year-suffix" prefix="-"></text>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued-sort">
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<date variable="issued">
<date-part name="year"></date-part>
<date-part name="month"></date-part>
<date-part name="day"></date-part>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year"></date-part>
</date>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"></date-part>
</date>
<text variable="year-suffix"></text>
</if>
<else>
<text term="no date" form="short"></text>
<text variable="year-suffix" prefix="-"></text>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"></number>
<text term="edition" form="short" suffix="." strip-periods="true"></text>
</group>
</if>
<else>
<text variable="edition" suffix="."></text>
</else>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=" " font-style="normal" prefix=" ">
<group>
<text variable="volume" form="long" font-style="normal" font-weight="bold" suffix=":"></text>
</group>
<text variable="page"></text>
</group>
</if>
<else-if type="book graphic motion_picture report song chapter paper-conference" match="any">
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="edition"></text>
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"></text>
<number variable="number-of-volumes" form="numeric" prefix="1-"></number>
</group>
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"></text>
<number variable="volume" form="numeric"></number>
</group>
</group>
</else-if>
<else-if type="article-newspaper">
<group delimiter=" " prefix=", ">
<label variable="page" form="short"></label>
<text variable="page"></text>
</group>
</else-if>
<else-if type="legal_case">
<group prefix=" (" suffix=")" delimiter=" ">
<text variable="authority"></text>
<date variable="issued" delimiter=" ">
<date-part name="month" form="short"></date-part>
<date-part name="day" suffix=","></date-part>
<date-part name="year"></date-part>
</date>
</group>
</else-if>
<else-if type="bill legislation">
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"></date-part>
</date>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<label variable="locator" form="short"></label>
<text variable="locator" prefix=" "></text>
</group>
</macro>
<macro name="container">
<choose>
<if type="bill legal_case legislation" match="none">
<text variable="container-title" form="short" font-style="normal" strip-periods="true"></text>
</if>
<else>
<group delimiter=" " prefix=", ">
<choose>
<if variable="container-title">
<text variable="volume"></text>
<text variable="container-title"></text>
<group delimiter=" ">
<text term="section" form="symbol"></text>
<text variable="section"></text>
</group>
<text variable="page"></text>
</if>
<else>
<choose>
<if type="legal_case">
<text variable="number" prefix="No. "></text>
</if>
<else>
<text variable="number" prefix="Pub. L. No. "></text>
<group delimiter=" ">
<text term="section" form="symbol"></text>
<text variable="section"></text>
</group>
</else>
</choose>
</else>
</choose>
</group>
</else>
</choose>
</macro>
<citation>
<sort>
<key macro="author"></key>
<key macro="issued-sort"></key>
</sort>
<layout delimiter=", " prefix="(" suffix=")">
<group delimiter=" ">
<text macro="author-short"></text>
<text macro="issued-year"></text>
<text macro="citation-locator"></text>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" entry-spacing="0" line-spacing="2">
<sort>
<key macro="author"></key>
<key macro="issued-sort" sort="ascending"></key>
</sort>
<layout>
<group suffix=".">
<group delimiter="">
<text macro="author"></text>
<text macro="issued"></text>
</group>
<group delimiter=". ">
<text macro="title" prefix=" "></text>
<group>
<text macro="container-contributors"></text>
<text macro="secondary-contributors"></text>
<group delimiter=", ">
<text macro="container"></text>
<text variable="collection-title"></text>
</group>
</group>
</group>
<text macro="locators"></text>
<group delimiter=", " prefix=". ">
<text macro="event"></text>
<text macro="publisher"></text>
</group>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment