From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export: Unknown LaTeX class `org-article' Date: Sun, 26 Jan 2014 15:54:03 -0500 Message-ID: <874n4q8nx0.fsf@gmail.com> References: <52E25A39.70902@pfdstudio.com> <87vbx9wn84.fsf@strey.biz> <20140124142103.GA47919@pdavismbp15.iscinternal.com> <87mwilxrvd.fsf@ucl.ac.uk> <20140124185420.GD47919@pdavismbp15.iscinternal.com> <20140125003050.GA13349@pfdstudio-air.home> <87a9ekxmsl.fsf@ucl.ac.uk> <20140125153427.GB13349@pfdstudio-air.home> <87y523j6cl.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Wii-0001pq-Tj for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 15:54:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7Wid-0007TT-4R for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 15:54:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:35672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Wic-0007TG-TF for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 15:54:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W7Wib-0005pY-Nu for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 21:54:13 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 21:54:13 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 21:54:13 +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 To: emacs-orgmode@gnu.org Peter Davis writes: > Eric S Fraga writes: > >> Peter Davis writes: >> >> [...] >> >>>> > Ok, something weird is going on. This worked on my office MacBook, but >>>> > when I try on the home one, also with org 8.2.3c, >>>> > org-export-latex-classes is defined, but org-latex-classes is not. >>>> > >>>> > Any clues? >>>> >>>> this sounds like a mixed installation. do you have an old version of >>>> org lying around, maybe as part of the emacs installation? are the two >>>> systems running different versions of emacs? >>>> >>> >>> Both running emacs 24.3.1, same build >> >> Ummm, strange. What happens if you >> >> C-h v org-export-latex-classes RET >> >> e.g. does it show "is a variable defined in " some file? If so, where >> do you end up if you hit RET on that file name? > > It does say the variable is define in org-latex.el, and clicking on that > name takes me to the definition in org-latex.el.gz. > > Perhaps that one file is out of sync somehow? Strange. > This one file is probably part of the org-mode distributed with your emacs (that's why it is compressed: the files that you get through git, or tar or ELPA are uncompressed[fn:1]). You are picking that up before you pick up the org-latex.el from the 8.2.3c version of org-mode, presumably because you loaded it early before you changed the value of load-path to prefer the 8.2.3c version. What happens if you set load-path properly at the very beginning of your .emacs file? See section 1.2 of the org manual. Footnotes: [fn:1] I'm sure about git, but it's only my belief in the other two cases since I have never used either of those methods. -- Nick