Skip to content

Commit

Permalink
fixed bug with "near-note" position univ.-bordeaux-ecole-doctorale-de… (
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fflamerie authored Apr 23, 2020
1 parent b2c0c1e commit 3b331b6
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions universite-de-bordeaux-ecole-doctorale-de-droit.csl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<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">
<info>
<title>Université de Bordeaux - École doctorale de droit (French)</title>
<id>http://www.zotero.org/styles/universite-de-bordeaux-ecole-doctorale-de-droit</id>
Expand All @@ -16,7 +16,7 @@
</author>
<category citation-format="note"/>
<category field="law"/>
<updated>2019-04-03T15:47:26+00:00</updated>
<updated>2019-11-07T04:39:48+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 @@ -660,11 +660,29 @@
<text term="ibid" text-case="capitalize-first" font-style="italic"/>
</else-if>
<else-if position="near-note" match="any">
<group delimiter=", ">
<text macro="author"/>
<text term="cited" font-style="italic"/>
<text macro="locator"/>
</group>
<choose>
<if variable="author editor" match="none">
<group delimiter=", ">
<text macro="authority"/>
<text macro="case-patent-ref"/>
<text macro="author"/>
<text macro="title-short"/>
<text macro="container-title-short"/>
<text macro="thesis-genre"/>
<text macro="publisher"/>
<text macro="issued-short"/>
<text macro="locator"/>
<text macro="access-date"/>
</group>
</if>
<else>
<group delimiter=", ">
<text macro="author"/>
<text term="cited" font-style="italic"/>
<text macro="locator"/>
</group>
</else>
</choose>
</else-if>
<else>
<group delimiter=", ">
Expand Down

0 comments on commit 3b331b6

Please sign in to comment.