From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Figure and table captions in org-odt.el Date: Sat, 17 Mar 2012 22:41:14 +0530 Message-ID: <81limzi24t.fsf@gmail.com> References: <1331991533.26771.5.camel@basil> <81ehsrus0x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8xA9-00085i-Gm for emacs-orgmode@gnu.org; Sat, 17 Mar 2012 13:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8xA7-0003JI-PW for emacs-orgmode@gnu.org; Sat, 17 Mar 2012 13:11:29 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:46738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8xA7-0003J6-Gh for emacs-orgmode@gnu.org; Sat, 17 Mar 2012 13:11:27 -0400 Received: by dadv6 with SMTP id v6so8361313dad.0 for ; Sat, 17 Mar 2012 10:11:25 -0700 (PDT) In-Reply-To: <81ehsrus0x.fsf@gmail.com> (Jambunathan K.'s message of "Sat, 17 Mar 2012 21:41:10 +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: Orgmode A small side note: Instead of modifying the default "OrgOdtContentTemplate.xml" *directly*, you can do the following. Make a *copy* of the file, do the required modification and then customize `org-export-odt-content-template-file' to point to the new template file. > Locate your "OrgOdtContentTemplate.xml". This file is located under the > styles directory. See the *Messages* buffer for an output like this: > > ,---- *Messages* > | Debug (org-odt): Searching for OpenDocument styles files... > | Debug (org-odt): Trying c:/Documents and Settings/kjambunathan/My > | Documents/My Data/src/org-mode/etc/styles/... > | Debug (org-odt): Using styles under c:/Documents and > | Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/ > `---- > > Towards the end of the file, you will find a > `...' block. These are the > OpenDocument "variables" that are used for counting Figures, Tables etc. > > Replace text:name="Figure" with text:name="Abbildung". You can do > likewise for other categories. > > ,---- > | diff --git a/etc/styles/OrgOdtContentTemplate.xml b/etc/styles/OrgOdtContentTemplate.xml > | index cd7ff0e..beeb7f8 100644 > | --- a/etc/styles/OrgOdtContentTemplate.xml > | +++ b/etc/styles/OrgOdtContentTemplate.xml > | @@ -255,7 +255,7 @@ > | > | > | > | - > | + > | > | > | > `----