-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Organisations in the bibliography not in alphabetical order #11725
Comments
@subhramit This is jstyle but as you are deeper in the topic now can you take a look please? |
Yeah sure |
As it looks at first sight, the order is overridden because of the curly braces {}. JabRef already stores them in BibTeX format, which has braces around them, so when explicitly added, it becomes {{organization name}}. Instead of "o", the first character to participate in the comparator is then "{". Solution - we will have to ignore extra braces, if explicitly present. I'll take a look at this. Temporary workaround - do not use extra braces. |
We have a RemoveEnclosingBracesFormatter that can be used |
Two thoughts:
|
Remember that the braces may be needed to protect the formatting of organisation names, even if the name is only one word. |
Have you tried using no-break spaces in the organisation names? Also, note that (without no-break spaces) capitalisation matters, at least in citation keys. |
Yes, it has no effect. When I use |
This issue could be related: #7805 |
JabRef version
5.15 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Fedora 40
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
The bibliography is broken now and not in alphabetical order. Using {}-brackets for organisations was suggested here: https://discourse.jabref.org/t/how-to-enter-corporation-name-in-author-field/2080
Appendix
The text was updated successfully, but these errors were encountered: