Skip to content

Instantly share code, notes, and snippets.

@FHeimburger
Created October 4, 2013 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FHeimburger/6828828 to your computer and use it in GitHub Desktop.
Save FHeimburger/6828828 to your computer and use it in GitHub Desktop.
Author-date variation of the "Tapuscrit" style
<?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">
<info>
<title>Tapuscrit-EHESS-abrege (French)</title>
<author>
<name>Franziska Heimburger</name>
<email>zotero@franziska.fr</email>
</author>
<id>http://www.zotero.org/styles/tapuscrit-ehess-abrege</id>
<link href="http://www.zotero.org/styles/tapuscrit-ehess-abrege" rel="self"/>
<link href="http://www.editions.ehess.fr/ouvrages/ouvrage/le-tapuscrit/" rel="documentation"/>
<category field="social_science"/>
<category field="generic-base"/>
<category citation-format="author-date"/>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/"> This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
<updated>2013-05-26T00:02:01+00:00</updated>
</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>ed.</single>
<multiple>eds.</multiple>
</term>
<term name="in">
<single>dans</single>
<multiple>dans</multiple>
</term>
</terms>
</locale>
<macro name="contrib-court">
<choose>
<if variable="author">
<names variable="author">
<name form="short" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">
</name>
</names>
</if>
<else-if variable="editor">
<names variable="editor">
<name form="short" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">
</name>
<label form="short" prefix="&#160;(" suffix=".)"/>
</names>
</else-if>
</choose>
</macro>
<macro name="author-bib">
<choose>
<if variable="author">
<names variable="author">
<name name-as-sort-order="all" form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">
<name-part name="family" font-variant="small-caps"/>
</name>
</names>
</if>
<else-if variable="editor">
<names variable="editor">
<name name-as-sort-order="all" form="long" and="text" delimiter-precedes-last="never" sort-separator=" " 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="editor-bib">
<names variable="editor">
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">
<name-part name="family" font-variant="small-caps"/>
</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=" traduit par ">
</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" quotes="true"/>
<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" font-style="italic" suffix=","/>
<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" font-style="italic"/>
<text variable="genre" prefix=" [" suffix="]"/>
</group>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter="">
<text variable="title" text-case="capitalize-first" quotes="true"/>
<text value="dans" suffix=" " prefix=" "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" text-case="capitalize-first" font-style="italic"/>
</group>
</else-if>
<else-if type="webpage post-weblog" match="any">
<group delimiter="">
<text variable="title" text-case="capitalize-first" font-style="italic" suffix=", "/>
<text variable="URL" />
<group prefix=" , ">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else>
<text variable="title" quotes="true"/>
</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">
<choose>
<if variable="publisher-place" match="any">
<text variable="publisher-place"/>
</if>
<else>
<text value="s.l."/>
</else>
</choose>
</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="year-short">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="yearpage-bib">
<choose>
<if type="bill book graphic legal_case motion_picture paper-conference report song thesis" match="any">
<group delimiter=", ">
<group delimiter=", " font-style="normal">
<group>
<text term="volume" form="short" suffix="."/>
<text variable="number-of-volumes" prefix=". " suffix="/"/>
<text variable="volume"/>
</group>
<text variable="number-of-pages" suffix="&#160;p"/>
</group>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter=", " font-style="normal">
<group>
<text term="volume" form="short" suffix="."/>
<text variable="number-of-volumes" prefix=". " suffix="/"/>
<text variable="volume"/>
</group>
<group>
<label variable="page" form="short"/>
<text variable="page" prefix="&#160;"/>
</group>
</group>
</else-if>
<else-if type="article-journal chapter" match="any">
<group delimiter=" " font-style="normal">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=" " font-style="normal">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" suffix=" "/>
<date-part name="year"/>
</date>
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="manuscript">
<group delimiter="" font-style="normal">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</if>
<else>
<text value="s. d."/>
</else>
</choose>
</group>
</else-if>
<else-if type="webpage post-weblog" 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="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<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=".&#160;"/>
<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="&#160;"/>
<text variable="issue"/>
</if>
<else>
<text variable="issue"/>
</else>
</choose>
</macro>
<macro name="collection">
<text variable="collection-title" quotes="true" prefix=" (coll.&#160;" suffix=")"/>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">
<layout prefix="&#160;(" 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>
<group delimiter=" ">
<text macro="contrib-court"/>
<text macro="year-short"/>
</group>
<group prefix=", ">
<label variable="locator" form="short" suffix="&#160;"/>
<text variable="locator"/>
</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=".">
<choose>
<if type="manuscript">
<group delimiter=", ">
<text variable="archive"/>
<text variable="archive_location"/>
<text variable="call-number"/>
<text macro="title"/>
<text macro="yearpage-bib"/>
</group>
</if>
<else-if type="bill chapter article-journal article-newspaper interview book graphic legal_case motion_picture paper-conference report song thesis webpage post-weblog" match="any">
<group delimiter=", ">
<text macro="author-bib"/>
<text macro="year-short"/>
<text macro="title"/>
<text macro="translator"/>
<text macro="edition"/>
<text macro="pub-place"/>
<group delimiter=" ">
<text macro="publisher"/>
<text macro="collection"/>
</group>
<text macro="yearpage-bib"/>
</group>
</else-if>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment