Re: [O] How to find out in Elisp which .bib file is used for the current org buffer?
Hi, [Sorry for the late reply, I've been rather busy...] On Fri, Nov 18 2016, John Kitchin wrote: It depends on how you put citations in I guess. If you use org-ref, then there is a bibliography link or a latex_header with addbibresource. Otherwise, it is one of the files defined in org-ref-default-bibliography. I am not sure about the ox-bibtex setup. Ok, so there's no single method that will always work. Thanks for the info. It doesn't solve my problem but at least I know where to start looking. :-) -- Joost Kremers Life has its moments
Re: [O] How to find out in Elisp which .bib file is used for the current org buffer?
It depends on how you put citations in I guess. If you use org-ref, then there is a bibliography link or a latex_header with addbibresource. Otherwise, it is one of the files defined in org-ref-default-bibliography. I am not sure about the ox-bibtex setup. Joost Kremers writes: > Hi all, > > If you're writing a scientific document in Org, you'll normally > have a .bib file that you use for your references. What I'd like > to know is: is there a (robust) way to find out if a specific Org > buffer has a .bib file associated with it? > > In a LaTeX file, you can usually find this out by looking for a > \bibliography command or, if you use biblatex, for > \addbibresource. I'm wondering what the canonical way is to > specify this for an Org file. > > TIA > > Joost -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
[O] How to find out in Elisp which .bib file is used for the current org buffer?
Hi all, If you're writing a scientific document in Org, you'll normally have a .bib file that you use for your references. What I'd like to know is: is there a (robust) way to find out if a specific Org buffer has a .bib file associated with it? In a LaTeX file, you can usually find this out by looking for a \bibliography command or, if you use biblatex, for \addbibresource. I'm wondering what the canonical way is to specify this for an Org file. TIA Joost -- Joost Kremers Life has its moments