Sorting issues citation-label

edited April 4, 2020
Hi!

I have customized the DIN 1505-2 (alphanumeric, German) style in order to stick to the ruleset of my university.

I cannot figure out how to sort the bibliography by the alphabetical order of the citation label.

E.g.:
[AR19] Aldersey-Williams, John ; Rubert, Tim: Levelised cost of energy – A theoretical justification and critical assessment. In: Energy Policy, Nr. 124

[Am19] Amt der Kärntner Landesregierung: Förderung Photovoltaik Gemeinschaftsanlagen Kärnten 2019/2020. , https://portal.ktn.gv.at/Forms/Download/BW207, 2019, Stand: 02.02.2020.

[Am20] Amt der Niederösterreichischen Landesregierung: Strategie zum Ausbau der PV-Anlagen in NÖ präsentiert. , https://www.ots.at/presseaussendung/OTS_20200305_OTS0140/strategie-zum-ausbau-der-pv-anlagen-in-noe-praesentiert, 2020, Stand: 07.03.2020. — OTS.at


Should be
[Am19] Amt der Kärntner Landesregierung: Förderung Photovoltaik Gemeinschaftsanlagen Kärnten 2019/2020. , https://portal.ktn.gv.at/Forms/Download/BW207, 2019, Stand: 02.02.2020.

[Am20] Amt der Niederösterreichischen Landesregierung: Strategie zum Ausbau der PV-Anlagen in NÖ präsentiert. , https://www.ots.at/presseaussendung/OTS_20200305_OTS0140/strategie-zum-ausbau-der-pv-anlagen-in-noe-praesentiert, 2020, Stand: 07.03.2020. — OTS.at

[AR19] Aldersey-Williams, John ; Rubert, Tim: Levelised cost of energy – A theoretical justification and critical assessment. In: Energy Policy, Nr. 124

or
[Bu18a] Bundesverband Photovoltaic Austria ; Energie- und Umweltagentur Niederösterreich ; Klima- und Energiefonds ; SEFIPA ; Österreichische Gesellschaft für Umwelt und Technik: Modell 1 PV-Anlage als Infrastruktur „Gratisstrom“. , http://pv-gemeinschaft.at/wp-content/uploads/2018/05/Betreibermodell_Model-1_PV-Anlage-als-Infrastruktur-Gratisstrom.pdf, 2018, Stand: 01.02.2020.

[Bi19] Biermayr, Peter ; Fürnsinn, Bernhard ; Wonisch, Patrik ; Moidl, Stefan ; Weiß, Werner ; Eberl, Manuela ; Leonhartsberger, Kurt ; Fischer, Lukas ; Fechner, Hubert ; Wopienka, Elisabeth ; Strasser, Christoph ; Schmidl, Christoph ; Enigl, Monika ; Dißauer, Christa ; Bundesministerium für Verkehr, Innovation und Technologie (Hrsg.): Innovative Energietechnologien in Österreich. Marktentwicklung 2018, Berichte aus Energie- und Umweltforschung ( Nr. 20/2019). Wien, 2019.

[BGX14] Bogacka, Anna ; Grigoriou, Rafaila ; Xu, Steve: Assessing the Use and Value of Energy Monitors in Great Britain, S. 19, 2014.

[Bu18b] Bundesministerium für Nachhaltigkeit und Tourismus ; Bundesministerium für Verkehr, Innovation und Technologie: Die österreichische Energie- und Klimastrategie, 2018.

should be

[BGX14] Bogacka, Anna ; Grigoriou, Rafaila ; Xu, Steve: Assessing the Use and Value of Energy Monitors in Great Britain, S. 19, 2014.

[Bi19] Biermayr, Peter ; Fürnsinn, Bernhard ; Wonisch, Patrik ; Moidl, Stefan ; Weiß, Werner ; Eberl, Manuela ; Leonhartsberger, Kurt ; Fischer, Lukas ; Fechner, Hubert ; Wopienka, Elisabeth ; Strasser, Christoph ; Schmidl, Christoph ; Enigl, Monika ; Dißauer, Christa ; Bundesministerium für Verkehr, Innovation und Technologie (Hrsg.): Innovative Energietechnologien in Österreich. Marktentwicklung 2018, Berichte aus Energie- und Umweltforschung ( Nr. 20/2019). Wien, 2019.

[Bu18a] Bundesverband Photovoltaic Austria ; Energie- und Umweltagentur Niederösterreich ; Klima- und Energiefonds ; SEFIPA ; Österreichische Gesellschaft für Umwelt und Technik: Modell 1 PV-Anlage als Infrastruktur „Gratisstrom“. , http://pv-gemeinschaft.at/wp-content/uploads/2018/05/Betreibermodell_Model-1_PV-Anlage-als-Infrastruktur-Gratisstrom.pdf, 2018, Stand: 01.02.2020.

