From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rustom Mody Subject: Re: odt exporter on mixed org setup Date: Sun, 19 Jan 2014 08:57:29 +0530 Message-ID: References: <87iotk49ei.fsf@gmail.com> <87lhyg9dx8.fsf@gmail.com> <87a9etruk2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4j3A-0007vK-D3 for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 22:27:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4j39-0005As-E3 for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 22:27:52 -0500 Received: from mail-pb0-x22b.google.com ([2607:f8b0:400e:c01::22b]:56026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4j39-0005AV-4m for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 22:27:51 -0500 Received: by mail-pb0-f43.google.com with SMTP id md12so5654366pbc.30 for ; Sat, 18 Jan 2014 19:27:49 -0800 (PST) In-Reply-To: <87a9etruk2.fsf@gmail.com> 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: Jambunathan K Cc: emacs-orgmode Thanks On Sun, Jan 19, 2014 at 12:23 AM, Jambunathan K wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > Rustom Mody writes: > >> Currently I have a setq on org-mode-hook > > I don't run "make install", I just do "make". > > Here is what I have in .emacs. > > DO NOT do an explicit (require 'ox-backend). Instead customize > `org-export-backends' and the ODT exporter there. > > Here is the sequence I have in my .emacs. > > (add-to-list 'load-path "~/src/org-mode/lisp/") > (require 'org-loaddefs) Ok That require did it (I think!) ie on my machine works for emacs 23 and 24 > > (add-to-list 'load-path "~/src/org-mode/contrib/lisp/") > > (setq org-odt-data-dir "~/src/org-mode/etc/") > > (custom-set-variables > '(org-export-backends > (quote (ascii html icalendar latex odt org))) I dont have a custom; just a setq. Hope thats ok?? (setq org-export-backends '(ascii html odt)) [I would like to avoid custom if I can; wont make a fuss if I cant :-) ] Thanks Rusi