Can someone help me with a little change in this citation Style?

edited March 18, 2023
Instead of many named Authors in the Text, I need that there is written "the first author and et al." and then the Year.
And I don't know how to change it in the Code.

Thanks for your help!
Best regards
Simon



<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl"; class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="de-DE">
<info>
<title>Technische Universität Dresden - Linguistik (Deutsch)</title>
<title-short>TUD Linguistik (Deutsch)</title-short>
<id>http://www.zotero.org/styles/technische-universitat-dresden-linguistik</id>;
<link href="http://www.zotero.org/styles/technische-universitat-dresden-linguistik"; rel="self"/>
<link href="http://www.zotero.org/styles/deutsche-sprache"; rel="template"/>
<link href="https://tu-dresden.de/gsw/slk/germanistik/al/ressourcen/dateien/studium/200424_Stylesheet_ALI.pdf"; rel="documentation"/>
<author>
<name>Simon Meier-Vieracker</name>
<uri>https://tu-dresden.de/gsw/slk/germanistik/al</uri>;
<email>simon.meier-vieracker@tu-dresden.de</email>
</author>
<category citation-format="author-date"/>
<category field="linguistics"/>
<category field="literature"/>
<summary>Zitierstil entsprechend den Vorgaben der linguistischen Professuren am Institut für Germanistik der Technischen Universität Dresden. Der Stil orientiert sich an den Richtlinien von 'Deutsche Sprache: Zeitschrift für Theorie Praxis Dokumentation', hg. vom IDS Mannheim</summary>
<updated>2022-06-26T00:42:44+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="de">
<terms>
<term name="et-al">et al.</term>
<term name="editor" form="short">Hg.</term>
<term name="online">Online unter</term>
</terms>
</locale>
<macro name="creator-year-long">
<choose>
<if match="none" variable="author editor">
<text value="o. A." suffix=" "/>
</if>
</choose>
<group delimiter=" ">
<names variable="author">
<name delimiter="/" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</macro>
<macro name="editor-container-title">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<group delimiter=": " suffix=".">
<names variable="editor">
<name delimiter="/" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
<text macro="container-title"/>
</group>
</group>
</macro>
<macro name="publication-place-publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher" quotes="false" font-variant="normal" font-weight="normal" vertical-align="baseline"/>
</group>
</macro>
<macro name="creator-year-short">
<group delimiter=" ">
<text macro="creator-short"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</macro>
<macro name="edition">
<choose>
<if match="any" is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="collection-title-number">
<group delimiter=" " prefix=" (= " suffix=")">
<text variable="collection-title"/>
<text variable="collection-number"/>
</group>
</macro>
<macro name="page-range">
<group delimiter=" " suffix=".">
<text term="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="online-url">
<group delimiter=" ">
<text variable="URL"/>
<date form="numeric" variable="accessed" prefix="(letzter Zugriff " suffix=")"/>
</group>
</macro>
<macro name="container-title-volume">
<group delimiter=" " suffix=",">
<text variable="container-title"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</macro>
<macro name="creator-short">
<names variable="author">
<name form="short" delimiter="/"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="doi">
<text variable="DOI" prefix="https://doi.org/"/>;
</macro>
<macro name="title">
<choose>
<if type="book" match="any">
<text variable="title"/>
<text macro="collection-title-number" prefix=" "/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="chapter" match="any">
<text variable="container-title"/>
<text macro="collection-title-number"/>
</if>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=", ">
<text macro="creator-year-short"/>
<group delimiter=" ">
<text term="page" form="symbol"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography et-al-min="9" et-al-use-first="1" entry-spacing="0" hanging-indent="true">
<sort>
<key macro="creator-short"/>
<key macro="creator-year-short"/>
</sort>
<layout>
<group delimiter=". " suffix=".">
<group delimiter=" ">
<text macro="creator-year-long" suffix=":"/>
<text macro="title"/>
</group>
<choose>
<if type="book" match="any">
<group delimiter=". ">
<text macro="edition"/>
<text macro="publication-place-publisher"/>
</group>
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=" ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="container-title-volume"/>
</group>
<text macro="page-range"/>
<text macro="doi" strip-periods="false"/>
</group>
</else-if>
<else-if type="chapter" match="any">
<group delimiter=". ">
<text macro="editor-container-title"/>
<text macro="edition"/>
<text macro="publication-place-publisher"/>
<text macro="page-range"/>
<text macro="doi"/>
</group>
</else-if>
<else-if type="dataset" match="any"/>
<else>
<group delimiter=". ">
<choose>
<if match="any" variable="container-title">
<text macro="editor-container-title"/>
</if>
</choose>
<text macro="publication-place-publisher"/>
<text macro="page-range"/>
<text macro="collection-title-number"/>
<text macro="online-url"/>
</group>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>

  • edited March 18, 2023
    On line 138 it is set so that you will only have first author et al if there are four or more authors.

    <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">

    If you change it to et-al-min="2" then anything with two or more authors will be displayed as fisrt author et al in the text.

    Similarly, line 149 controls the behaviour in the bibliography which for you is 9 authors or more
  • Hello longtermrenter,

    I want to thank you for your help and for solving my problem!
    Best regards and good evening!

    Simon
  • It worked then?
  • Yes, that worked very well. Thank you!

    Can you maybe help me with another thing? My University want a comma before the Year for example (Name, Year) ; (Name et al., Year)

    Best regards!

    Simon
  • Your creator-year-short macro currently has a delimiter on the group level set to a space. That's what you need to change.
  • edited March 19, 2023
    Thank you for your help. I got it!

    Best regards
    Simon
Sign In or Register to comment.