Skip to content

Commit 3b331b6

Browse files
authored
fixed bug with "near-note" position univ.-bordeaux-ecole-doctorale-de… (JabRef#4719)
"near-note" position would create a bug for items without author or editor and display an error message. This has been fixed by creating specific instructions for those items in "near-note" position.
1 parent b2c0c1e commit 3b331b6

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

universite-de-bordeaux-ecole-doctorale-de-droit.csl

+25-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr-FR" version="1.0" page-range-format="expanded" demote-non-dropping-particle="never">
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="expanded" demote-non-dropping-particle="never" default-locale="fr-FR">
33
<info>
44
<title>Université de Bordeaux - École doctorale de droit (French)</title>
55
<id>http://www.zotero.org/styles/universite-de-bordeaux-ecole-doctorale-de-droit</id>
@@ -16,7 +16,7 @@
1616
</author>
1717
<category citation-format="note"/>
1818
<category field="law"/>
19-
<updated>2019-04-03T15:47:26+00:00</updated>
19+
<updated>2019-11-07T04:39:48+00:00</updated>
2020
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2121
</info>
2222
<locale xml:lang="fr">
@@ -660,11 +660,29 @@
660660
<text term="ibid" text-case="capitalize-first" font-style="italic"/>
661661
</else-if>
662662
<else-if position="near-note" match="any">
663-
<group delimiter=", ">
664-
<text macro="author"/>
665-
<text term="cited" font-style="italic"/>
666-
<text macro="locator"/>
667-
</group>
663+
<choose>
664+
<if variable="author editor" match="none">
665+
<group delimiter=", ">
666+
<text macro="authority"/>
667+
<text macro="case-patent-ref"/>
668+
<text macro="author"/>
669+
<text macro="title-short"/>
670+
<text macro="container-title-short"/>
671+
<text macro="thesis-genre"/>
672+
<text macro="publisher"/>
673+
<text macro="issued-short"/>
674+
<text macro="locator"/>
675+
<text macro="access-date"/>
676+
</group>
677+
</if>
678+
<else>
679+
<group delimiter=", ">
680+
<text macro="author"/>
681+
<text term="cited" font-style="italic"/>
682+
<text macro="locator"/>
683+
</group>
684+
</else>
685+
</choose>
668686
</else-if>
669687
<else>
670688
<group delimiter=", ">

0 commit comments

Comments
 (0)