From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref code Date: Tue, 13 May 2014 20:28:37 -0400 Message-ID: References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> <871tvzm859.fsf@pinto.chemeng.ucl.ac.uk> <87zjimnccb.fsf@a-rx.info> <87tx8uc59f.fsf@ucl.ac.uk> <87zjil4ex1.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c258dcf890ee04f95142fa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkN3p-0004oE-27 for emacs-orgmode@gnu.org; Tue, 13 May 2014 20:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkN3n-0002JT-Pt for emacs-orgmode@gnu.org; Tue, 13 May 2014 20:28:41 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:36268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkN3m-0002JC-Vo for emacs-orgmode@gnu.org; Tue, 13 May 2014 20:28:39 -0400 Received: by mail-wg0-f47.google.com with SMTP id x12so1135944wgg.6 for ; Tue, 13 May 2014 17:28:38 -0700 (PDT) In-Reply-To: <87zjil4ex1.fsf@ucl.ac.uk> 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: John Kitchin , "emacs-orgmode@gnu.org" --001a11c258dcf890ee04f95142fa Content-Type: text/plain; charset=UTF-8 interesting. I do have auxtex installed, but I don't think I configure it anywhere. I do require reftex and reftex-cite in my init files. I also set the default reftex bibliography. (setq reftex-default-bibliography '("~/Dropbox/bibliography/references.bib")) I will try to reproduce this tomorrow. John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Tue, May 13, 2014 at 4:11 PM, Eric S Fraga wrote: > John, > > another data point. When I try to load an org file, once org-ref is > loaded, I get the following problem: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > re-search-forward(nil 10001 t) > tex-main-file() > reftex-TeX-master-file() > reftex-tie-multifile-symbols() > reftex-access-scan-info((16)) > reftex-parse-all() > (and (buffer-file-name) (file-exists-p (buffer-file-name)) > (global-auto-revert-mode t) (reftex-parse-all)) > org-mode-reftex-setup() > run-hooks(change-major-mode-after-body-hook text-mode-hook > outline-mode-hook org-mode-hook) > apply(run-hooks (change-major-mode-after-body-hook text-mode-hook > outline-mode-hook org-mode-hook)) > run-mode-hooks(org-mode-hook) > > Because of this, org-ref doesn't get initialised properly. > > Any idea what may be causing this? Do I need to configure auctex or > similar? > > thanks, > eric > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org > release_8.2.6-958-g7c8559-git > --001a11c258dcf890ee04f95142fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
interesting. I do have auxtex installed, but I don= 9;t think I configure it anywhere. I do require reftex and reftex-cite in m= y init files. I also set the default reftex bibliography.

(setq reft= ex-default-bibliography '("~/Dropbox/bibliography/references.bib&q= uot;))

I will try to reproduce this tomorrow.

John

------------------------------= -----
John Kitchin
Associate Professor
Doherty Hall A207F
Depar= tment of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingr= oup.cheme.cmu.edu



On Tue, May 13, 2014 at 4:11 PM, Eric S = Fraga <e.fraga@ucl.ac.uk> wrote:
John,

another data point. =C2=A0When I try to load an org file, once org-ref is loaded, I get the following problem:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
=C2=A0 re-search-forward(nil 10001 t)
=C2=A0 tex-main-file()
=C2=A0 reftex-TeX-master-file()
=C2=A0 reftex-tie-multifile-symbols()
=C2=A0 reftex-access-scan-info((16))
=C2=A0 reftex-parse-all()
=C2=A0 (and (buffer-file-name) (file-exists-p (buffer-file-name)) (global-a= uto-revert-mode t) (reftex-parse-all))
=C2=A0 org-mode-reftex-setup()
=C2=A0 run-hooks(change-major-mode-after-body-hook text-mode-hook outline-m= ode-hook org-mode-hook)
=C2=A0 apply(run-hooks (change-major-mode-after-body-hook text-mode-hook ou= tline-mode-hook org-mode-hook))
=C2=A0 run-mode-hooks(org-mode-hook)

Because of this, org-ref doesn't get initialised properly.

Any idea what may be causing this? =C2=A0Do I need to configure auctex or similar?

thanks,
eric

--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-958-g7c8559= -git

--001a11c258dcf890ee04f95142fa--