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 (Author, date) citation formats #98

Open
chkgk opened this issue Oct 27, 2023 · 3 comments
Open

Support (Author, date) citation formats #98

chkgk opened this issue Oct 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@chkgk
Copy link

chkgk commented Oct 27, 2023

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

@jheer
Copy link
Member

jheer commented Oct 27, 2023

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).

@jheer jheer added the enhancement New feature or request label Oct 27, 2023
@LeSasse
Copy link

LeSasse commented Oct 27, 2023

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).

@jheer
Copy link
Member

jheer commented Nov 7, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants