Export BibTeXentry from command line

edited October 21, 2024
Is it possible to copy the BibTex entry from command line, starting from the citation key?

I would like to run something like:

bibtex alhawariInsightsCircularEconomy2021

and get

@article{alhawariInsightsCircularEconomy2021,
title = {Insights from {{Circular Economy Literature}}: {{A Review}} of {{Extant Definitions}} and {{Unravelling Paths}} to {{Future Research}}},
[...]
}

to stdout (which I can then pipe to the clipboard).

I would use this to manually populate the .bib file of a Quarto document.

I don't like the visual editor due to this bug (https://github.com/rstudio/rstudio/issues/15182).
Sign In or Register to comment.