From mboxrd@z Thu Jan 1 00:00:00 1970 From: nikolai.stenfors@bahnhof.se Subject: reftex setup problem Date: Wed, 14 Dec 2011 14:28:01 +0100 Message-ID: <22076429d9e8e366428fab1393258fed.squirrel@webmail.bahnhof.se> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Raose-0004eh-Oo for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 08:28:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaosY-0005Wb-5v for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 08:28:20 -0500 Received: from mxf2.bahnhof.se ([213.80.101.26]:61900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaosY-0005W2-0p for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 08:28:14 -0500 Received: from localhost (mxf2.local [127.0.0.1]) by mxf2-reinject (Postfix) with ESMTP id 8BDAD969510 for ; Wed, 14 Dec 2011 14:28:07 +0100 (CET) Received: from mxf2.bahnhof.se ([127.0.0.1]) by localhost (mxf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EfL1AOUQTQLi for ; Wed, 14 Dec 2011 14:28:02 +0100 (CET) Received: from webmail.bahnhof.se (webmail.bahnhof.se [79.136.2.17]) by mxf2.bahnhof.se (Postfix) with ESMTP id CBAB1969503 for ; Wed, 14 Dec 2011 14:28:02 +0100 (CET) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Problems incorporating references/citations in .org-files. I have set up a refs.bib-file for my references using jabref 2.6. In org-mode 7.7 I have used the suggestion in FAQ for "Marios reftex setup" in my .emacs: "(defun org-mode-reftex-setup () (load-library "reftex") (and (buffer-file-name) (file-exists-p (buffer-file-name)) (reftex-parse-all)) (define-key org-mode-map (kbd "C-c )") 'reftex-citation)) (add-hook 'org-mode-hook 'org-mode-reftex-setup)" In my .org-file I put the path to my refs.bib-file: \bibliography{/home/nikolai/Dokument/Artiklar/refs} When I use the Cc) in my .org-file I get: "Regex { && Regex...}:" in the minibuffer Trying to type the bibtexkey in the minibuffer it finds no match. If I manually enter: \cite{Bursi2010} and export I get: LaTeX Warning: Citation `Bursi2010' on page 1 undefined on input line 33. LaTeX Warning: There were undefined references. Where is the problem hidden? bibtex-file, reftex setup, org-mode, or emacs? Nikolai