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

More consistent formatting of articles and other types #73

Closed
lgoettgens opened this issue Sep 17, 2024 · 1 comment · Fixed by #74
Closed

More consistent formatting of articles and other types #73

lgoettgens opened this issue Sep 17, 2024 · 1 comment · Fixed by #74

Comments

@lgoettgens
Copy link
Contributor

Originally reported in oscar-system/Oscar.jl#3760.

We would like to streamline how our bibliography (ref https://docs.oscar-system.org/dev/references/) looks like, in particular, we would like to have the href for all bib entry types on the title. This works for everything so far, apart from the article type.
We mostly contain DOIs and no URLs (there is no entry that has both), so it would be great to have the first available link on the title, as is already done in

append!(urls, get_urls(entry; skip=0))
for all other bib entry types.
This would make the aesthetics of the references page a lot more coherent.

@goerz
Copy link
Member

goerz commented Sep 17, 2024

The current formatting is definitely by design. I'm generally guided by RevTeX with the formatting, which links the article DOI via the "published in" information. The ability to link both a URL and a DOI is also a design goal. This leaves only the title as a second link location for articles. Conversely, non-articles don't necessarily have sufficient "published in" information to serve as link text, so there, the title becomes the primary link location.

Of, course, all of this is partly a matter of taste, but I'm not very inclined to change this. I'm absolutely open to adding options, or changing the code in some way, to make it easier to modify the behavior with a custom style. In general, I suspect such a custom style might have problems with linking both a URL and a DOI. If a particular project like Oscar.jl is careful only to have on or the other, consistently linking only from the title seems sensible.

@goerz goerz closed this as completed in #74 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants