Skip to content

Commit

Permalink
Update universite-de-sherbrooke-histoire.csl
Browse files Browse the repository at this point in the history
Updating according to new style guide defined by the department.
  • Loading branch information
leonrobichaud authored Oct 10, 2024
1 parent 413da60 commit c30365d
Showing 1 changed file with 134 additions and 58 deletions.
192 changes: 134 additions & 58 deletions universite-de-sherbrooke-histoire.csl
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<id>http://www.zotero.org/styles/universite-de-sherbrooke-histoire</id>
<link href="http://www.zotero.org/styles/universite-de-sherbrooke-histoire" rel="self"/>
<link href="http://www.zotero.org/styles/universite-libre-de-bruxelles-histoire" rel="template"/>
<link href="https://www.usherbrooke.ca/histoire/etudiants-actuels/documents-officiels/#c68852-1" rel="documentation"/>
<link href="https://www.usherbrooke.ca/histoire/etudiants-actuels/documents-officiels/" rel="documentation"/>
<author>
<name>Léon Robichaud</name>
<email>[email protected]</email>
<uri>http://www.zotero.org/lrobichaud</uri>
</author>
<category citation-format="note"/>
<category field="history"/>
<updated>2023-11-26T13:16:04+00:00</updated>
<updated>2024-10-10T15:04:00+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">
Expand Down Expand Up @@ -74,6 +74,12 @@
<et-al font-style="italic"/>
</names>
</if>
<else-if variable="director">
<names variable="director">
<name sort-separator=" " delimiter=", " and="text" form="long"/>
<et-al font-style="italic"/>
</names>
</else-if>
<else-if variable="editor">
<text macro="editor-note"/>
</else-if>
Expand Down Expand Up @@ -104,7 +110,7 @@
</macro>
<macro name="title">
<choose>
<if type="book graphic motion_picture" match="any">
<if type="book motion_picture" match="any">
<text variable="title" font-style="italic" suffix=", "/>
</if>
<else-if type="thesis" match="any">
Expand Down Expand Up @@ -138,25 +144,18 @@
<text variable="container-title" font-style="italic" suffix=", "/>
</group>
</else-if>
<else-if type="report song" match="any">
<group delimiter=", " suffix=", ">
<text variable="title" quotes="true"/>
<group delimiter=", ">
<text variable="collection-title" quotes="true"/>
<number variable="number"/>
</group>
</group>
</else-if>
<else-if type="interview">
<else-if type="interview graphic">
<group delimiter=", " suffix=", ">
<text variable="title" quotes="true"/>
<names variable="interviewer" delimiter=", ">
<label form="verb" prefix=" " suffix=" "/>
<name sort-separator=" ">
<name-part name="family"/>
</name>
<et-al font-style="italic"/>
</names>
<text variable="title" quotes="false"/>
<date variable="issued" form="text"/>
<text variable="medium"/>
</group>
</else-if>
<else>
Expand All @@ -171,7 +170,7 @@
</macro>
<macro name="title-note">
<choose>
<if type="book graphic motion_picture" match="any">
<if type="book motion_picture song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else-if type="thesis" match="any">
Expand Down Expand Up @@ -205,7 +204,7 @@
<text variable="container-title" font-style="italic"/>
</group>
</else-if>
<else-if type="report song" match="any">
<else-if type="report" match="any">
<group delimiter=", ">
<text variable="title" quotes="true"/>
<group delimiter=", ">
Expand All @@ -214,16 +213,9 @@
</group>
</group>
</else-if>
<else-if type="interview">
<else-if type="graphic" match="any">
<group delimiter=", ">
<text variable="title" quotes="true"/>
<names variable="interviewer" delimiter=", ">
<label form="verb" prefix=" " suffix=" "/>
<name sort-separator=" ">
<name-part name="family"/>
</name>
<et-al font-style="italic"/>
</names>
<text variable="title" quotes="false"/>
</group>
</else-if>
<else>
Expand Down Expand Up @@ -255,14 +247,14 @@
</else-if>
</choose>
</if>
<else-if type="motion_picture song broadcast" match="any">
<else-if type="song" match="any">
<text variable="medium"/>
</else-if>
</choose>
</macro>
<macro name="place-and-publisher">
<choose>
<if type="book chapter webpage paper-conference" match="any">
<if type="book chapter webpage paper-conference entry-encyclopedia entry-dictionary" match="any">
<group delimiter=", ">
<choose>
<if variable="publisher-place">
Expand Down Expand Up @@ -304,17 +296,22 @@
</if>
</choose>
</macro>
<macro name="doi">
<choose>
<if variable="DOI">
<text variable="DOI"/>
</if>
</choose>
</macro>
<macro name="date-pages-and-collection">
<group delimiter=", ">
<text macro="date"/>
<text macro="artwork-info"/>
<text macro="locator-or-pages-or-number-of-pages"/>
</group>
</macro>
<macro name="date-pages-no-collection">
<group delimiter=", ">
<text macro="date"/>
<text macro="artwork-info"/>
<text macro="locator-or-pages-or-number-of-pages"/>
</group>
</macro>
Expand Down Expand Up @@ -401,18 +398,6 @@
</else>
</choose>
</macro>
<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=" ">
<label variable="locator" form="short"/>
Expand Down Expand Up @@ -470,6 +455,7 @@
<group delimiter=", ">
<text macro="date-pages-and-collection"/>
<text macro="url"/>
<text macro="doi"/>
</group>
</macro>
<macro name="source-biblio">
Expand All @@ -478,6 +464,8 @@
<text variable="archive"/>
<text variable="archive_location"/>
<text variable="title" form="short" quotes="false"/>
<text macro="date-pages-and-collection"/>
<text macro="url"/>
</group>
</macro>
<macro name="source-manuscrite">
Expand All @@ -498,10 +486,34 @@
<text macro="url"/>
</group>
</macro>
<macro name="entretien">
<group delimiter=", ">
<choose>
<if variable="author">
<names variable="author">
<name sort-separator=" " delimiter=", " and="text" form="long"/>
<et-al font-style="italic"/>
</names>
</if>
<else-if variable="interviewer">
<names variable="interviewer">
<name sort-separator=" " delimiter=", " and="text" form="long"/>
<et-al font-style="italic"/>
</names>
</else-if>
<else-if variable="translator">
<text macro="translator-note"/>
</else-if>
</choose>
<text variable="title" quotes="false"/>
<date variable="issued" form="text"/>
<text variable="medium"/>
</group>
</macro>
<macro name="carte-geo">
<text macro="author-note"/>
<choose>
<if variable="publisher">
<text macro="author-note"/>
<text variable="title" font-style="italic" prefix=", "/>
<text variable="scale" prefix=", "/>
<choose>
Expand All @@ -515,31 +527,97 @@
<text variable="collection-title" font-style="italic"/>
</if>
</choose>
<text macro="place-and-publisher" prefix=", "/>
<text macro="place-and-publisher"/>
<text macro="date-pages-no-collection" prefix=", "/>
<text macro="url" prefix=", "/>
</if>
<else>
<group delimiter=", ">
<text macro="title" prefix=", "/>
<text variable="scale"/>
<date variable="issued" form="text"/>
<text variable="archive"/>
<text variable="archive_location"/>
<text macro="author-note"/>
<text macro="title" prefix=", "/>
<text variable="scale"/>
<date variable="issued" form="text"/>
<text macro="url"/>
</group>
</else>
</choose>
</macro>
<macro name="artwork-info">
<group delimiter=", ">
<text variable="archive"/>
<text variable="archive_location"/>
<text macro="author-note"/>
<text macro="title-note" />
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
</choose>
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
</choose>
<date variable="issued" form="text"/>
<text macro="url"/>
</group>
</macro>
<macro name="video-info">
<group delimiter=", ">
<text macro="author-note"/>
<text macro="title-note" />
<text variable="publisher-place" />
<text variable="publisher"/>
<date variable="issued" form="text"/>
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
</choose>
<text macro="url"/>
</group>
</macro>
<macro name="audio-info">
<group delimiter=", ">
<text macro="author-note"/>
<text macro="title-note" />
<text variable="collection-title" prefix="(" suffix=")" />
<number variable="number"/>
<text variable="publisher-place" />
<text variable="publisher"/>
<date variable="issued" form="text"/>
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
</choose>
<text macro="url"/>
</group>
</macro>

