Skip to content

Commit

Permalink
Major update to Gallia.csl (#5269)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMonteix authored Feb 15, 2021
1 parent 2a74b2c commit 6f398f0
Showing 1 changed file with 141 additions and 45 deletions.
186 changes: 141 additions & 45 deletions gallia.csl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" demote-non-dropping-particle="sort-only" default-locale="fr-FR" page-range-format="expanded">
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" demote-non-dropping-particle="sort-only" page-range-format="expanded" default-locale="fr-FR">
<info>
<title>Gallia (Français)</title>
<id>http://www.zotero.org/styles/gallia</id>
<link href="http://www.zotero.org/styles/gallia" rel="self"/>
<link href="http://www.mae.u-paris10.fr/recommandations-aux-auteurs-gallia/" rel="documentation"/>
<link href="https://journals.openedition.org/gallia/1305#tocto1n5" rel="documentation"/>
<author>
<name>Nicolas Monteix</name>
<email>nicolas.monteix@univ-rouen.fr</email>
Expand All @@ -14,41 +14,66 @@
<category field="anthropology"/>
<issn>0016-4119</issn>
<eissn>2109-9588</eissn>
<summary>Author-date style for Gallia - Archéologie de la France antique</summary>
<updated>2017-02-14T01:36:46+00:00</updated>
<summary>Author-date style for Gallia - Archéologie des Gaules. Extra fields needed for exhibition catalogues: genre, event place, event date; place is to be empty replaced by publisher place in extra field.
Voir si maintien de verbe conjugué pour éd/trad. textes anciens. Solution possible via IFAO</summary>
<updated>2020-08-20T01:59:23+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">
<locale xml:lang="fr-FR">
<terms>
<term name="editor" form="short">dir.</term>
<term name="in">dans</term>
<term name="anonymous">anonyme</term>
<term name="anonymous" form="short">anon.</term>
<term name="in">in</term>
<term name="accessed">consulté le</term>
<term name="paragraph" form="short">§</term>
<term name="no date">sans date</term>
<term name="no date" form="short">s.&#160;d.</term>
<term name="translator" form="verb-short">éd. et trad. par</term>
</terms>
</locale>
<macro name="genre">
<choose>
<if type="book chapter" variable="genre">
<group delimiter=", ">
<text variable="genre"/>
<text variable="event-place"/>
<date variable="event-date" form="text"/>
</group>
</if>
</choose>
</macro>
<macro name="translator">
<names variable="translator" delimiter=", ">
<label form="verb-short" suffix=" "/>
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
</names>
</macro>
<macro name="author">
<names variable="author" delimiter=", ">
<name name-as-sort-order="all" font-variant="small-caps" sort-separator=" " initialize-with="." delimiter=", "/>
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
<substitute>
<text macro="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="all" font-variant="small-caps" sort-separator=" " initialize-with="." delimiter=", "/>
<label form="short" font-variant="small-caps" text-case="lowercase" prefix=" (" suffix=")"/>
<substitute>
<choose>
<if variable="container-author">
<text macro="container-author"/>
</substitute>
</names>
</if>
<else-if variable="editor">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
</names>
</else-if>
<else>
<text value="Collectif"/>
</else>
</choose>
</macro>
<macro name="container-author">
<names variable="container-author" delimiter=", ">
<name name-as-sort-order="all" font-variant="small-caps" sort-separator=" " initialize-with="." delimiter=", "/>
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
<et-al font-style="italic" font-variant="normal"/>
</names>
</macro>
Expand All @@ -67,10 +92,18 @@
</names>
</macro>
<macro name="editor-short">
<names variable="editor">
<name form="short" delimiter=", "/>
<et-al font-variant="normal" font-style="italic"/>
</names>
<choose>
<if variable="editor">
<names variable="editor">
<name form="short" delimiter=", "/>
<label form="short" text-case="lowercase" prefix=" "/>
<et-al font-variant="normal" font-style="italic"/>
</names>
</if>
<else>
<text value="Collectif"/>
</else>
</choose>
</macro>
<macro name="access">
<group>
Expand All @@ -88,10 +121,26 @@
<text variable="collection-number"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if variable="container-title">
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<text macro="genre"/>
</group>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book" match="any">
<text variable="title" font-style="italic"/>
<group delimiter=", ">
<text variable="title" font-style="italic"/>
<text macro="genre"/>
</group>
</if>
<else-if type="webpage" match="any">
<text variable="title"/>
Expand Down Expand Up @@ -140,50 +189,81 @@
<key variable="issued"/>
</sort>
<layout prefix="(" suffix=")" delimiter="&#160;; ">
<text macro="author-short" suffix=", "/>
<text macro="year-date"/>
<group prefix=",&#160;">
<label variable="locator" form="short" suffix=".&#160;"/>
<text variable="locator"/>
<choose>
<if variable="translator">
<text macro="author-short" suffix=", "/>
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text macro="author-short" suffix=", "/>
<text macro="year-date"/>
</else>
</choose>
<group prefix=", ">
<choose>
<if locator="paragraph issue" match="any">
<label variable="locator" form="short" suffix="&#160;"/>
<text variable="locator"/>
</if>
<else-if locator="page">
<text variable="locator"/>
</else-if>
<else>
<label variable="locator" form="short" suffix=".&#160;"/>
<text variable="locator"/>
</else>
</choose>
</group>
</layout>
</citation>
<bibliography subsequent-author-substitute="">
<bibliography>
<sort>
<key macro="author"/>
<key variable="issued"/>
<key variable="page-first"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<group display="block">
<text macro="author" suffix="&#9;"/>
<group delimiter=" " font-weight="bold">
<choose>
<if variable="translator">
<text macro="author"/>
</if>
<else>
<text macro="author"/>
<text macro="year-date" suffix="&#160;"/>
</else>
</choose>
</group>
<group display="left-margin">
<text macro="year-date" suffix="&#160;: &#9;"/>
<group prefix=": ">
<choose>
<if type="thesis">
<if type="thesis report">
<group delimiter=", " suffix=".">
<text macro="title" font-style="italic"/>
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
<group>
<text variable="number-of-pages" suffix=" p."/>
<choose>
<if variable="number-of-pages" match="any">
<text variable="number-of-pages" suffix=" p."/>
</if>
<else>
<text variable="page" suffix=" p."/>
</else>
</choose>
</group>
</group>
</if>
<else-if type="webpage">
<group>
<text macro="title" font-style="italic"/>
<text variable="URL" prefix=", "/>
<text prefix=" (" macro="access" suffix=")"/>
<group delimiter=", ">
<text macro="title"/>
<text macro="container-title"/>
</group>
</else-if>
<else-if type="article-journal article-magazine article-newspaper broadcast personal_communication thesis entry-dictionary entry-encyclopedia" match="any">
<else-if type="article-journal article-magazine article-newspaper broadcast personal_communication" match="any">
<group delimiter=", " suffix=".">
<text macro="title" quotes="true"/>
<text variable="container-title" font-style="italic"/>
<text macro="title"/>
<text macro="container-title"/>
<text variable="volume"/>
<text variable="issue"/>
<text macro="pages"/>
Expand All @@ -192,6 +272,7 @@
<else-if type="book graphic" match="any">
<group suffix=".">
<text macro="title" suffix=", "/>
<text macro="translator" suffix=", "/>
<text macro="edition"/>
<text macro="publisher"/>
<text macro="collection"/>
Expand All @@ -200,19 +281,34 @@
</group>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" quotes="true" suffix=", "/>
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
<text macro="title" suffix=", "/>
<group>
<text value="in" font-style="italic" suffix=" "/>
<text value="in" suffix=" "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" font-style="italic"/>
<text macro="container-title"/>
<text macro="publisher" prefix=", "/>
<text macro="collection"/>
<text macro="pages" prefix=", " suffix="."/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" suffix=", "/>
<text macro="edition"/>
<text macro="publisher"/>
<text macro="collection"/>
<group>
<text variable="number-of-pages" prefix=", " suffix=" p."/>
</group>
</group>
</else>
</choose>
</group>
<group prefix=" [" suffix="]" delimiter=", ">
<text variable="URL" prefix="URL&#160;: "/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 6f398f0

Please sign in to comment.