From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Bug: ODT export and environments Date: Sun, 03 Feb 2013 17:45:36 +0530 Message-ID: <87a9rlzj87.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1yUF-0006Re-LR for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 07:15:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1yUE-0002Yl-Gn for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 07:15:55 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1yUE-0002Yf-6Q for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 07:15:54 -0500 Received: by mail-pa0-f45.google.com with SMTP id kl14so223551pab.32 for ; Sun, 03 Feb 2013 04:15:53 -0800 (PST) In-Reply-To: (Cassio Koshikumo's message of "Tue, 29 Jan 2013 11:25:23 -0200") 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: Cassio Koshikumo Cc: emacs-orgmode@gnu.org I acknowledge the bug. I would rather not fix it. Too much effort for too little gain etc. I think it is time that old exporter is forgotten and new exporter is exercised instead, when possible. Add this to your .emacs (add-to-list 'load-path "~/src/org-mode/contrib/lisp") (require 'org-e-odt) Invoke the following command. M-x org-export-dispatch RET Use the following to customize. M-x customize-group RET org-export-e-odt RET You can obtain all the new exporters by following means. 1. Check out from git. 2. Install `org-plus-contrib' package from Org ELPA. See http://orgmode.org/ for further instructions. Cassio Koshikumo writes: > Hello, > > I think there's a bug when exporting files to ODT using environments > (center, quote etc.). Sample file: > > * Testing > #+BEGIN_CENTER > First line. > > Second line. > #+END_CENTER > > When exporting that, only "First line" will have the correct style > OrgCenter. "Second line" (and all subsequent ones) will have the > default Text body style. > > Thanks and best regards --