Skip to content

Instantly share code, notes, and snippets.

Created July 8, 2011 04:42
Show Gist options
  • Save anonymous/1071156 to your computer and use it in GitHub Desktop.
Save anonymous/1071156 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<info>
<title>Bibliografia Comentada</title>
<id>http://www.zotero.org/styles/Bibl-Coment</id>
<link href="http://www.zotero.org/styles/ABNT-Chicago-Comentada"/>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<contributor>
<name>Simon Kornblith</name>
<email>simon@simonster.com</email>
</contributor>
<contributor>
<name>Elena Razlogova</name>
<email>elena.razlogova@gmail.com</email>
</contributor>
<contributor>
<name>Danilo Matoso Macedo</name>
<email>correio@danilo.arq.br</email>
</contributor>
<summary>Estilo construido a partir do Chicago adaptado as normas da ABNT, para execucao de bibliografias comentadas</summary>
<category term="generic-base"/>
<category term="numeric"/>
<updated/>
</info>
<macro name="secondary-contributors">
<choose>
<if type="chapter" match="none">
<group delimiter=". ">
<choose>
<if variable="author">
<names variable="editor" delimiter=". ">
<label form="verb" text-case="capitalize-first" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator" delimiter=". ">
<label form="short" text-case="capitalize-first" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter">
<text term="in" text-case="capitalize-first" suffix=": "/>
</if>
</choose>
<choose>
<if type="chapter">
<group delimiter=", ">
<choose>
<if variable="author">
<names variable="editor" delimiter=", ">
<name initialize-with="." name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always"/>
<label form="short" text-case="capitalize-first" prefix=" (" suffix=".)"/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator" delimiter=", ">
<label form="short" text-case="capitalize-first" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " suffix="."/>
</names>
</macro>
<macro name="translator">
<names variable="translator">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always"/>
<label form="verb-short" prefix=", " suffix="."/>
</names>
</macro>
<macro name="recipient-note">
<names variable="recipient" delimiter=", ">
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="recipient">
<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-note" prefix=" "/>
</macro>
<macro name="contributors">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always"/>
<substitute>
<text macro="editor"/>
<text macro="translator"/>
</substitute>
</names>
<text macro="recipient" prefix=". "/>
</macro>
<macro name="recipient-short">
<names variable="recipient">
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
<name form="short" and="text" delimiter=", "/>
</names>
</macro>
<macro name="contributors-short">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
<text macro="recipient-short"/>
</macro>
<macro name="contributors-sort">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always"/>
<label form="verb-short" prefix=", " suffix="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="interviewer">
<names variable="interviewer" delimiter=", ">
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="title">
<choose>
<if variable="title" match="none">
<choose>
<if type="personal_communication" match="none">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
</if>
<else-if type="book">
<text variable="title" font-weight="bold"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="title-short">
<choose>
<if variable="title" match="none">
<choose>
<if type="interview">
<text term="interview" text-case="lowercase"/>
</if>
<else-if type="manuscript speech" match="any">
<text variable="genre" form="short"/>
</else-if>
<else-if type="personal_communication">
<text macro="issued"/>
</else-if>
</choose>
</if>
<else-if type="book">
<text variable="title" form="short" font-weight="bold"/>
</else-if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</macro>
<macro name="description">
<group delimiter=", ">
<group delimiter=". ">
<text macro="interviewer"/>
<text variable="medium" text-case="capitalize-first"/>
</group>
<choose>
<if variable="title" match="none"/>
<else-if type="thesis speech" match="any"/>
<else>
<text variable="genre" text-case="capitalize-first"/>
</else>
</choose>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="legal_case" match="none">
<text variable="container-title" font-weight="bold"/>
</if>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<group>
<number variable="edition" suffix=". "/>
<text term="edition" form="short" suffix=". "/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first" suffix=". "/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="collection-title">
<text variable="collection-title"/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<text variable="volume" prefix=" "/>
<text variable="issue" prefix=", no. "/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<else-if type="book chapter" match="any">
<group prefix=". " delimiter=". ">
<group>
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="locators-newspaper">
<choose>
<if type="article-newspaper">
<group delimiter=", ">
<group>
<text variable="edition" suffix=" "/>
<text term="edition" prefix=" "/>
</group>
<group>
<text term="section" form="short" suffix=". "/>
<text variable="section"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<text variable="event"/>
</group>
</macro>
<macro name="publisher">
<group delimiter=" : " >
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="issued">
<choose>
<if type="graphic report" match="any">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" text-case="lowercase" suffix="."/>
<date-part name="year"/>
</date>
</if>
<else-if type="legal_case">
<text variable="authority" suffix=" "/>
<date variable="issued">
<date-part name="year"/>
</date>
</else-if>
<else-if type="book chapter thesis" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</else-if>
<else>
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" text-case="lowercase" suffix="."/>
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="pages-chapter">
<choose>
<if type="chapter">
<text variable="volume" suffix=":"/>
<text variable="page" prefix="p."/>
</if>
</choose>
</macro>
<macro name="pages-article">
<choose>
<if type="article-journal">
<text variable="page" prefix=": "/>
</if>
</choose>
</macro>
<macro name="pages-book">
<choose>
<if type="book">
<text variable="number-of-pages" prefix=". "/>
</if>
</choose>
</macro>
<macro name="point-locators-subsequent">
<group>
<choose>
<if locator="page" match="none">
<choose>
<if type="book">
<group suffix=", ">
<text term="volume" form="short" text-case="lowercase" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
</if>
</choose>
<label variable="locator" form="short" include-period="true" suffix=" "/>
</if>
<else-if type="book">
<number variable="volume" form="numeric" suffix=":"/>
</else-if>
</choose>
<text variable="locator"/>
</group>
</macro>
<macro name="archive">
<group delimiter=". ">
<text variable="archive_location" text-case="capitalize-first"/>
<text variable="archive"/>
<text variable="archive-place"/>
</group>
</macro>
<macro name="issue">
<text macro="edition"/>
<choose>
<if type="article-journal legal_case" match="any">
<text macro="issued" prefix=" (" suffix=")"/>
</if>
<else-if type="speech">
<choose>
<if variable="title" match="none"/>
<else>
<text variable="genre" text-case="capitalize-first" prefix=". "/>
</else>
</choose>
<text macro="event" prefix=" "/>
<text variable="event-place" prefix=", "/>
<text macro="issued"/>
</else-if>
<else-if variable="publisher-place publisher" match="any">
<group delimiter=", ">
<choose>
<if type="thesis">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<text macro="publisher"/>
<text macro="issued"/>
</group>
</else-if>
<else>
<text macro="issued"/>
</else>
</choose>
</macro>
<macro name="access">
<group delimiter=". ">
<choose>
<if type="graphic report" match="any">
<text macro="archive"/>
</if>
<else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
<text macro="archive"/>
</else-if>
</choose>
<choose>
<if type="legal_case" match="none">
<text variable="URL" prefix="Disponivel em: "/>
<date variable="accessed" prefix="Acesso em: ">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" text-case="lowercase" suffix="."/>
<date-part name="year"/>
</date>
</if>
</choose>
</group>
</macro>
<macro name="sort-key">
<text macro="contributors-sort" suffix=" "/>
<text variable="title" suffix=" "/>
<text variable="genre"/>
</macro>
<citation>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="4"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-names" value="true"/>
<layout prefix="" suffix="." delimiter="; ">
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid" text-case="capitalize-first" suffix="."/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else-if position="ibid">
<text term="ibid" text-case="capitalize-first" suffix="."/>
</else-if>
<else>
<group delimiter=", ">
<text macro="contributors-short"/>
<text macro="title-short"/>
<text macro="point-locators-subsequent"/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography>
<option name="hanging-indent" value="false"/>
<option name="et-al-min" value="11"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<sort>
<key macro="sort-key"/>
<key variable="issued"/>
</sort>
<layout>
<text variable="citation-number" prefix="" suffix=".
" font-weight="bold"/>
<group suffix=". " delimiter=". ">
<text macro="contributors"/>
<text macro="title"/>
<text macro="description"/>
<text macro="secondary-contributors"/>
<group delimiter=". ">
<text macro="container-contributors"/>
<text macro="container-title"/>
</group>
</group>
<text macro="issue" suffix=". "/>
<text macro="locators-newspaper"/>
<text macro="pages-article" suffix="."/>
<text macro="locators"/>
<text macro="pages-chapter" suffix="."/>
<text macro="collection-title" prefix=" (" delimiter="," suffix="); "/>
<text macro="access"/>
<text variable="note" display="block"/>
<text variable="abstract" display="block"/>
<group display="block">
<text display="right-margin" variable="call-number" prefix="[" suffix="]" font-weight="light" />
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment