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

Assigning letters for same author and year #179

Open
1 task done
schokofee opened this issue Jun 9, 2024 · 5 comments
Open
1 task done

Assigning letters for same author and year #179

schokofee opened this issue Jun 9, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@schokofee
Copy link

Description

Since three days I'm trying to get to the root of this issue and get a basic idea, where / what is causing the problem, though I haven't been able to really pinpoint the problem.

With sources where the author and year is the same, an additional letter is added to the year. That works fine if there are only two occasions (groups) with two or more commbinations sharing the same author and year. It becomes more intresting when there are three or more groups, which share the same author and year; just like in my thesis.

The third group seems not to add the letter anymore. When I tried to recreate the issue in an empty project (the project is attached) I also recognised that the number of groups varry. In the attached example, if I'm only using the Cite_2.typ and Cite_3.typ file, then it will assign the letter to the first three groups, but not the fourth. If all three files are used it will only assign the letter to the first two groups.

Cite_2.typ and Cite_3.typ
grafik

Cite_1.typ, Cite_2.typ, and Cite_3.typ
grafik

I'm on typst version: typst 0.11.1 (50115102)

As I have to hand in my thesis at the end of the week I'm seeking any kind of support or workaround so that all letters show up in the bibliogrphy and the text references (including #cite(key, form: "prose", style:"harvard-cite-them-right"))

CiteSameAuthorYear.zip

Reproduction URL

No response

Operating system

Windows

Typst version

  • I am using the latest version of Typst
@schokofee schokofee added the bug Something isn't working label Jun 9, 2024
@laurmaedje laurmaedje transferred this issue from typst/typst Jun 9, 2024
@Enivex
Copy link

Enivex commented Jun 13, 2024

@schokofee I notice that you've hard-coded letters in the years of some of the entries, which isn't advisable. Could you remove those and check whether the issue persists?

@schokofee
Copy link
Author

@Enivex Thank you for the replay. As I tried many different ways to find my way around the problem I also tried to hard code the years, but without any luck.
In order to make sure I didn't miss anything I quickly double checked it and removed any letters from thos years in my bib, though the problem still exists.
Is it working on your side?

@Enivex
Copy link

Enivex commented Jun 15, 2024

Unfortunately not. The root cause seems to be something else.

@Enivex
Copy link

Enivex commented Jun 15, 2024

Unless you're forced to use this specific bibliography style, you could try another. Worst case scenario there's always the ones relying on numbers instead of author-year, which should work regardless.

Realistically speaking I doubt @reknih is able to fix this in time for when you have to hand in the thesis.

@schokofee
Copy link
Author

@Enivex Thanks for looking into it.
Yeah, I was also curriouse if it is related to the citation style so I tried it with different CSL files, as well as the default apa style. It seems that the issues is not tied to the citation style / csl file itself.

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

2 participants