From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: No ODT export option Date: Mon, 13 Jan 2014 11:05:16 -0500 Message-ID: <87wqi3n9z7.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2k1E-0002tR-Sp for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 11:05:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2k18-0008A6-EH for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 11:05:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:56884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2k18-00089e-2I for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 11:05:34 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W2k16-0001v4-4s for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 17:05:32 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jan 2014 17:05:32 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jan 2014 17:05:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hendrik Boom writes: > On Mon, 13 Jan 2014 15:07:30 +0000, Hendrik Boom wrote a message with > confusing typos > >> On Fri, 10 Jan 2014 11:32:55 -0500, Ista Zahn wrote: >> >>> Hi Ken, >>> >>> ODT export isn't enabled by default. You can enable it by putting >>> >>> (require 'ox-odt) >>> >>> in your config file and restart emacs. >>> >>> Best, >>> Ista >> >> I'm having this problem on Debian testing, but not on Debian stable. >> I have installed the org-mode package on both systems. >> >> Inserting (require 'ox-odt) at the end of my !/.emacs file gives me > ~/.emacs, not !/.emacs >> Warning (initialization): An error occurred while loading `/home/ >> hendrik/.emacs': >> >> File error: Cannot open load file, ox-odt >> >> To ensure normal operation, you should investigate and remove the cause >> of the error in your initialization file. Start Emacs with the >> `--debug-init' option to view a complete error backtrace. >> >> so it doesn't look as if it worked. >> >> For the record, there is a /usr/share/emacs/site-lisp/org-mode/ >> ox-odt.el file. >> >> Also, export to html works, presumably using the ox-html.el file in that >> same directory, and I don't have to say (require 'ox-odt). > Of course I meant not having to say (require 'ox-html). >> I'd presume >> that file is found by the same mechanism, so not finding ox-odt by >> default is a bit of a puzzle. >> >> The Debian testing system, which works, has similar files in teh same >> place, but their names start with org- instead of ox- That means it is using org-7.x, probably the org that came with whatever emacs package Debian distributes. If you are installing packages from Debian repos, that's probably the best that you can expect. If you (think you) are installing from the orgmode git repo, there is probably something wrong. Emacs provides tools to figure out where things are coming from: C-h f on a function name tells you which file the function came from, e.g. C-h f org-html-export-as-html RET ,---- | org-html-export-as-html is an interactive Lisp function in | `ox-html.el'. | ... `---- M-x locate-library RET ox-html RET tells you where emacs would load the ox-html library would be loaded from. There are more nuances and more tools but these should be enough to start with. Nick