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: Fri, 30 Mar 2012 18:38:25 +0530	[thread overview]
Message-ID: <81sjgqtewm.fsf@gmail.com> (raw)
In-Reply-To: <1333087694.7566.18.camel@quino> ("Martin \=\?utf-8\?Q\?G\=C3\=BCrt\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Fri, 30 Mar 2012 08:08:14 +0200")


> It does what I want. 
I have applied my patch to the hotfix branch.

> Unless there is some formatting in the caption.

This is a limitation that we need to live with.  

That said, if you want the short captions in bold, then the right thing
to do would be to apply the style to the index entry and not to
individual captions.  Have you experimented with the styles tab in the
Index creator...I haven't checked it myself though.

> Then you get an invalid content.xml, even if you don't use the new
> feature (ie with a simple '#+CAPTION: a_i').

> minimal example:
>
> #+CAPTION: [*a_i*]{a_i is named =A\_i=}
> #+LABEL: tab:referenced table
> | a | b | c |
> |---+---+---|
> | 1 | 2 | 3 |

If you unzip the file you will see that the short caption goes as an
attribute while long caption goes as body text.

LibreOffice doesn't even allow entering space in the object names.  If
you know of any workarounds that will help "mimic" short captions, I can
add it.

  reply	other threads:[~2012-03-30 13:09 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 [this message]
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
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=81sjgqtewm.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).