all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Karl Maihofer <ignoramus@gmx.de>
Cc: emacs-orgmode@gnu.org, Paul Mead <paul.d.mead@gmail.com>
Subject: Re: Error when exporting as Latex
Date: Fri, 10 Jul 2009 14:25:33 +0200	[thread overview]
Message-ID: <87prc8u3lu.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <4A5713B5.3050900@gmx.de> (Karl Maihofer's message of "Fri, 10 Jul 2009 12:11:01 +0200")

Karl Maihofer <ignoramus@gmx.de> 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

      parent reply	other threads:[~2009-07-10 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  9:56 Error when exporting as Latex Paul Mead
2009-07-10 10:11 ` Karl Maihofer
2009-07-10 12:13   ` Paul Mead
2009-07-10 12:25   ` Sebastian Rose [this message]

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

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

  git send-email \
    --in-reply-to=87prc8u3lu.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=ignoramus@gmx.de \
    --cc=paul.d.mead@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.