-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use capture to create an entry in the default bib file #167
Comments
By "Emacs' capture mechanism" do you mean Org-mode's capture mechanism? Or do you have something else in mind? |
Yes. Sorry for that, meant org's. I've seen the "paste" function onto the list buffer, which is really nice, thought it's not always available to copy. On second thought, need to think how to make a capture process better in cases where the ref is not provided with a bibtex cite I can copy... |
Well, the Org capture stuff creates an Org-formatted entry, so I'm not sure it can be (ab)used to create .bib entries. If yanking (pasting) the reference into the index buffer isn't working properly, it's also possible to yank the entry into the If there's no preformatted entry, however, there's little Ebib can do, I'm afraid. Of course, if you come up with any ideas to improve the process, feel free to suggest them. |
Sorry, I forgot this... While going through my setup and looking at what org-roam-bibtex does , I remembered that I was thinking that it'd be nice to be able to create annotation from an org-capture template, which I already have, rather than keep the template string in ebib's variable. So when I hit N on an entry, I'd be offered a template for a new note, if one does not exist yet, and pre-populate it with maybe NOTER_DOCUMENT etc. I'm aware that this already works when using 'ivy-bibtex' and 'org-ref' extended actions. Ie "C-o" from the main list of entries. Just a thought. |
You seem to be talking about something else now than in your original message. Originally I thought you were talking about creating a BibTeX entry using Org's capture mechanism. Now you seem to be talking about creating an annotation (an external note, as Ebib calls it). Using Org's capture mechanism to create an external note for an entry (i.e., when you press Looking at |
I might have seen this integration happening via 'org-roam-bibtex' ... the templates are used for either ivy-bibtex or org-ref if I'm not mistaken, and are injected with some additional information supplied by org-roam-bibtex (functions prefix is orb-*. I'll look at the code again when I get a chance. And yes, sorry. It is about using the same mechanism but for different purposes. |
I have this setup, which seems to work for me as is. I have the template defined globaly in
Some of the functionality is provided by
|
Perhaps you should also check out org-capture-ref. It sounds like it might be what you're after. Any BibTeX entry you create with it will be put in the |
Is this possible? I'd like for instance to use Emacs' capture mechanism to save a reference from an extension in Firefox à la zotero connector.
The text was updated successfully, but these errors were encountered: