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 <e.fraga@ucl.ac.uk> 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