Bibliography orders on last name and year, how to include order by first name?
I noticed a quirk in my bibliography: if two different authors share the same last name, their works are mixed together and ordered according to the year of publication. How can I change the csl-style so that the works of each author are summed up separately? In other words, how can I order them by 1) last name; 2) first name(s); 3) year of publication?
Should I alter the name macro? This section looks like this at the present:
I've looked at the CSL specification and at this forum, but haven't found an answer yet. Any help is much appreciated!
Should I alter the name macro? This section looks like this at the present:
</macro>
<macro name="sortnames">
<names variable="author">
<name form="short" name-as-sort-order="all" demote-non-dropping-particle="display-and-sort"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
I've looked at the CSL specification and at this forum, but haven't found an answer yet. Any help is much appreciated!
PPS Here is an example from my bibliography:
Sanders, E. P. 1977. Paul and Palestinian Judaism: A Comparison of Patterns of Religion. Minneapolis: Augsburg Fortress.
Sanders, Boykin. 1981. ‘Imitating Paul: 1 Cor 4:16.’ The Harvard Theological Review 74: 353–363.
Sanders, E. P. 1983. Paul, the Law, and the Jewish People. London: SCM.
Sanders, E. P. 2009. ‘Paul between Judaism and Hellenism.’ In St. Paul among the Philosophers, edited by John D. Caputo and Linda Martín Alcoff. Indiana University Press, 74–90.
I would like Boykin Sanders' article to appear first, and then the works of E.P. Sanders.
(To share code snippets here, use <code></code> tags, but for anything >~20 lines, please use external code sharing sites.)
name form="long"
and that did the trick! So this question is hereby solved.
@adamsmith, I used the style from 'Religion in the Roman Empire' (by Carl Johan Berglund) as a basis, but tweaked that to suit my own needs.
Now the code of that section looks like this:
<macro name="sortnames">
<names variable="author">
<name form="long" name-as-sort-order="all" demote-non-dropping-particle="display-and-sort"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>