From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: reference headlines and export html as section number Date: Wed, 21 Apr 2010 02:03:35 +0200 Message-ID: <871ve91xk8.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4NPw-0000T5-9i for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 20:03:48 -0400 Received: from [140.186.70.92] (port=47279 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4NPu-0000Ob-Cd for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 20:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4NPs-0003qf-34 for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 20:03:46 -0400 Received: from mail.gmx.net ([213.165.64.20]:35146) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O4NPr-0003qO-Gf for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 20:03:44 -0400 In-Reply-To: (Ning Sean's message of "Tue, 20 Apr 2010 18:51:07 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ning Sean Cc: emacs-orgmode@gnu.org Ning Sean writes: > Hi, > > I want to reference a headline inside another headline, and showing the > section number when exporting to html. > > So suppose I have an org file: > > * headline A > * headline B references <> > > When export to html, I want to see the following: > > 1 headline A > 2 headline B references 1 > > How do I do that? The only way to achieve this is sending a patch, I fear. Currently, the result will look like this: 1 headline A 2 headline B references headline A Best wishes Sebastian