Skip to content

Commit

Permalink
Update etudes-francaises.csl
Browse files Browse the repository at this point in the history
Fall 2024 update

Minor revisions from prof. Benoit Melançon (long time director for the ETFRA journal, now retired)

* Add post-weblog support

* Lastname, Firstname order in bibliography only

* Display directors for motion_picture

* Updated last-modified date
  • Loading branch information
loup-brun authored Oct 9, 2024
1 parent 8acc65b commit 6a20be4
Showing 1 changed file with 56 additions and 18 deletions.
74 changes: 56 additions & 18 deletions etudes-francaises.csl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<issn>0014-2085</issn>
<issn>1492-1405</issn>
<summary>Références pour le style Études françaises. Aussi utilisé par les Presses de l’Université de Montréal (PUM).</summary>
<updated>2023-10-23T16:35:00-04:00</updated>
<updated>2024-10-09T13:56: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 @@ -129,15 +129,49 @@
</choose>
</macro>
<macro name="author">
<names variable="author" delimiter=", ">
<name font-variant="normal" sort-separator=" " and="text" delimiter-precedes-last="never"/>
<substitute>
<names variable="editor">
<name font-variant="normal" sort-separator=" " and="text"/>
<choose>
<if type="motion_picture">
<group delimiter=", ">
<!-- Motion picture should display `director` -->
<names variable="director" delimiter=", ">
<name font-variant="normal" sort-separator=" " and="text" delimiter-precedes-last="never" />
</names>
</group>
</if>
<else>
<names variable="author" delimiter=", ">
<name font-variant="normal" sort-separator=" " and="text" delimiter-precedes-last="never" />
<substitute>
<names variable="editor" delimiter=", ">
<name font-variant="normal" sort-separator=" " and="text" delimiter-precedes-last="never"/>
<label form="short" text-case="lowercase" font-variant="normal" prefix=" (" suffix=")"/>
</names>
</substitute>
</names>
<text macro="title"/>
</substitute>
</names>
</else>
</choose>
</macro>
<!-- List authors as Lastname, Firstname in bibliography -->
<macro name="author-bibliography">
<choose>
<if type="motion_picture">
<names variable="director" delimiter=", ">
<name font-variant="normal" sort-separator=", " and="text" delimiter-precedes-last="never" name-as-sort-order="all" />
</names>
</if>
<else>
<names variable="author" delimiter=", ">
<name font-variant="normal" sort-separator=", " and="text" delimiter-precedes-last="never" name-as-sort-order="all" />
<substitute>
<names variable="editor">
<name font-variant="normal" sort-separator=" " and="text" delimiter-precedes-last="never" />
<label form="short" text-case="lowercase" font-variant="normal" prefix=" (" suffix=")"/>
</names>
<text macro="title"/>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="editor-translator">
<names variable="translator" delimiter=", ">
Expand Down Expand Up @@ -236,16 +270,9 @@
<label plural="never" suffix="&#160;" variable="locator" form="short"/>
<text variable="locator" form="short"/>
</macro>
<!-- The full-note macro does not include the author part, because of the difference between citation and bibliography -->
<macro name="full-note">
<group>
<choose>
<if match="any" variable="author">
<text macro="author" suffix=", "/>
</if>
<else-if match="none" variable="author">
<text macro="editor" suffix=", "/>
</else-if>
</choose>
<choose>
<if match="any" type="thesis report">
<group delimiter=", ">
Expand Down Expand Up @@ -274,7 +301,7 @@
</group>
</group>
</else-if>
<else-if type="webpage article-journal article-magazine article-newspaper broadcast personal_communication article" match="any">
<else-if type="webpage article-journal article-magazine article-newspaper broadcast personal_communication article post-weblog" match="any">
<group delimiter=", ">
<text macro="title" quotes="true"/>
<text variable="container-title" font-style="italic" text-case="title"/>
Expand Down Expand Up @@ -349,6 +376,15 @@
<text macro="number-of-pages"/>
</group>
</else-if>
<else-if type="motion_picture">
<group delimiter=", ">
<text macro="title" font-style="italic"/>
<text macro="volume"/>
<text macro="publisher"/>
<text macro="year-date"/>
<text variable="dimensions"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text macro="title" font-style="italic"/>
Expand Down Expand Up @@ -390,6 +426,7 @@
</else-if>
<else>
<group delimiter=", ">
<text macro="author" />
<text macro="full-note"/>
<choose>
<if variable="locator">
Expand All @@ -409,6 +446,7 @@
<key variable="title"/>
</sort>
<layout suffix=".">
<text macro="author-bibliography" suffix=", "/>
<text macro="full-note"/>
</layout>
</bibliography>
Expand Down

0 comments on commit 6a20be4

Please sign in to comment.