emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org-cite follow function for ebib


From: John Kitchin
Subject: Re: Org-cite follow function for ebib
Date: Mon, 9 Aug 2021 08:38:02 -0400

If every thing is working right, you can get the file that a key is in like this:

#+BEGIN_SRC emacs-lisp
(cl-loop for (file . entries) in (org-cite-basic--parse-bibliography)
when (gethash  "some-key" entries)
         return file)
#+END_SRC

This returns the first file that matches.

John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803


On Mon, Aug 9, 2021 at 6:45 AM Joost Kremers <joostkremers@fastmail.fm> wrote:
Hi Thomas & others,

On Sat, Aug 07 2021, Thomas S. Dye wrote:
> Aloha Joost,
>
> Following some pointers from Eric and Bruce I have this in my
> configuration and it seems to work fine, though I haven't had a chance
> to use it very much.

Thanks for figuring that out. :-) Once I get to implementing support, I'll use
it as a starting point. There should also be a way to open the correct file
automatically, without the user having to select it.



--
Joost Kremers
Life has its moments


reply via email to

[Prev in Thread] Current Thread [Next in Thread]