Skip to content

Commit

Permalink
Update revista-ladinia.csl (#6058)
Browse files Browse the repository at this point in the history
* fix orphaned "in"
* use quotes="true"
* editors before book title
* no "in" for books
* delimiter between editor & translator
  • Loading branch information
schtailmuel committed May 16, 2022
1 parent 649aac4 commit 9e7a74b
Showing 1 changed file with 60 additions and 18 deletions.
78 changes: 60 additions & 18 deletions revista-ladinia.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="in-text" version="1.0">
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="expanded">
<info>
<title>Revista Ladinia</title>
<title-short>LADINIA</title-short>
Expand All @@ -18,11 +18,13 @@
<category citation-format="author-date"/>
<category field="linguistics"/>
<issn>1124-1004</issn>
<updated>2022-04-25T14:01:00+01:00</updated>
<updated>2022-05-11T09:51:15+01: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="it">
<terms>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="and others"/>
<term name="no date">s.a.</term>
<term name="no-place">s.l.</term>
Expand All @@ -35,6 +37,8 @@
</locale>
<locale xml:lang="de">
<terms>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="and others"/>
<term name="no date">s.a.</term>
<term name="no-place">s.l.</term>
Expand All @@ -47,6 +51,8 @@
</locale>
<locale xml:lang="en">
<terms>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="and others"/>
<term name="no date">s.a.</term>
<term name="no-place">s.l.</term>
Expand Down Expand Up @@ -85,6 +91,14 @@
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor translator" delimiter=", ">
<name name-as-sort-order="all" delimiter="/">
<name-part name="family" font-variant="small-caps"/>
</name>
<label prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
Expand All @@ -100,13 +114,51 @@
<macro name="publisher-place">
<choose>
<if variable="publisher-place">
<text variable="publisher-place" suffix=" "/>
<text variable="publisher-place"/>
</if>
<else-if type="book" match="any">
<text term="no-place" suffix=" "/>
<text term="no-place"/>
</else-if>
</choose>
</macro>
<macro name="place-year">
<group delimiter=" ">
<text macro="publisher-place"/>
<text macro="issued-year"/>
</group>
</macro>
<macro name="container">
<choose>
<if type="book">
<group delimiter=", ">
<text macro="editor"/>
<text variable="container-title"/>
</group>
</if>
<else>
<group delimiter=": ">
<text term="in"/>
<group delimiter=", ">
<text macro="editor"/>
<choose>
<if type="chapter">
<text variable="container-title"/>
</if>
<else>
<text variable="container-title" quotes="true"/>
</else>
</choose>
</group>
</group>
</else>
</choose>
</macro>
<macro name="volume">
<text variable="volume"/>
</macro>
<macro name="page">
<text variable="page"/>
</macro>
<citation et-al-min="4" et-al-use-first="1" initialize-with="." disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key macro="author"/>
Expand All @@ -129,20 +181,10 @@
<text macro="author-bibliography" suffix=": "/>
<group delimiter=", ">
<text variable="title" font-style="italic"/>
<group delimiter=": ">
<text term="in"/>
<text variable="container-title"/>
</group>
<group delimiter=" ">
<text term="volume" form="short"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
<group>
<text macro="publisher-place"/>
<text macro="issued-year"/>
</group>
<text variable="page"/>
<text macro="container"/>
<text macro="volume"/>
<text macro="place-year"/>
<text macro="page"/>
</group>
</layout>
</bibliography>
Expand Down

0 comments on commit 9e7a74b

Please sign in to comment.