Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Et-al handling in ieee citation style #164

Open
1 task done
drupol opened this issue Mar 29, 2024 · 2 comments
Open
1 task done

Et-al handling in ieee citation style #164

drupol opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@drupol
Copy link
Sponsor

drupol commented Mar 29, 2024

Description

Hello,

In the reference guide of the ieee citation style, I noticed the following in page 4:

NOTE: Use “et al.” when three or more names are given for a reference cited in the text.

The et al. replacement doesn't work in Typst. To illustrate that, I've created a simple page listing all the citation styles at : https://typst.app/project/pQH6zuFPPL_G4NlIOLx9K-

We can notice that in the IEEE style where there's more than 3 authors, the et al. is not displayed. Here's a screenshot:

image

Reproduction URL

https://typst.app/project/pQH6zuFPPL_G4NlIOLx9K-

Operating system

Linux

Typst version

  • I am using the latest version of Typst
@drupol drupol added the bug Something isn't working label Mar 29, 2024
@Enivex
Copy link

Enivex commented Mar 29, 2024

I suspect this may be the same issue as typst/typst#3699

Edit: It may also be that the official CSL style hasn't been updated to reflect changes to the IEEE guidelines

@laurmaedje laurmaedje changed the title IEEE citation style Et-al handling in ieee citation style Apr 1, 2024
@JKRhb
Copy link

JKRhb commented Apr 5, 2024

While I was editing a CSL file, I had the impression that this might be caused by the fact that the author format uses the style defined in the bibliography element and not the one in the citation element.

So, if you have

  <bibliography et-al-min="4" et-al-use-first="1">
    ...
  </bibligraphy>

“et al.” is set for cited entries with more than three authors, but

  <citation et-al-min="4" et-al-use-first="1">
    ...
  </citation>

is ignored. Therefore, this could actually be a relatively simple fix.

@laurmaedje laurmaedje transferred this issue from typst/typst May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants