From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin =?ISO-8859-1?Q?G=FCrtler?= Subject: Re: Is it possible to refer to section numbers in links? Date: Wed, 29 Feb 2012 21:17:24 +0100 Message-ID: <1330546644.13890.22.camel@basil> References: <1330524644.7974.14.camel@quino> <81boohr0a8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2pxs-0005xI-UE for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:17:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2pxq-0003tG-Sr for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:17:32 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:36139) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S2pxq-0003sD-GY for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:17:30 -0500 In-Reply-To: <81boohr0a8.fsf@gmail.com> 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: Jambunathan K Cc: emacs-orgmode@gnu.org Am Mittwoch, den 29.02.2012, 23:26 +0530 schrieb Jambunathan K: > Martin Gürtler writes: > > > Hi, > > > > I wonder whether there is an easy way to refer to section numbers in ODT > > export. TOCs including these numbers can be produced automatically > > during export. Does anybody have an idea how one could access that > > information inside the org file? > > What you ask for, is currently not possible. It is easily doable > though. I will add your request to my TODO list. I will let you know > once I am done with it. > > For the sake of clarity and for my own later reference, does the > attached Org file/ODT file capture what you want? One of the links in > the ODT file is hand-edited with LibreOffice for the sake of > illustration. Yes. I think of As explained in Sec. [[*some_chapter]] it is highly desirable to be able to refer to section numbers. resulting in As explained in Sec. 2.1.3. it is highly desirable to be able to refer to section numbers. Probably we need some option that tells the exporter to export section numbers for description-less links referring to org-mode headlines. I could also imagine the word "Sec." to trigger the insertion of a section number, but then the thing becomes language dependent. Thanks, Martin