Harvard multi citations: change alphabetical to chronological HELP!
Hi
Using all the Harvard styles I have, when I input multiple citations, it orders them in the order they were selected initially (using 'multiple sources'). How do I change the code of the style to show multiple citations chronologically? Can this be done?
C
Using all the Harvard styles I have, when I input multiple citations, it orders them in the order they were selected initially (using 'multiple sources'). How do I change the code of the style to show multiple citations chronologically? Can this be done?
C
http://www.zotero.org/support/csl_simple_edits
then, add
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
</sort>
between
<option name="disambiguate-add-givenname" value="true"/>
and
<layout prefix="(" suffix=")" delimiter="; ">
in the citation section of the style (this for Harvard 1 - more generally speaking, insert it immediately before the <layout... line in the citation section of the style.
For old citations, I believe you will have to open them and maybe check or uncheck the little keep sources sorted box in the plugin for this to take effect. It will work automatically for new citations.
Thanks for your quick response.
I had already gone through the guide and tried using the test pane previously with no luck, and have pasted the code you suggested but it doesn't seem to change the 'multi citations' section in the test pane. The citation section looks like this: is this correct?
<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<option name="disambiguate-add-givenname" value="true"/>
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<label variable="locator" suffix="." form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
Are the items from the test panel not in chronological order?
I've tried pasting that whole citation section into the different harvard styles and no joy.
By 'test panel' do you mean the zotero test page in Firefox? If so, yep, it's listing multiple citations alphabetically. Bibliography is appearing fine....
When I try that citation block in another style, it does the same thing ie nothing; could something be missing/telling it to order alphabetically?
I'm flummoxed!
C
http://www.zotero.org/support/kb/harvard_style -
you could check with the style guide provided in the style - I think Harvard 1 roughly follows Anglia
I could not follow: "For old citations, I believe you will have to open them and maybe check or uncheck the little keep sources sorted box in the plugin for this to take effect. It will work automatically for new citations." for I do not know where to find the check box.
APA is one example (sorts alphabetically then by date).
http://www.zotero.org/support/dev/citation_styles
http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
you need to save the style using a text editor like notepad - detailed instructions are in the link.
It would be awesome if at some point this feature were integrated into Zotero's UI, such that you could simply have an option, under Preferences, for how you want your "within-brackets" citations sorted.
Cheers :)
The way to go is really to use working and well specified citation styles. There are various Harvard styles that do sort on the repository, so people have a choice.
I find myself faced with the same problem, and having found this thread with your advice from 2 years ago, I searched the repository for a Harvard style that sorts alphabetically. However, searching using the word "sort" only brings out 7 styles, none of which is Harvard.
Also, what appears when you hover the mouse above each style is a sample of Bibliography/References, whereas the sorting that I would like the style to do refers to the sorting of the different sources that are all mentioned as part of a single in-text citation.
So what should I do to have a Harvard style that sorts either alphabetically or chronologically? THanks in advance for your help!
If you just want any Harvard style sorting in-text citations, Elsevier Harvard and American Psychological Association - both shipped with Zotero - sort in text citations alphabetical.