Create ithaque.csl

<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr-FR" version="1.0" demote-non-dropping-particle="never">
  <info>
    <title>Ithaque (Fr)</title>
    <id>http://www.revueithaque.org/fichiers/styles/Ithaque.csl</id>
    <link href="http://www.revueithaque.org/fichiers/styles/ithaque.csl" rel="self"/>
    <link href="http://www.zotero.org/styles/infoclio-fr-nocaps" rel="template"/>
    <author>
      <name>Marc-Kevin Daoust</name>
      <email>marc-kevin.daoust@umontreal.ca</email>
    </author>
    <author>
      <name>Nicolas Chachereau</name>
      <email>nicolas.chachereau@unil.ch</email>
    </author>
    <author>
      <name>Enrico Natale</name>
      <email>enrico.natale@infoclio.ch</email>
    </author>
    <author>
      <name>Jan Baumann</name>
      <email>jan.baumann@infoclio.ch</email>
    </author>
    <category citation-format="note"/>
    <category field="philosophy"/>
    <issn>1703-1001</issn>
    <updated>2014-08-10T05:49:43+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>
  <locale xml:lang="fr">
    <terms>
      <!-- &#7497; correspond Ã  un petit "e" placÃ© en exposant: 1e, 2e... -->
      <term name="ordinal-01">&#7497;</term>
      <term name="ordinal-02">&#7497;</term>
      <term name="ordinal-03">&#7497;</term>
      <term name="ordinal-04">&#7497;</term>
      <term name="volume" form="short">vol.</term>
      <term name="page" form="short">
        <single>p.</single>
        <multiple>p.</multiple>
      </term>
      <term name="translator" form="verb">trad.</term>
      <term name="editor" form="short">
        <single> (dir.)</single>
        <multiple> (dir.)</multiple>
      </term>
    </terms>
  </locale>
  <macro name="author-or-editor">
    <choose>
      <if variable="author">
        <names variable="author">
      <name sort-separator=", " 
	name-as-sort-order="first">
      </name>
          <et-al font-style="italic"/>
        </names>
      </if>
      <else-if variable="editor">
        <text macro="editor"/>
      </else-if>
    </choose>
  </macro>
  <macro name="editor">
    <names variable="editor">
      <name sort-separator=", " 
	name-as-sort-order="first">
      </name>
      <et-al font-style="italic"/>
      <label form="short"/>
    </names>
  </macro>
  <macro name="author-short">
    <names variable="author">
            <name sort-separator=", " 
	name-as-sort-order="first"
	form="short">
	</name> 
      <label form="short" prefix=", "/>
      <et-al font-style="italic"/>
      <substitute>
        <names variable="editor"/>
      </substitute>
    </names>
  </macro>
  <macro name="editor-or-book-author">
    <choose>
      <if variable="editor">
        <text macro="editor"/>
      </if>
      <else-if variable="container-author">
        <names variable="container-author">
      <name sort-separator=", " 
	name-as-sort-order="first">
      </name>
          <et-al font-style="italic"/>
        </names>
      </else-if>
    </choose>
  </macro>
  <macro name="translator">
    <names variable="translator">
      <label form="verb" suffix=" "/>
      <name sort-separator=" " 
	form="long"
	and="text" 
	delimiter=", " 
	delimiter-precedes-last="never">
      </name>
    </names>
  </macro>
  <macro name="title">
    <choose>
      <if type="book thesis graphic motion_picture" match="any">
        <text variable="title" font-style="italic"/>
      </if>
      <else-if type="chapter paper-conference" match="any">
        <group delimiter=" ">
          <text variable="title" quotes="true" suffix=","/>
          <text value="dans"/>
          <text macro="editor" suffix=","/>
          <text variable="container-title" font-style="italic"/>
        </group>
      </else-if>
      <else-if type="article-journal">
        <group delimiter=", ">
          <text variable="title" quotes="true"/>
          <group>
            <text variable="container-title" font-style="italic" suffix=","/>
            <choose>
              <if is-numeric="volume">
                <number variable="volume" prefix=" vol. " suffix=", "/>
                <choose>
                  <if is-numeric="issue">
                    <number variable="issue" prefix="nÂ°"/>
                  </if>
                </choose>
              </if>
              <else-if is-numeric="issue">
                <number variable="issue" prefix="nÂ°"/>
              </else-if>
            </choose>
          </group>
        </group>
      </else-if>
      <else-if type="article-newspaper article-magazine entry-encyclopedia entry-dictionary broadcast" match="any">
        <group delimiter=", ">
          <text variable="title" quotes="true"/>
          <text variable="container-title" font-style="italic"/>
        </group>
      </else-if>
      <else-if type="webpage post post-weblog" match="any">
        <group delimiter=", ">
          <text variable="title" quotes="true"/>
          <text variable="container-title" font-style="italic"/>
        <text variable="URL" prefix="&lt;" suffix="&gt;"/>
        </group>
          <text term="accessed" prefix=", "/>
          <date variable="accessed" form="text" date-parts="year-month-day" prefix=" "/>
      </else-if>
      <else-if type="report song" match="any">
        <group delimiter=", ">
          <text variable="title" quotes="true"/>
          <group delimiter=", ">
            <text variable="collection-title" font-style="italic"/>
            <number variable="number"/>
          </group>
        </group>
      </else-if>
      <else-if type="interview">
        <group delimiter=", ">
          <text variable="title" quotes="true"/>
          <names variable="interviewer" delimiter=", ">
            <label form="verb" prefix=" " suffix=" "/>
            <name sort-separator=" "/>
            <et-al font-style="italic"/>
          </names>
        </group>
      </else-if>
      <else>
        <text variable="title" quotes="true"/>
      </else>
    </choose>
  </macro>
  <!-- fin macro "title" -->
  <macro name="volume-or-medium">
    <choose>
      <if type="book chapter entry-encyclopedia entry-dictionary" match="any">
        <choose>
          <if is-numeric="volume number-of-volumes" match="any">
            <text term="volume" form="short" suffix=".&#160;"/>
            <number variable="volume" suffix=" / "/>
            <number variable="number-of-volumes"/>
          </if>
          <else-if is-numeric="volume">
            <text term="volume" form="short" suffix=".&#160;"/>
            <number variable="volume"/>
          </else-if>
          <else-if is-numeric="number-of-volumes">
            <number variable="number-of-volumes"/>
            <text term="volume" form="short" prefix="&#160;" suffix="."/>
          </else-if>
        </choose>
      </if>
      <else-if type="motion_picture song broadcast" match="any">
        <text variable="medium"/>
      </else-if>
    </choose>
  </macro>
  <macro name="place-and-publisher">
    <choose>
      <if type="book chapter paper-conference" match="any">
        <group delimiter=", ">
          <choose>
            <if variable="publisher-place">
              <text variable="publisher-place"/>
            </if>
            <else>
              <text value=""/>
            </else>
          </choose>
          <text variable="publisher"/>
        </group>
      </if>
      <else-if type="report motion_picture broadcast song" match="any">
        <group delimiter=", ">
          <text variable="publisher-place"/>
          <text variable="publisher"/>
        </group>
      </else-if>
      <else-if type="thesis">
        <group delimiter=", ">
          <text variable="genre"/>
          <text variable="publisher-place"/>
          <text variable="publisher"/>
        </group>
      </else-if>
      <else-if type="speech">
        <group delimiter=", ">
          <text variable="genre"/>
          <text variable="event"/>
          <text variable="event-place"/>
        </group>
      </else-if>
    </choose>
  </macro>
  <macro name="date-pages-and-collection">
    <group delimiter=", ">
      <text macro="date"/>
      <text macro="artwork-info"/>
      <text macro="locator-or-pages"/>
    </group>
    <text macro="collection"/>
  </macro>
  <macro name="date">
    <choose>
      <if type="book chapter paper-conference motion_picture" match="any">
        <choose>
          <if variable="issued">
            <date variable="issued">
              <date-part name="year"/>
            </date>
          </if>
          <else>
            <text value="[s. d.]"/>
          </else>
        </choose>
      </if>
      <else-if type="article-journal" match="any">
        <choose>
          <if variable="issued">
            <date variable="issued" form="text" date-parts="year-month"/>
          </if>
          <else>
            <text value="[s. d.]"/>
          </else>
        </choose>
      </else-if>
      <else-if type="article-newspaper article-magazine webpage post post-weblog report broadcast entry-encyclopedia entry-dictionary speech" match="any">
        <group delimiter="">
          <choose>
            <if variable="issued">
              <date variable="issued" form="text" date-parts="year-month-day"/>
            </if>
            <else>
              <text value="[s. d.]"/>
            </else>
          </choose>
          <text macro="url"/>
        </group>
      </else-if>
      <else-if type="song">
        <choose>
          <if variable="issued">
            <group delimiter=", ">
              <date variable="issued" form="text"/>
              <text macro="url"/>
            </group>
          </if>
          <else>
            <text macro="url"/>
          </else>
        </choose>
      </else-if>
      <else>
        <choose>
          <if variable="issued">
            <date variable="issued" form="text" date-parts="year-month-day"/>
          </if>
          <else-if variable="original-date">
            <date variable="original-date" form="text" date-parts="year-month-day"/>
          </else-if>
          <else-if variable="event-date">
            <date variable="event-date" form="text" date-parts="year-month-day"/>
          </else-if>
          <else>
            <text value="[s. d.]"/>
          </else>
        </choose>
      </else>
    </choose>
  </macro>
  <!-- fin macro "date" -->
  <macro name="artwork-info">
    <choose>
      <if type="graphic">
        <group delimiter=", ">
          <text variable="medium"/>
          <text variable="genre"/>
          <text variable="archive"/>
          <text variable="archive_location"/>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="locator">
    <group delimiter="&#160;">
      <label variable="locator" form="short"/>
      <text variable="locator"/>
    </group>
  </macro>
  <macro name="locator-or-pages">
    <choose>
      <if variable="locator">
        <text macro="locator"/>
      </if>
      <else>
        <group delimiter="&#160;">
          <label variable="page" form="short"/>
          <text variable="page"/>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="collection">
    <choose>
      <if type="book chapter paper-conference" match="any">
        <group prefix=" (" suffix=")" delimiter=" ">
          <text variable="collection-title"/>
          <choose>
            <if is-numeric="collection-number">
              <number variable="collection-number"/>
            </if>
          </choose>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="edition">
    <choose>
      <if type="book chapter paper-conference" match="any">
        <choose>
          <if is-numeric="edition">
            <number variable="edition" form="ordinal"/>
            <text term="edition" prefix="&#160;"/>
          </if>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="complete-reference">
    <group delimiter=", ">
      <text macro="author-or-editor"/>
    </group>
    <group delimiter=", " prefix=" (" suffix="), ">
      <text macro="date"/>
    </group>
    <group delimiter=", ">
      <text macro="title"/>
      <text macro="translator"/>
      <text macro="volume-or-medium"/>
      <text macro="edition"/>
      <text macro="place-and-publisher"/>
      <text macro="collection-title"/>
      <text macro="locator-or-pages"/>
    </group>
  </macro>
  <citation name-form="long" initialize-with=". " and="text" sort-separator=", " delimiter-precedes-last="never" et-al-min="3">
    <!-- the attributes on citation are inheritable name options -->
    <layout suffix="." delimiter="&#160;; ">
      <choose>
        <if position="ibid-with-locator">
          <group delimiter=", ">
            <text term="ibid" font-style="italic" suffix="."/>
            <text macro="locator"/>
          </group>
        </if>
        <else-if position="ibid">
          <text term="ibid" font-style="italic"/>
        </else-if>
        <else-if position="subsequent">
            <text macro="author-or-editor"/>
          <group delimiter=", ">
                 <text macro="date" prefix=" (" suffix=")"/>
            <choose>
              <if type="book thesis" match="any">
                <text variable="title" form="short" font-style="italic"/>
              </if>
              <else>
                <text variable="title" form="short" quotes="true"/>
              </else>
            </choose>
            <group font-style="italic" delimiter="&#160;">
              <choose>
                <if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia chapter" match="any">
                  <text value=""/>
                </if>
                <else>
                  <text value=""/>
                </else>
              </choose>
            </group>
            <text macro="locator"/>
          </group>
        </else-if>
        <else>
            <text macro="author-or-editor"/>
          <group delimiter=", ">
                 <text macro="date" prefix=" (" suffix=")"/>
            <choose>
              <if type="book thesis" match="any">
                <text variable="title" form="short" font-style="italic"/>
              </if>
              <else>
                <text variable="title" form="short" quotes="true"/>
              </else>
            </choose>
            <group font-style="italic" delimiter="&#160;">
              <choose>
                <if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia chapter" match="any">
                  <text value=""/>
                </if>
                <else>
                  <text value=""/>
                </else>
              </choose>
            </group>
            <text macro="locator"/>
          </group>
 
        </else>
      </choose>
    </layout>
  </citation>
  <bibliography name-form="long" initialize-with=". " and="text" sort-separator=", " delimiter-precedes-last="never" et-al-min="3">
    <!-- the attributes on bibliography are inheritable name options -->
    <sort>
      <key macro="author-or-editor" names-min="3" names-use-first="3"/>
      <key variable="issued" sort="descending"/>
    </sort>
    <layout suffix=".">
      <text macro="complete-reference"/>
    </layout>
  </bibliography>
</style>