From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: [BUG] Various problems with org-odt export Date: Mon, 12 Dec 2011 13:28:57 +0100 Message-ID: <4EE5F389.3020502@christianmoe.com> References: <87k4641guo.fsf@gnu.org> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4ug-0003j2-9M for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 07:23:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra4ua-0007CN-OJ for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 07:23:22 -0500 Received: from b1.hitrost.net ([91.185.211.67]:44342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4ua-0007CF-I1 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 07:23:16 -0500 In-Reply-To: <87k4641guo.fsf@gnu.org> 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: Bastien , emacs-orgmode@gnu.org Hi, Either something's gone wrong with my setup, or there are a number of issues to straighten out after org-odt moved to core. Here's what I have so far (with Org 7.7 pulled this morning, Emacs 23.3.1, on a Mac). Issues 1 and 3 look urgent. 1. The org-export-odt-styles-file variable still points to "~/src/base/org-mode/contrib/odt/styles.xml" as the default style template. The defcustom comes with a FIXME note, and that has become urgent, as the lack of a default styles file in the default place would cause Org-odt export to fail out of the box for most users. I'm not sure where this should point, but I assume it should not point to anything in contrib any longer. 2. The #+ODT_STYLES_FILE directive does not seem to work. It's ignored and the value of org-export-odt-styles-file is used instead. 3. Current backend not set to 'odt? During ODT export, org-export-format-source-code-or-example fails while trying to load a file called "org-nil". So apparently org-export-current-backend fails to be passed the value 'odt on ODT export. The latter problem could also explain why, trying to export a file with verse environments, I got LaTeX mixed in with the ODT XML... Yours, Christian