<citation name-form="long" and="text" sort-separator=", " delimiter-precedes-last="never" et-al-min="4" et-al-use-first="1">
<layout suffix="." delimiter="&#160;; ">
<choose>
<if type="manuscript" match="any">
<text macro="source-manuscrite"/>
</if>
<else-if type="interview" match="any">
<text macro="entretien"/>
</else-if>
<else-if type="map" match="any">
<text macro="carte-geo"/>
</else-if>
<else-if type="graphic" match="any">
<text macro="artwork-info"/>
</else-if>
<else-if type="motion_picture broadcast" match="any">
<text macro="video-info"/>
</else-if>
<else-if type="song" match="any">
<text macro="audio-info"/>
</else-if>
<else-if position="subsequent">
<group delimiter=", ">
<text macro="author-note"/>
Expand All @@ -551,16 +629,6 @@
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
<group font-style="italic" delimiter=" ">
<choose>
<if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia chapter" match="any">
<text value="art. cit."/>
</if>
<else>
<text value="op. cit."/>
</else>
</choose>
</group>
<text macro="locator"/>
</group>
</else-if>
Expand All @@ -572,8 +640,16 @@
<text macro="place-and-publisher"/>
</group>
<group delimiter=", ">
<text macro="date-pages-no-collection"/>
<text macro="url"/>
<choose>
<if type="book thesis" match="any">
<text macro="date"/>
</if>
<else>
<text macro="date-pages-no-collection"/>
<text macro="url"/>
<text macro="doi"/>
</else>
</choose>
</group>
</else>
</choose>
Expand Down

0 comments on commit c30365d

Please sign in to comment.