#IEEE citation in text with authors not equal to style guide (et al.)

17 messages · Page 1 of 1 (latest)

hybrid wolf
#

I'm using the ieee citation style and I just noticed that if I cite with form: "prose" it will insert all authors unless the entry has more than seven authors, then it will write the first author + "et al.". I looked this up in the IEEE style guide and there it says "NOTE: Use “et al.” when three or more names are given for a reference cited in the text."

Why is the typst implementation different to the style guide? How is it implemented? How can I change it for me?

I already tried using a custom CSL but I just managed to change it for the bibliography but not for in-text citations.

Thanks in advance 🙂

finite path
#

Typst just uses the CSL zotero provides. We have noticed in the past that the style guide isn't actually consistent with real world applications and it's unclear what's the truth and what isnt

#

In the CSL file you can modify citations though. It should be the block above what you modified

hybrid wolf
#

I changed in following block the value "et-al-min" to 3 from 7 but the in-line text citation still works with the "7-author-rule".

<macro name="author">
    <names variable="author">
      <name and="text" et-al-min="3" et-al-use-first="1" initialize-with=". "/>
      <label form="short" prefix=", " text-case="capitalize-first"/>
      <et-al font-style="italic"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
      </substitute>
    </names>
  </macro>

Which "block above" do you mean?

finite path
#

oh I see, yea nvm the block above is <citation> but thats just responsible for the [1] part, my bad

#

does the change work in the generated bibliography if you use the function from typst?

#

hm that change works for me, even with an inline prose citation

#

did you properly save and use the correct file when calling bibliography with the style field

hybrid wolf
finite path
#

its >= 3 and the "less than seven" limitation isnt there but yea

#

got the ieee.csl from zotero and changed the same thing u did

#

how are you listing your authors in your bib file

#

be it bibtex or the yml format

hybrid wolf
#

bibtex

#

I think I found the problem

#

First I set "style: ..." in my bibliography function with my custom .csl file. But I did't mind having a set-rule for the cite function with style: "ieee" and that was the problem. Now I have my customized ieee.csl style in my set-rule for the cite function and the standard ieee style in my bibliography function. Now it works like I needed.

But thank you very much for your help!! 🙂