From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Error when exporting as Latex Date: Fri, 10 Jul 2009 14:25:33 +0200 Message-ID: <87prc8u3lu.fsf@kassiopeya.MSHEIMNETZ> References: <4A5713B5.3050900@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPF6Z-0005rG-LI for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 08:21:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPF6U-0005nC-4p for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 08:21:31 -0400 Received: from [199.232.76.173] (port=43284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPF6T-0005mv-UC for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 08:21:25 -0400 Received: from mail.gmx.net ([213.165.64.20]:55187) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MPF6T-0008RC-BZ for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 08:21:25 -0400 In-Reply-To: <4A5713B5.3050900@gmx.de> (Karl Maihofer's message of "Fri, 10 Jul 2009 12:11:01 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Maihofer Cc: emacs-orgmode@gnu.org, Paul Mead Karl Maihofer writes: > Others may correct me but I think this is the same issue I had yesterday. The > reason is that the two versions of Org - the one shipped with your Emacs and the > latest one you installed by yourself conflict in some way. Some time ago the > lisp-file for LaTeX export was renamed - > perhaps this is why you get an error. My solution was to rename the > Org-lisp-files in c:/bin/emacs-22.3/lisp/textmodes/. For example > org-export-latex.elc gets org-export-latex.elc_save and so on. After that Emacs > can only find the latest Org-version. > > I then had to add > > (require 'org-latex) I think adding the git-Org's lisp directory to the load path (add-to-list 'load-path "~/path/to/org/lisp/") should suffice, provided the lisp files are compiled. In that case a second line should do: (require 'org-install) But I'm not sure this works. I simply do sh$ rm -rf /usr/local/share/emacs/23.50.XX/lisp/org after upgrading emacs, hence I cannot test it now. This aspect of the load-path mechanism is not very well documented. Sebastian