From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [Jambunathan K] Re: Figure and table captions in org-odt.el Date: Wed, 21 Mar 2012 00:03:39 +0530 Message-ID: <81iphzf7gc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3sa-0001U8-VF for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 14:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA3sZ-0006z9-3I for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 14:33:56 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:39720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA3sY-0006yv-Ql for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 14:33:55 -0400 Received: by pbcup15 with SMTP id up15so272148pbc.0 for ; Tue, 20 Mar 2012 11:33:52 -0700 (PDT) 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: Orgmode [Out of thread] I have also made the following commits in response to your earlier request titled "Is it possible to refer to section numbers in links?"[1] commit d3cd3720d5a0a2993d37a43046c36535cdaf8bce Author: Jambunathan K Date: Tue Mar 20 19:53:28 2012 +0530 org-odt.el: Resolve headline links as sec nos only if num:t * lisp/org-odt.el (org-odt-format-org-link): Resolve links to headlines as section numbers only if section numbering is on. commit 4120d6fcf741f04673e90133ee8fb98a879c8e1d Author: Jambunathan K Date: Tue Mar 20 13:32:23 2012 +0530 org-odt.el: Render links to outline headings as section nos * lisp/org-odt.el (org-odt-format-link): Add support for generating cross-references to chapter numbers. (org-odt-format-org-link): Resolve links to outline headings as section numbers. This special case resolution kicks in only if the Org link has no description and the target outline is not listified i.e., it is at a level within `org-export-headline-levels'. The above change is in conformity with the way links to headlines will be treated in new ODT exporter that will be built on top of Nicolas' org-element/org-export infrastructure. Footnotes: [1] http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01035.html