How to sort bibliography by citation-label?
Hello,
I love using zotero, but formatting my bibliography is where I am stuck at right now. I am currently finalizing my thesis and need to have my references in a (stupid) format: First three letters of first authors last name + last two numbers of published year + [a,b,c...] for mutliple entries, in brackets. So far, it works by manually adding "citation-label: SCH21a" to the references "extra" section.
Now to my problem: I would like to sort my bibliography in word by these labels to no success. So if "Schuh 2021 -> [SCH21] and "Schmidt 22 -> [SCH22]" exist, the bibliography should show "[SCH21]" and then "[SCH22]", which does not work, instead it seems to sort by authors last name by default.
I tried making my own citation style, the bibliography section looks like this:
https://s3.amazonaws.com/zotero.org/images/forums/u6577051/6o6u7ga2ldk9mo16s2mz.png
Still doesn't work :( Does anyone know if what I want is possible? If yes, how?
I love using zotero, but formatting my bibliography is where I am stuck at right now. I am currently finalizing my thesis and need to have my references in a (stupid) format: First three letters of first authors last name + last two numbers of published year + [a,b,c...] for mutliple entries, in brackets. So far, it works by manually adding "citation-label: SCH21a" to the references "extra" section.
Now to my problem: I would like to sort my bibliography in word by these labels to no success. So if "Schuh 2021 -> [SCH21] and "Schmidt 22 -> [SCH22]" exist, the bibliography should show "[SCH21]" and then "[SCH22]", which does not work, instead it seems to sort by authors last name by default.
I tried making my own citation style, the bibliography section looks like this:
https://s3.amazonaws.com/zotero.org/images/forums/u6577051/6o6u7ga2ldk9mo16s2mz.png
Still doesn't work :( Does anyone know if what I want is possible? If yes, how?
I don't know much about CSL myself, but based on your description I suppose you need to create some kind of variable that combines the first 3 letters of the author name and the last 2 digits of the year, and then refer to that new variable - which sounds possible to me. I guess the original style has no such variable before sorting, and computes the citation label only in the final stages of the formatting process (after sorting on author first and year second). Other forum participants in this forum will probably have more expertise in this area, sorry if I can't give you a direct answer.
However, potentially it doesn't do it correctly for manually defined ones or ones with a letter at the end.
"The literature references consist of a name and year abbreviation: 3 letters (name abbreviation), 2 digits (year), and a, b, c, ... if multiple publications by the referenced person were made in the same year."
@damnation: Thx for the info, since I need manually defined labels I seem to be out of luck...
But it's still not working. Still it's sorting by Author Names an titles, if the name doubles, but not by citation-label. Seems like it's a Bug in Zotero and a very small niche case.
I hope that someone has a solution, or maybe an idea where the bug comes from.
You can see it best in this screenshot:
https://s3.amazonaws.com/zotero.org/images/forums/u14140562/z0037n5y9ptebrfpqf2p.png
For reproducing purposes, this is my booklist (raw CSL JSON): https://pastebin.com/raw/Vy6V2mep
I also found an old thread in the forum, but the problem wasn't solved there either:
https://forums.zotero.org/discussion/82288/sorting-issues-citation-label
https://s3.amazonaws.com/zotero.org/images/forums/u452233/a6gzgs672bst5cm4qe2a.png