While most blog posts are not going into deep scientifical exploration, this one being no exception, they could nevertheless benefit from more advanced citation functionality. As some journals offer improved functionality or interactive articles along the lines of Jupyter notebooksAs an example, eLife is experimenting with Executable Research Articles., HTML publishing is becoming more common.
One of the most elaborate examples is the Distill Research journal, a journal dedicated to publishing academic articles in HTML. They have created a framework for this purpose, including a treatment of citations.
Let’s look at how we could have citations in HTML, with the help of static site generators. Options are:
- Use the
<cite>tag, for example—A Work Most Relevant.
- Use footnotes, which are implemented for most static blogging software.A Work Most Relevant.
- Write a citation as and author-year pair, for example (Last Names et al, 2021). This could be linked to either a bibliography at the end or to the work itself, should it be available online.
The last two approaches differ little in functionality, in essence only the key differs, the footnotes use a numeral whereas the author-year approach uses those two values for its key
Unfortunately, HTML doesn’t offer functionality for creating citations that go over the availability of a
<cite> tag. As such, citations have to be implemented by hand, more or less. This resembles the approach that was taken by bibtex and by extension biblatex, as there are no semantic citation structures available in any of the output formats, such as PDF. So would it be sensible to more or less reimplement the existing approaches that have been thought of by the creators of bibtex?