Skip to content

Commit

Permalink
Add French styles (see #146 , with minor modifications to metadata).
Browse files Browse the repository at this point in the history
  • Loading branch information
rmzelle committed May 9, 2012
1 parent 7108fc0 commit 27198d3
Show file tree
Hide file tree
Showing 6 changed files with 2,116 additions and 0 deletions.
319 changes: 319 additions & 0 deletions annales.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr" version="1.0" page-range-format="expanded" demote-non-dropping-particle="sort-only">
<info>
<title>Annales. Histoire, Sciences sociales (French)</title>
<id>http://www.zotero.org/styles/annales</id>
<link href="http://www.zotero.org/styles/annales" rel="self"/>
<author>
<name>Franziska Heimburger</name>
<email>zotero@franziska.fr</email>
</author>
<issn>0395-2649</issn>
<category field="social_science"/>
<category citation-format="note"/>
<updated>2012-05-06T17:16:03+00:00</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 xml:lang="fr">
<terms>
<term name="ordinal-01">&#232;re</term>
<term name="ordinal-02">e</term>
<term name="ordinal-03">e</term>
<term name="ordinal-04">e</term>
<term name="cited">op.&#160;cit.</term>
<term name="page" form="short">
<single>p.</single>
<multiple>p.</multiple>
</term>
<term name="editor" form="short">
<single>dir.</single>
<multiple>dir.</multiple>
</term>
</terms>
</locale>
<macro name="author">
<choose>
<if variable="author">
<names variable="author">
<name form="long" and="text" sort-separator=" " font-style="normal">
</name>
</names>
</if>
<else-if variable="editor">
<names variable="editor">
<name form="long" and="text" name-as-sort-order="first" sort-separator=" " initialize-with="." font-style="normal">
<name-part name="family" font-variant="small-caps"/>
</name>
<label form="short" prefix="&#160;(" suffix=".)"/>
</names>
</else-if>
</choose>
</macro>
<macro name="editor">
<names variable="editor">
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">
</name>
<label form="short" prefix="&#160;(" suffix=".)"/>
</names>
</macro>
<macro name="translator">
<names variable="translator">
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal" prefix=" trad. fr. ">
<name-part name="family" font-variant="small-caps"/>
</name>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" text-case="capitalize-first" font-style="italic"/>
</if>
<else-if type="article-journal article-newspaper article-magazine" match="any">
<group delimiter=", ">
<text variable="title" text-case="capitalize-first" prefix="&#171;&#160;" suffix="&#160;&#187;" font-style="normal"/>
<text variable="container-title" font-style="italic"/>
</group>
</else-if>
<else-if type="thesis" match="any">
<group delimiter="">
<text variable="title" text-case="capitalize-first" prefix="&#171;&#160;" suffix="&#160;&#187;" font-style="normal"/>
<text variable="genre" suffix=", " prefix=" "/>
<text variable="publisher"/>
</group>
</else-if>
<else-if type="manuscript" match="any">
<group delimiter=",">
<text variable="title" text-case="capitalize-first" prefix="&#171;&#160;" suffix="&#160;&#187;" font-style="normal"/>
<text variable="genre" prefix=" "/>
</group>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter="">
<text variable="title" text-case="capitalize-first" prefix="&#171;&#160;" suffix="&#160;&#187;,"/>
<text value="in" font-style="italic" suffix=" " prefix=" "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" text-case="capitalize-first" font-style="italic"/>
</group>
</else-if>
<else-if type="webpage" match="any">
<group delimiter="">
<text variable="title" text-case="capitalize-first" font-style="italic" suffix=", "/>
<text variable="URL" text-decoration="underline"/>
</group>
</else-if>
<else>
<text variable="title" prefix="&#171;&#160;" suffix="&#160;&#187;"/>
</else>
</choose>
</macro>
<macro name="pub-place">
<choose>
<if type="bill book chapter entry-dictionary entry-encyclopedia thesis graphic legal_case manuscript motion_picture paper-conference report song" match="any">
<text variable="publisher-place"/>
</if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="bill book chapter entry-dictionary entry-encyclopedia graphic legal_case motion_picture paper-conference report song" match="any">
<text variable="publisher"/>
</if>
</choose>
</macro>
<macro name="yearpage">
<choose>
<if type="bill book graphic legal_case motion_picture paper-conference manuscript report song thesis" match="any">
<group delimiter=", " font-style="normal">
<date variable="issued">
<date-part name="year"/>
</date>
<group>
<text term="volume" form="short" suffix="."/>
<text variable="number-of-volumes" prefix=". " suffix="/"/>
<text variable="volume"/>
</group>
<text variable="locator" prefix="p.&#160;"/>
</group>
</if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter=" " font-style="normal">
<date variable="issued">
<date-part name="year" suffix=", "/>
</date>
<group>
<text term="volume" form="short" suffix="."/>
<text variable="number-of-volumes" prefix=". " suffix="/"/>
<text variable="volume" suffix=","/>
</group>
<label variable="page" form="short"/>
<group delimiter=", ">
<text variable="page"/>
<text variable="locator" prefix="p.&#160;"/>
</group>
</group>
</else-if>
<else-if type="article-journal" match="any">
<group delimiter=" " font-style="normal">
<label variable="page" form="short"/>
<group delimiter=", ">
<text variable="page"/>
<text variable="locator" prefix="p.&#160;"/>
</group>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=" " font-style="normal">
<date variable="issued" form="numeric">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
<group delimiter=" " font-style="normal">
<choose>
<if variable="locator" match="any">
<text variable="locator" prefix="p.&#160;"/>
</if>
<else-if variable="locator" match="none">
<label variable="page" form="short"/>
</else-if>
</choose>
</group>
</group>
</else-if>
<else-if type="webpage" match="any">
<group delimiter=" " font-style="normal">
<text value="consult&#233; le" suffix=" " prefix=" "/>
<date variable="accessed" form="text" suffix="">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first" suffix="."/>
</else>
</choose>
</if>
<else-if type="article-journal article-magazine">
<group delimiter="" font-style="normal">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="volume" prefix=", "/>
</if>
<else>
<text macro="volume" text-case="capitalize-first"/>
</else>
</choose>
</group>
</else-if>
</choose>
<text macro="issue" prefix=", "/>
</macro>
<macro name="volume">
<choose>
<if is-numeric="volume">
<text term="volume" form="short" suffix=""/>
<text variable="volume"/>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</macro>
<macro name="issue">
<choose>
<if is-numeric="issue">
<text term="issue" form="short" suffix=" "/>
<text variable="issue"/>
</if>
<else>
<text variable="issue"/>
</else>
</choose>
</macro>
<macro name="collection">
<choose>
<if is-numeric="collection-number">
<text variable="collection-title" prefix=" coll. « " suffix=" »"/>
<text variable="collection-number" prefix=", n˚ "/>
</if>
<else>
<text variable="collection-title" prefix=" coll. « " suffix=" »"/>
</else>
</choose>
</macro>
<citation>
<layout prefix="" suffix="." delimiter=" ; ">
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
<text variable="locator" prefix="p. "/>
</group>
</if>
<else-if position="ibid">
<text term="ibid" text-case="capitalize-first" font-style="italic"/>
</else-if>
<else-if position="subsequent">
<group delimiter=", ">
<text macro="author"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="capitalize-first" form="short" prefix="« " suffix=" »" font-style="normal"/>
</else>
</choose>
<text term="cited" font-style="italic" suffix="."/>
<text variable="locator" prefix="p. "/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text macro="author"/>
<text macro="title"/>
<text macro="translator"/>
<text macro="edition"/>
<text macro="pub-place"/>
<text macro="publisher"/>
<text macro="yearpage"/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography>
<sort>
<key macro="author" names-min="3" names-use-first="3"/>
<key variable="issued" sort="descending"/>
</sort>
<layout prefix="" suffix=".">
<group delimiter=", ">
<text macro="author"/>
<text macro="title"/>
<text macro="translator"/>
<text macro="edition"/>
<text macro="pub-place"/>
<text macro="publisher"/>
<text macro="yearpage"/>
</group>
</layout>
</bibliography>
</style>
Loading

0 comments on commit 27198d3

Please sign in to comment.