emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Orgmode <emacs-orgmode@gnu.org>
Subject: [Jambunathan K] Re: Figure and table captions in org-odt.el
Date: Wed, 21 Mar 2012 00:02:59 +0530	[thread overview]
Message-ID: <81mx7bf7hg.fsf@gmail.com> (raw)

Martin Gürtler <martin.guertler@gmx.de> writes:

> Hi,
> I was trying to localise the captions of figures or tables. This seems
> not to be built-in (in contrast to the built-in localisation of
> table-of-contents). I wonder whether it is easily possible to get
> "Abbildung 1: ..." instead of the automatic "Figure 1: ..."  in figure
> (and table) captions.

I have added support for this a few minutes ago.  Please discard/undo my
earlier suggestion and try configuring the new variable instead (see

With this change applied and *after* exporting the document via the ODT
exporter, you may want to:

1. create a figure/table index with Insert->Indexes and Tables->Indexes
   and Tables etc
2. insert a couple of figures tables etc *by hand*
3. update fields with Tools->Update->Update All

and make sure that you don't get any weird behaviour.

If there are non-English speakers who are reading this message and then
you may want to give me the localized equivalent for Table, Figure,
Equation in your language.

,----[ C-h v org-export-odt-category-strings RET ]
| org-export-odt-category-strings is a variable defined in `org-odt.el'.
| Its value is (("en" "Table" "Figure" "Equation" "Equation")
|  ("de" "Tabelle" "Abbildung" nil nil))
| Original value was 
| (("en" "Table" "Figure" "Equation" "Equation"))
| Documentation:
| Specify category strings for various captionable entities.
| Captionable entity can be one of a Table, an Embedded Image, a
| LaTeX fragment (generated with dvipng) or a Math Formula.
| For example, when `org-export-default-language' is "en", an
| embedded image will be captioned as "Figure 1: Orgmode Logo".
| If you want the images to be captioned instead as "Illustration
| 1: Orgmode Logo", then modify the entry for "en" as shown
| below.
|   (setq org-export-odt-category-strings
| 	'(("en" "Table" "Illustration"
| 	   "Equation" "Equation")))
| You can customize this variable.
| This variable was introduced, or its default value was changed, in
| version 24.1 of Emacs.
| [back]

             reply	other threads:[~2012-03-20 18:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 18:32 Jambunathan K [this message]
2012-03-20 18:33 [Jambunathan K] Re: Figure and table captions in org-odt.el Jambunathan K

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:

  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=81mx7bf7hg.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).