[Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Holger Hellebro
Hi

I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1. Emacs
came with an older version of org-mode but I used the Makefile to install
the newer version and most things seem to be working.

But when I try to export to LaTeX (C-c C-e l or L) I get the following error
message in the minibuffer: Cannot open load file: org-latex. Indeed, I
don't have any file named org-latex or org-latex.el on my system as it
was not part of the org distribution. I'm an absolute elisp newbie but a
grep shows that org-install.el references a file org-latex.el.

I've tried removing (require 'org-install) from .emacs but then another
error message is shown: Wrong type argument: commandp, org-export-as-latex
when I try the export.

Any help is greatly appreciated.

Best regards,
Holger
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Matthew Lundin
Hi Holger,

Holger Hellebro hol...@gmail.com writes:

 Hi

 I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1.
 Emacs came with an older version of org-mode but I used the Makefile to
 install the newer version and most things seem to be working.

 But when I try to export to LaTeX (C-c C-e l or L) I get the following
 error message in the minibuffer: Cannot open load file: org-latex.
 Indeed, I don't have any file named org-latex or org-latex.el on my
 system as it was not part of the org distribution. I'm an absolute
 elisp newbie but a grep shows that org-install.el references a file
 org-latex.el.

With org-mode version 6.25f, the file org-export-latex.el was renamed to
org-latex.el. Off the top of my head, I can think of a couple of things
you might check:

1. If you look in the lisp subdirectory of the org distribution you
   downloaded, can you confirm that org-latex.el was byte-compiled as a
   result of the make process?

2. Check the directory where you installed the new org files (e.g.,
   /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
   was copied to that directory.

I'm sure others will be along with more concrete advice sometime soon.

Hope this helps,

Matt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Holger Hellebro
Hi Matt,

Thanks, you answered the question. When I renamed the file
org-export-latex.el to org-latex.el, modified the Makefile accordingly,
rebuilt and reinstalled, it worked.

I think there's a problem with the stable distribution (org-6.25f.tar.gz) in
that it contains the unrenamed file org-export-latex.el. Someone may want
to look into this.

Anyway, many thanks for helping me out.

Best regards,
Holger


On Sat, Apr 18, 2009 at 2:45 PM, Matthew Lundin m...@imapmail.org wrote:

 Hi Holger,

 Holger Hellebro hol...@gmail.com writes:

  Hi
 
  I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1.
  Emacs came with an older version of org-mode but I used the Makefile to
  install the newer version and most things seem to be working.
 
  But when I try to export to LaTeX (C-c C-e l or L) I get the following
  error message in the minibuffer: Cannot open load file: org-latex.
  Indeed, I don't have any file named org-latex or org-latex.el on my
  system as it was not part of the org distribution. I'm an absolute
  elisp newbie but a grep shows that org-install.el references a file
  org-latex.el.

 With org-mode version 6.25f, the file org-export-latex.el was renamed to
 org-latex.el. Off the top of my head, I can think of a couple of things
 you might check:

 1. If you look in the lisp subdirectory of the org distribution you
   downloaded, can you confirm that org-latex.el was byte-compiled as a
   result of the make process?

 2. Check the directory where you installed the new org files (e.g.,
   /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
   was copied to that directory.

 I'm sure others will be along with more concrete advice sometime soon.

 Hope this helps,

 Matt

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Carsten Dominik


On Apr 18, 2009, at 3:02 PM, Holger Hellebro wrote:


Hi Matt,

Thanks, you answered the question. When I renamed the file org- 
export-latex.el to org-latex.el, modified the Makefile  
accordingly, rebuilt and reinstalled, it worked.


I think there's a problem with the stable distribution  
(org-6.25f.tar.gz) in that it contains the unrenamed file org- 
export-latex.el. Someone may want to look into this.


I have made several mistakes with this late mini-releases.  I will  
make the 6.26 release soon, until then, please use 5.25c or the  
snapshot.


- Carsten




Anyway, many thanks for helping me out.

Best regards,
Holger


On Sat, Apr 18, 2009 at 2:45 PM, Matthew Lundin m...@imapmail.org  
wrote:

Hi Holger,

Holger Hellebro hol...@gmail.com writes:

 Hi

 I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs  
22.2.1.
 Emacs came with an older version of org-mode but I used the  
Makefile to

 install the newer version and most things seem to be working.

 But when I try to export to LaTeX (C-c C-e l or L) I get the  
following

 error message in the minibuffer: Cannot open load file: org-latex.
 Indeed, I don't have any file named org-latex or org-latex.el  
on my

 system as it was not part of the org distribution. I'm an absolute
 elisp newbie but a grep shows that org-install.el references a file
 org-latex.el.

With org-mode version 6.25f, the file org-export-latex.el was  
renamed to
org-latex.el. Off the top of my head, I can think of a couple of  
things

you might check:

1. If you look in the lisp subdirectory of the org distribution you
  downloaded, can you confirm that org-latex.el was byte-compiled as a
  result of the make process?

2. Check the directory where you installed the new org files (e.g.,
  /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
  was copied to that directory.

I'm sure others will be along with more concrete advice sometime soon.

Hope this helps,

Matt

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode