problème feuille de style et ordre alphabétique bibliographie (french)

Bonjour,
je ne comprends pas pourquoi en mettant :
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
à la fin de ma bibliographie, ça ne la trie pas par ordre alphabétique, j'avais déjà modifié comme ça une précédente feuille de style.
Je l'ai testé en utlisant cette adresse : chrome://zotero/content/tools/csledit.xul et ça ne marche pas...
Pourriez-vous m'aider?
Merci d'avance

Voilà ma feuille de style :


<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="fr-FR">
<info>
<title>style these definitif</title>
</info>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with=". " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always">
<name-part name="family" text-case="uppercase"/>
<name-part name="given" text-case="uppercase"/>
</name>
<label form="short" prefix=", " suffix="." text-case="uppercase" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always">
<name-part name="family" text-case="uppercase"/>
<name-part name="given" text-case="uppercase"/>
</name>
<label form="short" prefix=", " suffix="." text-case="uppercase" strip-periods="true"/>
</names>
</macro>
<macro name="publisher">
<choose>
<if variable="publisher-place">
<text variable="publisher-place" suffix=" : "/>
</if>
<else>
<text value="[s.l.] : "/>
</else>
</choose>
<choose>
<if variable="publisher">
<text variable="publisher" suffix=", "/>
</if>
<else>
<text value="[s.n.], "/>
</else>
</choose>
<choose>
<if variable="issued">
<date variable="issued" suffix=". ">
<date-part name="year"/>
</date>
</if>
<else>
<text value="[s.d.]."/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text value="Disponible sur : " prefix=" "/>
<group prefix="< " suffix=" >">
<text value="http://dx.doi.org/"/>
<text variable="DOI"/>
</group>
</if>
<else-if variable="URL">
<text value="Disponible sur : " prefix=" "/>
<group prefix="< " suffix=" >">
<text variable="URL"/>
</group>
</else-if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="(" suffix=")" delimiter=" ">
<text value="consulte le"/>
<date variable="accessed" suffix="">
<date-part name="year"/>
</date>
</group>
</if>
<else-if variable="DOI">
<group prefix="(" suffix=")" delimiter=" ">
<text value="consulte le" suffix=" "/>
<date variable="accessed" suffix="">
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</macro>
<macro name="journal-title">
<choose>
<if type="chapter paper-conference article-journal article-magazine article-newspaper webpage" match="any">
<group suffix=", ">
<text variable="container-title" form="short"/>
<choose>
<if variable="URL DOI" match="any">
<text value="en ligne" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</group>
</if>
<else>
<text variable="container-title" suffix=". " form="short"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture song" match="any">
<text variable="title"/></if><else><text variable="title" quotes="false"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="collection">
<choose>
<if variable="collection-number">
<text variable="collection-title" prefix="("/>
<text variable="collection-number" prefix=", " suffix=")"/>
</if>
<else>
<text variable="collection-title" prefix="(" suffix="). "/>
</else>
</choose>
</macro>
<macro name="locators">
<text variable="volume" prefix="" suffix="," font-weight="bold"/>
<text variable="issue" prefix=" (" suffix="),"/>
<text variable="page" prefix=" " suffix="."/>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix=" (" suffix=")" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="1" line-spacing="1" second-field-align="flush">
<layout>
<text variable="citation-number" prefix="(" suffix=")"/>
<text macro="author"/>
<text macro="title" suffix=". "/>
<choose>
<if type="thesis">
<text variable="genre" suffix=". "/>
<text variable="number-of-pages" suffix=" p."/>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition"/>
<text macro="publisher" prefix=""/>
<text variable="number-of-pages" suffix=" p."/>
<text macro="collection"/>
</else-if>
<else-if type="patent">
<text variable="number" suffix=", "/>
<date variable="issued">
<date-part name="year" suffix=","/>
</date>
</else-if>
<else-if type="chapter paper-conference webpage" match="any">
<group prefix=" ">
<text value="In" suffix=" : " text-case="capitalize-first"/>
<text macro="editor"/>
<text macro="journal-title"/>
<text variable="event" suffix=". " />
</group>
<text macro="publisher" prefix=""/>
<text variable="page" prefix=" p. " suffix="."/>
</else-if>
<else>
<text macro="journal-title"/>
<group suffix="">
<date variable="issued" suffix=", ">
<date-part name="year" suffix=""/>
</date>
</group>
<group suffix=" ">
<text macro="locators"/>
</group>
</else>
</choose>
<text macro="access"/>
<text macro="accessed-date" prefix=" "/>
<choose>
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<text variable="ISBN" prefix="ISBN : " suffix="."/>
</if>
</choose>
</layout>
</bibliography>
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
</style>
  • It's in the wrong spot, should be:
    <bibliography entry-spacing="1" line-spacing="1" second-field-align="flush">
    <sort>
    <key macro="author"/>
    <key variable="issued"/>
    </sort>
    <layout>

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.