First editor disappearing in bibliography (custom style)

I am having a problem designing a style for a German book series.

In the bibliography the format for books without authors should be:

Xxx 2019 • Title. Subtitle, hg. von Thomas Xxx und Daniel Yyy, Schliengen: Argus 2019.

However, I can only get:

Xxx 2019 • Title. Subtitle, hg. von Daniel Yyy, Schliengen: Argus 2019.

with the first editor missing. I don't understand why, I have tried every option in the Names-Name parts.

I am using the visual editor.
  • How is the Mares chapter formatted with your style?
  • Mares 2001 • Isabela Mares: Firms and the welfare state: When, why, and how does social policy matter to employers?, in: Varieties of capitalism. The institutional foundations of comparative advantage, hg. von Peter A. Hall und David Soskice, New York: Oxford University Press 2001, S. 184–213
  • OK, so general citations come out right, the problem is specifically without titles. Could you copy the style code (from the "Code editor") and post it to a code sharing page like pastebin.com or gist.github.com or so?
  • @adamsmith: you mean without authors, right? There are titles. The problem is that the first editor, which is used to create the footnote reference, is not given in the bibliography entry and I don't know why.
  • Yes, I meant without author, sorry. I haven't tested this in the visual editor (it's conceivable there's a bug there) but I'm not seeing this in the style editor in Zotero 7 -- if I remove Mares from the sample reference, I get


    Hall u. a. 2001 • Firms and the welfare state: When, why, and how does social policy matter to employers?, in: Varieties of capitalism. The institutional foundations of comparative advantage, hg. von Peter A. Hall und David Soskice, New York: Oxford University Press 2001, S. 184–213.

    which I believe is correct.
  • You are right, this seems to be a bug in the online editor (both visual and code), it displays correctly when the style is loaded into Zotero.

    Thanks for the tip!
  • Of course, now it has stopped working. I am probably doing it wrong.

    What do I have to enter in the Names property to get it to only display the first name (author or editor) without "et al"?

    I am in the Visual editor, so the options are nothing or a number in the fields
    et-al-min
    et-al-use-first
    et-al-subsequent-min
    et-al-subsequent-use-first

    All instances should display only the first author name if present, or the first editor name if no author.
  • edited August 15, 2024
    et-al-min="2" et-al-use-first="1"

    You can set this on citation, bibliography or on name elements or generically on "style" in the 2nd line.
    See: https://docs.citationstyles.org/en/stable/specification.html#name
  • But that includes et al, doesn't it? To remove et al, is there an alternative to setting an empty et al term?
  • It only works here if I define an empty et al term. Which is better than nothing but not ideal, I guess.
  • Further comment:
    In the visual editor, when the term et al is _not_ defined empty, this can be solved.

    et-al-min="2" et-al-use-first="1"

    gives et al, while

    et-al-min="1" et-al-use-first="1"

    does not.

    However, when this style is used in Zotero it will produce an et al in both cases, it seems.
  • I'm guessing that's newer citation processor behavior. The 1-1 behavior I have seen mentioned before, but it's off spec and may have had negative side effects.
  • Note that if you do need both an empty and an actual et al in the same style, you can define and empty "and others" term and use that.
Sign In or Register to comment.