Author, year citations
See original GitHub issueCurrently, jupyter-book
uses sphinxcontrib-bibtex
for creating citation keys in text using the cite
directive.
However, for academic citations (at least for my field) the convention is to use an author, year citation key.
There’s an issue open about this on sphinxcontrib-bibtex
: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/201
I think it comes down to just creating a custom citation class using pybtex
.
I think this is something in my wheelhouse to do a PR for if it’s something you all think has value.
Would this be a matter of just adding it to some jupyter-book
conf.py
? And then registering it somehow?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:34 (8 by maintainers)
Top Results From Across the Web
Author–date citation system - APA Style
Include the author(s) and year for every parenthetical in-text citation. · Do not repeat the year for narrative in-text citations the second and...
Read more >Author-Year System: In-Text Citation | Style for Students Online
Your basic job when using this system is to indicate right in the text—in parentheses—the author(s) and year of publication of the reference...
Read more >In-Text Citations - Author / Date - UC Referencing Guide
If citing two or more books with different authors which shorten to the same author and year, then add extra authors until they...
Read more >When to Include the Year - Citations - Academic Guides
When to Include the Year. In APA, writers include the date with any parenthetical reference to a source. Additionally, they should include the...
Read more >In-Text Citations: Author/Authors - Purdue OWL
If you have two sources by the same author in the same year, use lower-case letters (a, b, c) with the year to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi everyone, I am trying to homogenize the citation/bibliography style for this project(https://github.com/OceanGlidersCommunity/Oxygen_SOP/issues/88). Ideally we would like the Bibliography to show the same format as the citations (example here).
Example of text citation:
Correponding Bibliography entry:
I guess what I am most unclear about is how I could implement this custom sphinxcontrib-bibtex code in the
_config.yml
syntax if that is even possible.If this is not possible, could we export and modify the
conf.py
file and then use that in the book build? Sorry if these are pretty basic questions, I only have a little experience with jupyter book so far.If someone here has some concrete tips on how to implement this, I would very much appreciate it. I think this is broadly relevant for many folks in e.g. the earth science community. If there is a solution, I’d be happy to work on adding that to the docs if needed.
Thanks!
Some really cool news from
sphinxcontrib-bibtex
:https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/203