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

Support for custom citation and bibliography styles #22

Open
simonbyrne opened this issue Oct 23, 2020 · 6 comments
Open

Support for custom citation and bibliography styles #22

simonbyrne opened this issue Oct 23, 2020 · 6 comments

Comments

@simonbyrne
Copy link
Collaborator

Would be useful to be able to customize how the citation and bibliographies are printed.

@ali-ramadhan
Copy link
Owner

ali-ramadhan commented Oct 23, 2020

I guess we can implement a few styles (ones we want to use) from

https://www.overleaf.com/learn/latex/Bibtex_bibliography_styles
https://www.overleaf.com/learn/latex/Natbib_bibliography_styles
https://www.overleaf.com/learn/latex/Biblatex_bibliography_styles

and if someone wants a specific (official?) style they can open a PR with an implementation?

We can also add a section in the docs showing how to define custom styles.

@kellertuer
Copy link

Maybe it would be easiest to support CSL for styles?

https://github.com/citation-style-language/styles

@Azzaare
Copy link

Azzaare commented Jun 5, 2021

Import/export from/to CSL in Bibliography.jl is in the todo list of this summer. I will be back to you once it is done!

@fingolfin
Copy link
Contributor

We'd also love to be able to print additional data. E.g. Math papers often have MathSciNet and Zentralblatt reviews, which we'd like to link to; or show the DOI; etc.

@goerz
Copy link

goerz commented Jul 13, 2023

The newly released DocumenterCitations.jl v1.0 provides a larger range of citation styles, including a new default numeric style.

The updated version also allows defining completely custom styles, as described in the documentation; although the methods for this are considered internal, and thus not part of the stable API.

Support for general CSL styles seems like it could be an attractive feature and is being tracked in JuliaDocs/DocumenterCitations.jl#13

@kellertuer
Copy link

kellertuer commented Jul 13, 2023

Thanks for the follow up :) I am eager to try this out, since I have been through a few different ways of citations by now in my docs and would love to find one that fits even better than the current ones.

edit: It even covers my favourite way of having a references section per documentation page (yay!) – I will definetly try this out!

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

No branches or pull requests

6 participants