emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export: Unknown LaTeX class `org-article'
Date: Sun, 26 Jan 2014 15:54:03 -0500	[thread overview]
Message-ID: <874n4q8nx0.fsf@gmail.com> (raw)
In-Reply-To: m238kasvg0.fsf@pfdstudio-air.home

Peter Davis <pfd@pfdstudio.com> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Peter Davis <pfd@pfdstudio.com> 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

  reply	other threads:[~2014-01-26 20:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 12:19 LaTeX export: Unknown LaTeX class `org-article' Peter Davis
2014-01-24 12:58 ` Michael Strey
2014-01-24 14:21   ` Peter Davis
2014-01-24 16:32     ` Eric S Fraga
2014-01-24 18:54       ` Peter Davis
2014-01-25  0:30         ` Peter Davis
2014-01-25 12:34           ` Eric S Fraga
2014-01-25 15:34             ` Peter Davis
2014-01-26 12:05               ` Eric S Fraga
2014-01-26 13:51                 ` Peter Davis
2014-01-26 20:54                   ` Nick Dokos [this message]
2014-01-27  9:55                   ` Eric S Fraga
2014-01-27 12:49                     ` Peter Davis
2014-01-25 12:31         ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n4q8nx0.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).