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

Feature idea: "working bibliography" #449

Open
mgttlinger opened this issue Jul 1, 2024 · 1 comment
Open

Feature idea: "working bibliography" #449

mgttlinger opened this issue Jul 1, 2024 · 1 comment

Comments

@mgttlinger
Copy link
Contributor

Usually when I write papers I have a local bibliography for this specific paper in the repository of the paper while I also have (multiple) global bibliographies. When I reference something in the paper I add the entry from the global bibliography to the local one.

The workflow I would wish for:

  • Entries from the local bibliography are prioritized in search (as they might have been adapted slightly from the global ones e.g. shortening of journal names) with the global entries acting as fallback
  • The entries from the global bibliography are visually distinguished in the UI
  • When I cite an entry from the global bibliography it is automatically inserted into the local bibliography

The new feature supporting local bibliographies in org files makes me hopeful that this envisioned workflow could be at reach. What do you think or how do you handle this workflow?

@tmalsburg
Copy link
Owner

Entries from the local bibliography are prioritized in search (as they might have been adapted slightly from the global ones e.g. shortening of journal names) with the global entries acting as fallback

I think you might be able to construct this yourself: Create a command that combines two helm sources, one for global, one for local. Helm makes it easy to combine sources that are searched simultaneously. Anyway, that's what I would try.

The entries from the global bibliography are visually distinguished in the UI

You get this for free with the solution proposed above. Global and local entries would appear in separate lists.

When I cite an entry from the global bibliography it is automatically inserted into the local bibliography

Actions can be customized. You could create an adapted version of helm-bibtex-insert-citation that copies the entry if needed. Not sure how straightforward it is but it's worth trying.

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

No branches or pull requests

2 participants