From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: odt-Export and #+CAPTION: [reference text]{caption text} Date: Sat, 31 Mar 2012 02:11:21 +0530 Message-ID: <81mx6xzury.fsf@gmail.com> References: <1333003155.7566.10.camel@quino> <81y5qjkxqq.fsf@gmail.com> <1333087694.7566.18.camel@quino> <81sjgqtewm.fsf@gmail.com> <81obreta86.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDidc-0002bE-V5 for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 16:41:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDidb-0001B9-4e for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 16:41:36 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:52726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDida-0001Ag-RH for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 16:41:35 -0400 Received: by pbcup15 with SMTP id up15so2390096pbc.0 for ; Fri, 30 Mar 2012 13:41:31 -0700 (PDT) In-Reply-To: <81obreta86.fsf@gmail.com> (Jambunathan K.'s message of "Fri, 30 Mar 2012 20:19:29 +0530") 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: Martin =?utf-8?Q?G=C3=BCrtler?= Cc: org-mode mailing list Jambunathan K writes: >> I have applied my patch to the hotfix branch. > > I am having second thoughts. I will slightly re-work the patch so it > doesn't bomb the ODT file in unexpected ways. I will drop a note once I > am done with it. Short captions if not provided will take their values from long caption. See the commit message for more information. I am not checking in this change to hotfix-7.8.06 branch. If it bombs again and someone else complains, I will revoke the fix. If you need index entries to be in bold, fix the paragraph style. Btw, I wonder why LibreOffice UI doesn't allow space (apart from other characters) in the object names. The OpenDocument v1.1 explicitly has the following example and as you can see the table name has spaces. Anyways, looks like LibreOffice behaviour is buggy. ,---- | | ... | `---- ,---- | commit 8a02f48547df4f11b0402aa0a4fe339e3b85c608 | Author: Jambunathan K | Date: Sat Mar 31 02:03:10 2012 +0530 | | org-odt.el: Consider short captions not as org text but as plain text | | * lisp/org-lparse.el (org-lparse-insert-org-table): Consider | short caption as plain text and not as org text. | * lisp/org-odt.el (org-export-odt-format-formula) | (org-export-odt-format-image): ditto. | | Fixes earlier checkin. See | http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg01212.html | | Handling of short captions is only a convenience feature. | | From within LibreOffice one can always create an "unprotected" | editable index and later manually delete unwanted index entries (for | example, delete uncaptioned entries which are given automatic names) | or modify existing entries (for example, fix long captions to their | short versions). `----