emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] odt-Export and #+CAPTION: [reference text]{caption text}


From: Jambunathan K
Subject: Re: [O] odt-Export and #+CAPTION: [reference text]{caption text}
Date: Sat, 31 Mar 2012 02:11:21 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (windows-nt)

Jambunathan K <address@hidden> 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.

,----
| <table:table table:name="Table 1" table:style-name="Table 1">
| ...
| </table:table>
`----

,----
| commit 8a02f48547df4f11b0402aa0a4fe339e3b85c608
| Author: Jambunathan K <address@hidden>
| 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).
`----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]