-
Notifications
You must be signed in to change notification settings - Fork 5
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
Duplicate keys in :alpha
betic style
#26
Comments
You are absolutely correct! I thought I could slide this one by for the moment 😉 The way I was planning to fix this was to have a slightly smarter I'd prioritize this a bit more if someone actually wanted to use the
Not at all! Keep them coming!
When it's merged and the documentation is online, feel free to make a PR here to add Manopt to the list of examples. |
I will use the alpha style “in the wild”! But no worries, for now I do not have such a collision and this is also really not urgent. Yes once I have finished the PR (maybe this week), I will add it to the list of examples, for sure. |
I am trying to convert Oscar.jl to the |
Alright, I'll give it some priority |
We change to https://juliadocs.org/DocumenterCitations.jl/v1.0.0/gallery/#Custom-style:-Citation-key-labels for the time being, as we can put working and distinct labels in the |
That’s definitely a workaround! It also has the benefit that you have the same labels in the docstrings as in the rendered documentation, when reading them in a text editor. I might be able to push out a smarter |
Should be fixed in #31. Have a look if this works as expected, if you can |
I unfortunately will be out of office the whole week, and without any device running julia. |
I'm okay with waiting a little bit… |
Thanks for working on that, due to conferences and travels, II will only have time around Wednesday to take a look, but if you are sure it works merge it without my feedback for sure. |
Take your time, this is really for you guys' benefit, so it makes more sense to wait until you've had a chance to look at it 😉 |
The preview in https://juliadocs.org/DocumenterCitations.jl/previews/PR31/gallery/#alphabetic_style looks great. Unfortunately, I cannot get it to work on my repo, but that may be due to my local setup. |
Consider my (little lazy) example
and a
temp.md
.Then the resulting page looks like
So the generated key clashes (considering them like hashes). They should at least be
[Cas59a]
, and[Cas59b]
I think?I might be mistaken, but I think the Keys would also respect the prefix of the name so that it would actually be
[dCa69]
– but maybe I remember that wrongly as well. The main part of this issue is the clash in keys, since this might also happen for other “Key collisions” I think (same author last names first letters in the same year for example).PS: I promise this is the last issue for now, I even managed to rework my references and have a PR at https://manoptjl.org/previews/PR281/ that is (besides checking that non canonical bibliographies exist on all pages with references) reworked and I think it is overall quite nice! I just stumbled about this issue here by accident, so it does not appear in my references.
The text was updated successfully, but these errors were encountered: