chrisgrieser / alfred-bibtex-citation-picker

Citation picker & lightweight reference manager for BibTeX files, via Alfred.
MIT License
137 stars 8 forks source link

Feature Request: Formatted Citation #31

Closed amisean closed 1 year ago

amisean commented 1 year ago

Feature Requested

Is there any way to add the function for inserting a formatted citation instead of the citekey? Fairly new to this, so forgive me if this a feature is already implemented.

Relevant Screenshot

No response

Checklist

chrisgrieser commented 1 year ago

Hi, no worries!

For the convenience of a quick one-off e.g. for sending a reference via email, there is the combination to paste the full reference via cmd+alt+return.

Other than that, this plugin is actually not meant to insert the formatted citations, but to insert citekeys which another app like pandoc or latex then convert correctly.

Formatted citations are only really useful if you work in something like Word, and there you usually already have an abundance of plugins you can use. Or am I missing a use case here?

amisean commented 1 year ago

Thank you for the quick response!

I'm using iA Writer for zettelkasten-type knowledge management. In order for each note to be independent I like to add inline formatted citations + a bibliography section at the end (so I'm already using the cmd+alt+return shortcut). It's not a necessity at all, I just prefer the look of a formatted citation compared to a pandoc-style.

I just thought I'd ask before getting lost.

chrisgrieser commented 1 year ago

yeah, I see. I added another citation format, "bracketed citekey" which should work for you 👍

(sorry for the late response, had a lot of other stuff to do before)

chrisgrieser commented 1 year ago

(since the workflow is still pending review for the Alfred gallery, the workflow will not auto-update yet. You'll have to manually download the new release)

kzssc commented 1 year ago

@chrisgrieser

Hope it's ok for jumping in regarding pasting full bibliographies and I understand that it's not what the workflow is designed to do.

Is it normal that the paste is taking somewhat long? a good 5-6s wait I reckon... eventually when it does paste it, it pastes well. This is quite a stark contrast to pasting citation keys which is blazingly fast.

Use case: for texting with people really, I use the citation workflow to do all of my zotero searches, I was very glad that you made the bibliographic paste function available.

Thank you very much for the legendary workflow no less!

chrisgrieser commented 1 year ago

@kzssc it takes a bit longer cause pandoc needs to create the bibliography.

But yes 5-6s is definitely unusually long, it takes only a second for me. Could you open a new bug report for and include which pandoc version you have installed?