[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to find out in Elisp which .bib file is used for the current
From: |
John Kitchin |
Subject: |
Re: [O] How to find out in Elisp which .bib file is used for the current org buffer? |
Date: |
Fri, 18 Nov 2016 14:43:59 -0500 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
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