From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: How to find out in Elisp which .bib file is used for the current org buffer? Date: Fri, 18 Nov 2016 16:49:04 +0100 Message-ID: <87oa1css9b.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7lPj-0003uH-JN for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:49:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7lPg-0003j7-H4 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:49:19 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7lPg-0003iI-70 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:49:16 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5035D2078C for ; Fri, 18 Nov 2016 10:49:11 -0500 (EST) Received: from IdeaPad.messagingengine.com (5ed52e0d.cm-7-6a.dynamic.ziggo.nl [94.213.46.13]) by mail.messagingengine.com (Postfix) with ESMTPA id 908AF24426 for ; Fri, 18 Nov 2016 10:49:10 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" 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