From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Bug: reftex breaking after org-mode export [8.2.10 (8.2.10-35-g19a7d6-elpa @ /Users/adamjackson/.emacs.d/elpa/org-20150323/)] Date: Wed, 25 Mar 2015 11:38:05 -0400 Message-ID: References: <1EAD2758-E620-4D07-9622-16E636B2EBE0@physics.org> <2B95BDE9-F4B3-4552-8202-E1B2E7E9FBC6@physics.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YanNl-0000cg-6k for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 11:38:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YanNf-0007ll-Es for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 11:38:13 -0400 Received: from smtp.andrew.cmu.edu ([128.2.105.204]:47062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YanNf-0007lb-AL for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 11:38:07 -0400 In-reply-to: <2B95BDE9-F4B3-4552-8202-E1B2E7E9FBC6@physics.org> 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: Adam Jackson Cc: emacs-orgmode@gnu.org If by cross-references you mean \ref and \label, those are implemented independently of reftex as new org-mode links, e.g. label:some-key and ref:some-key. There are a variety of completion options to make inserting these pretty easy. you can use reftex to insert citations in org-ref, but the default is now to use helm-bibtex which I find easer to search in, in addition to providing a lot more functionality for interacting with bibliography entries. Adam Jackson writes: > Thanks, John. > > org-ref looks quite handy, although I would like to try and get basic functionality working without adding another package. Does it implement cross-references independently of reftex? Perhaps I need to abandon reftex, but this seems like it should be a trivial problem. > > Commenting out the org-ref block, this setup seems to work in that I am able to insert citations with "M-x reftex-citation" after exporting to LaTeX. This suggests that (reftex-parse-all) is somewhat to blame. However, attempting to insert an equation reference with "M-x reftex-reference" still fails after exporting and works before the first export. I suspect TeX-master is indeed involved, as the backtrace suggests. > > Returning to my original setup and commenting out the (reftex-parse-all) gives a similar result to your block; working citations, but cross-references that break after LaTeX export. One of the most baffling aspects is that killing and re-opening the buffer and re-starting Reftex does not eliminate the problem; I have to actually quit and re-open emacs. > > Regards, > Adam -- 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