emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX Export problem: cannot open load file: org-latex
@ 2009-04-18 12:28 Holger Hellebro
  2009-04-18 12:45 ` Matthew Lundin
  0 siblings, 1 reply; 4+ messages in thread
From: Holger Hellebro @ 2009-04-18 12:28 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 802 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 917 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LaTeX Export problem: cannot open load file: org-latex
  2009-04-18 12:28 LaTeX Export problem: cannot open load file: org-latex Holger Hellebro
@ 2009-04-18 12:45 ` Matthew Lundin
  2009-04-18 13:02   ` Holger Hellebro
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Lundin @ 2009-04-18 12:45 UTC (permalink / raw)
  To: Holger Hellebro; +Cc: emacs-orgmode

Hi Holger,

Holger Hellebro <holken@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LaTeX Export problem: cannot open load file: org-latex
  2009-04-18 12:45 ` Matthew Lundin
@ 2009-04-18 13:02   ` Holger Hellebro
  2009-04-18 16:28     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Holger Hellebro @ 2009-04-18 13:02 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1808 bytes --]

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 <mdl@imapmail.org> wrote:

> Hi Holger,
>
> Holger Hellebro <holken@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
>

[-- Attachment #1.2: Type: text/html, Size: 2400 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LaTeX Export problem: cannot open load file: org-latex
  2009-04-18 13:02   ` Holger Hellebro
@ 2009-04-18 16:28     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-04-18 16:28 UTC (permalink / raw)
  To: Holger Hellebro; +Cc: emacs-orgmode


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 <mdl@imapmail.org>  
> wrote:
> Hi Holger,
>
> Holger Hellebro <holken@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-18 16:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 12:28 LaTeX Export problem: cannot open load file: org-latex Holger Hellebro
2009-04-18 12:45 ` Matthew Lundin
2009-04-18 13:02   ` Holger Hellebro
2009-04-18 16:28     ` Carsten Dominik

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).