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

Add postfix to both conficting citation keys #3043

Closed
rytverhagen opened this issue Oct 30, 2024 · 3 comments
Closed

Add postfix to both conficting citation keys #3043

rytverhagen opened this issue Oct 30, 2024 · 3 comments
Labels

Comments

@rytverhagen
Copy link

Debug log ID

CTEETQF2-refs-euc/6.7.248-7

What happened?

When two citation keys conflict (e.g., "Birch 2022"), BB renames keeps one "Birch 2022" and renames the other "Birch 2022a". I am trying to get it to rename both into "Birch 2022a" and "Birch 2022b". I use the following citation key formula "" [auth:lower][year][=].

@retorquere
Copy link
Owner

[auth:lower][year][=] is in the legacy format, and it isn't a valid formula yet, because [=] needs a number, but eg [auth:lower][year][=0] would automatically be translated to the new format (displayed under the current formula while you're editing):

auth.lower + shorttitle(3,3) + year

to get what you want you would add a postfix term:

auth.lower + shorttitle(3,3) + year + postfix(start=1)

but note that this will always postfix a letter, not just when disambiguation is needed.

@rytverhagen
Copy link
Author

rytverhagen commented Oct 30, 2024 via email

@retorquere
Copy link
Owner

That is indeed currently the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants