From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Citations and references in ODT Date: Sun, 19 Jan 2014 11:16:53 +0530 Message-ID: <878uuc7cc2.fsf@gmail.com> References: <87zjn3gmvm.fsf@gmail.com> <86zjmzbepq.fsf@freeenv.ad.medctr.ucla.edu> <86wqhz1umf.fsf@freeenv.ad.medctr.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4lGO-0000wM-Ld for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 00:49:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4lGG-0006sT-5b for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 00:49:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:60682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4lGF-0006sJ-Um for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 00:49:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W4lGD-00012G-T8 for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 06:49:29 +0100 Received: from 115.242.245.72 ([115.242.245.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Jan 2014 06:49:29 +0100 Received: from kjambunathan by 115.242.245.72 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Jan 2014 06:49:29 +0100 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 Cc: Org-mode , Ken Mankoff Aric Gregson writes: > From http://permalink.gmane.org/gmane.emacs.orgmode/80832 > OpenDocument export failed: Symbol's function definition is void: > org-element-cache-reset > I also receive this error the first time that I try to open an org > file. I can open the file if I try another time. Are you still stuck here or you made some repairs and stuck elsewhere. The above error has nothing to do ox-odt.el or ox-jabref.el. It says your org-element.el is coming from some unexpected path. The problem is usually because of wrong installation. > Jambunathan has any ideas as to why his exporter is not working with my > set-up. It is difficult for me to imagine how you set up things. (There are so many moving parts). All I can say is this: "Not related to odt/jabref exporters. Something is related to how you have setup things". Nothing more. You will have better luck if 1. You start emacs with a blank .emacs 2. Install Org from ELPA. Once you have a working ox-odt.el setup, then you can make additional modifications to that setup and install ox-jabref.el. ---------------------------------------------------------------- Your best debug tools are 1. M-x find-library 2. M-x locate-library 3. M-x list-load-path-shadows. You can run the above commands vis-a-vis the following libraries 1. org-loaddefs 2. org-compat 3. org-element.el and investigate *for yourself* whether the paths are getting "mixed up". If you analyse the output, you will understand what I mean. Most likely there are stale or non-existent .elc files or the .elc files were generated against a stale library. IMO, starting from scratch (i.e., an empty .emacs) and installing Org via M-x list-packages is a sure way to have a working setup with minimal fuss.