Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org-mode zip needed, how to over come?

I have an org-mode document that I want to convert to open Document format. When I try to do this (ctrl+c+e+o) I get an error message:

Executeable "zip" needed for creating OpenDocument files. Aborting.

I have p7zip installed on my machine but I don't know how to tell emacs it is there. I'm not sure what org-mode want to do so I'm not sure what to configure in .emacs.

Thanks

like image 800
Yotam Avatar asked Dec 24 '11 15:12

Yotam


1 Answers

Your p7zip executable must be in Emacs exec-path variable, so that Emacs can find it.

Also, the executable must be called "zip" since it is hard-coded in the org-odt-init-outfile function.

So check the setting of exec-path first to make sure it includes the location of your zip executable.

`M-x customize-variable RET exec-path RET`
like image 141
Juancho Avatar answered Oct 27 '22 04:10

Juancho