From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: odt exporter on mixed org setup Date: Thu, 16 Jan 2014 13:59:25 +0530 Message-ID: <87iotk49ei.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3iKs-0000rf-Ab for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 03:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3iKk-00082Y-Vm for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 03:29:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:52830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3iKk-00082Q-Oy for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 03:29:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W3iKU-00063S-5h for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 09:29:34 +0100 Received: from 115.241.9.148 ([115.241.9.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 09:29:34 +0100 Received: from kjambunathan by 115.241.9.148 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 09:29:34 +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 Cc: emacs-orgmode Rustom Mody writes: > Ended with: ox-odt cannot find factory style files You need (setq org-odt-data-dir "~/src/org-mode/etc/") Modify the path. If the *Messages* say that it is not able to find the styles dir, it really means that it is not able to find the styles files. > Checked that it comes back it I use emacs23; goes away if I use > emacs24 Checked that the messages when it works in emacs24 are like > thus: ODT exporter (and hence the style files) made it's appearance in Emacs24. (i.e., There is ALWAYS a styles file that the exporter can safely fallback to.) The styles file that the ODT exporter ACTUALLY USES may come from stock Emacs and which may trail behind the git repo over a period of time. There is no ODT exporter in stock Emacs23. So fallback MAY fail. ---------------------------------------------------------------- Stock Emacs has styles file under: C-h v data-directory If you installed Org as a standalone package, use apt to find out where it is located. ---------------------------------------------------------------- Someone reported a bug on ox-odt.el paths not being modified when the ODT exporter moved from contrib/ to lisp/ directory in git repo. (Interested people can investigate and propose a patch.) I don't have a link to that post right now. ---------------------------------------------------------------- The way make system treats `org-odt-data-dir' is a bit flaky. I didn't pursue the issue further because I felt it is pointless arguing with some people.