Making several minor changes to agu.csl to remove extra spaces that
were being added to references. I think these should work with most references, but I haven't checked with all possible reference types (for example books). Also added a sort key for the bibliography based on the publication year, but it is really hard to know if this is correct as sorting of bibliographies in OpenOffice with the plugin seems to have bugs. Also, added a sort by authors then year to the citation format. I believe this is correctly done and testing with the openoffice plugin suggests that it is having some effect, though it isn't working quite right (sometimes doesn't sort authors correctly - it seems to have problems with et al. citations).
This commit is contained in:
parent
5049726019
commit
b83dd8aa99
1 changed files with 14 additions and 9 deletions
23
csl/agu.csl
23
csl/agu.csl
|
@ -16,7 +16,7 @@
|
|||
</info>
|
||||
<macro name="editor">
|
||||
<names variable="editor" delimiter=", ">
|
||||
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
||||
<label form="verb" text-case="lowercase" suffix=" "/>
|
||||
<name and="text" initialize-with=". " delimiter=", " name-as-sort-order="all"/>
|
||||
</names>
|
||||
</macro>
|
||||
|
@ -145,6 +145,10 @@
|
|||
<option name="disambiguate-add-names" value="false"/>
|
||||
<option name="disambiguate-add-givenname" value="false"/>
|
||||
<option name="collapse" value="year"/>
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="year-date"/>
|
||||
</sort>
|
||||
<layout prefix="[" suffix="]" delimiter="; ">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=", ">
|
||||
|
@ -161,16 +165,17 @@
|
|||
<option name="et-al-use-first" value="1"/>
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="year-date"/>
|
||||
<key variable="title"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<group delimiter=" " suffix=", ">
|
||||
<group delimiter=" " suffix=",">
|
||||
<text macro="author" />
|
||||
<text macro="year-date" prefix="(" suffix=")"/>
|
||||
</group>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<group delimiter=", " suffix=".">
|
||||
<group delimiter=", " prefix=" " suffix=".">
|
||||
<text macro="title"/>
|
||||
<text macro="edition"/>
|
||||
<text macro="editor" />
|
||||
|
@ -179,17 +184,17 @@
|
|||
</group>
|
||||
</if>
|
||||
<else-if type="chapter">
|
||||
<group delimiter=", " suffix=".">
|
||||
<text macro="title" prefix=" "/>
|
||||
<group delimiter=", " prefix=" " suffix=".">
|
||||
<text macro="title"/>
|
||||
<text macro="container"/>
|
||||
<text macro="refpages"/>
|
||||
<text macro="publisher" prefix=" "/>
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<group suffix=",">
|
||||
<text macro="title" prefix=" " />
|
||||
<text macro="editor" prefix=" "/>
|
||||
<group delimiter=", " suffix="," prefix=" ">
|
||||
<text macro="title"/>
|
||||
<text macro="editor"/>
|
||||
</group>
|
||||
<group class="container" prefix=" " suffix=".">
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue