Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update etudes-francaises.csl #7250

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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