uwdata / living-papers

Authoring tools for scholarly communication. Create interactive web pages or formal research papers from markdown source.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support (Author, date) citation formats

chkgk opened this issue · comments

Dear team,

This is a feature suggestion.
It would be great if in-text citation styles with author names and dates were supported out of the box. The styles are very popular in economics and business journals, among others.

Popular styles include

An alternative would be to provide a short example how to define and select styles for LaTeX and HTML output formats, such that we can roll our own implementations.

Keep up the great work!
Best,
Christian

Thank you for the suggestion!

LaTeX output can already support diverse citation types, as determined by the LaTeX template, which can include bibliographic styling. We would be happy to review PRs that add new templates! For guidance, the existing templates (e.g., for ACM, IEEE TVCG) are here: https://github.com/uwdata/living-papers/tree/main/templates/latex

For HTML output, we need to extend our built-in CiteRef component with support for different citation styles. We could then set the desired style within article metadata (for example).

Hi, really cool looking project and seems to address many of my pain points in writing, publishing and reading research papers. I think, similar to what has been suggested previously to typst, it would be great if this project also added support to CSL for citing and styling bibliographies (typst/hayagriva#32). This is what makes using libreoffice + zotero or markdown + pandoc so great in my opinion (which both have other pain points of course).

Thanks @LeSasse. Under the hood Living Papers does use a CSL processor for generating the bibliography for web-based output, but we need to provide a way to further parameterize the chosen bibliographic styles.

In the case of LaTeX output, we defer to using bibtex to ensure the output follows the style files provided for the current template (matching what you would normally get with standard journal or conference templates).