emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: "Martin Gürtler" <martin.guertler@gmx.de>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: odt-Export and #+CAPTION: [reference text]{caption text}
Date: Sat, 31 Mar 2012 02:11:21 +0530	[thread overview]
Message-ID: <81mx6xzury.fsf@gmail.com> (raw)
In-Reply-To: <81obreta86.fsf@gmail.com> (Jambunathan K.'s message of "Fri, 30 Mar 2012 20:19:29 +0530")

Jambunathan K <kjambunathan@gmail.com> 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 <kjambunathan@gmail.com>
| 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	other threads:[~2012-03-30 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29  6:39 odt-Export and #+CAPTION: [reference text]{caption text} Martin Gürtler
2012-03-29 19:34 ` Jambunathan K
2012-03-30  6:08   ` Martin Gürtler
2012-03-30 13:08     ` Jambunathan K
2012-03-30 14:47       ` Martin Gürtler
2012-03-30 14:52         ` Jambunathan K
2012-03-30 14:49       ` Jambunathan K
2012-03-30 20:41         ` Jambunathan K [this message]
2012-03-31  8:41           ` Bastien
2012-03-30  6:27   ` odt-export: localisation of table and figure captions and references to chapter numbers Martin Gürtler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81mx6xzury.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=martin.guertler@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).