[Bu18b] Bundesministerium für Nachhaltigkeit und Tourismus ; Bundesministerium für Verkehr, Innovation und Technologie: Die österreichische Energie- und Klimastrategie, 2018.

From the csl-file
<bibliography et-al-min="99" et-al-use-first="98" second-field-align="flush">
<sort>
<key variable="citation-label" sort="ascending"/>
</sort>
<layout>
<text variable="citation-label" prefix="[" suffix="] "/>
<group delimiter=" ; " suffix=":">
<text macro="author"/>



Any ideas?

Regards,
Herbert



  • You need to put <code> and </code> around XML, otherwise it doesn't show here.
  • I've added code tags.
  • Thx for the help concerning the tags - any ideas on the issue?
  • I can't replicate that -- does this also happen with the original DIN1505 style?
  • yes - also occurs there. Seems like still Author's name is used for sorting (Saito is before Schleich, although citation label Sc13 should be before SM15).

    Here with the original DIN1505:
    [Sa19] SALZBURG AG FÜR ENERGIE, VERKEHR UND TELEKOMMUNIKATION: Solar.Top Energiemanagement (2019)
    [SM15] SAITO, N. ; MENGA, D.: Ecological Design of Smart Home Networks : Technologies, Social Impact and Sustainability. Cambridge, UNITED KINGDOM : Elsevier Science & Technology, 2015 — ISBN 978-1-78242-124-5
    [Sc13] SCHLEICH, JOACHIM ; KLOBASA, MARIAN ; GÖLZ, SEBASTIAN ; BRUNNER, MARC: Effects of feedback on residential electricity demand – Findings from a field trial in Austria (2013)
    [SM20] SMA SOLAR TECHNOLOGY AG: SMA Developer | SMA Solar. URL https://www.sma.de/produkte/sma-developer.html. - abgerufen am 2020-03-22
    [St17] STARLINGER, THOMAS: Die kl. Ökostromnovelle 2017 und ihre Bedeutung aus Sicht des Miet- und Wohnungseigentumsrechts. URL https://www.e-control.at/documents/1785851/1811582/03_Thomas-Starlinger_Mietrecht.pdf/aa975a13-413d-b2f8-862c-9206ba5f2a35?t=1508862181838. - abgerufen am 2020-02-07
    [ST13] STATISTIK AUSTRIA BUNDESANSTALT STATISTIK ÖSTERREICH: Gebäude 2011 nach überwiegender Gebäudeeigenschaft, Eigentümertyp und Bundesland. Wien, 2013
  • Also ST13 should be before St17
  • Hmm -- what version of Zotero, what operating system, how are you generating the bibliography?

    Here's an excerpt of what I'm seeing, which is clearly sorted by label, not by author:
    [BeCL08]
    Beagrie, Neil ; Chruszcz, Julia ; Lavoie, Brian: Keeping Research Data Safe: A Cost Model and Guidance for UK Universities, 2008
    [BeGr98]
    Beagrie, Neil ; Greenstein, Daniel: A Strategic Policy Framework for Creating and Preserving Digital Collections. URL http://www.ukoln.ac.uk/services/papers/bl/framework/framework.html. - abgerufen am 2016-09-14. — l
    [BeHo14]
    Beagrie, Neil ; Houghton, John: The Value and Impact of Data Sharing and Curation: A synthesis of three recent studies of UK research data centres, 2014
    [BeLN09]
    Bethune, Alec ; Lazorchak, Butch ; Nagy, Zsolt: GeoMAPP: A Geospatial Multistate Archive and Preservation Partnership. In: Journal of Map & Geography Libraries Bd. 6 (2009), Nr. 1, S. 45–56
    [BeLW10]
    Beagrie, Neil ; Lavoie, Brian ; Woollard, Matthew: Keeping Research Data Safe 2: Final Report, 2010
    [Berm08]
    Berman, Francine: Got data?: a guide to data preservation in the information age. In: Communications of the ACM Bd. 51 (2008), Nr. 12, S. 50–56
  • Zotero 5.0.85 on Win 10. Using Word Plugin

    I guess the difference is - I am using the custom field ("Extra" in German) and generate the citation labels there - e.g. citation-label: En20
  • @dstillman -- I'm seeing different behavior here when using the style editor (in Zotero) versus the bibliography in Word. The style editor does this correctly, including with custom labels in Extra. In a Word document I'm seeing the same issue as above -- although I'm guessing the sort order may be determined not by the actual author but by the automatically generated citation label.

    Any thoughts on what could be causing this? Is it possible that the bibliography is sorted before fields from Extra are included in Word?
  • @adamsmith thx for your help - guess you're right concerning the generated citation labels. Just tried changing the Date without changing my custom citation-label and the sorting was different.
  • Is it possible that the bibliography is sorted before fields from Extra are included in Word?
    (this is not generally the case at least, though; if I e.g. add an author to an author-less item via Extra it sorts correctly by that author)
  • Hi guys,
    any updates/ideas on this issue?
    Regards,
Sign In or Register to comment.