From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Capture and use export header numbering? Date: Thu, 5 Nov 2015 01:49:52 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11401bb2d0de7f0523c157ad Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu9gZ-0003m7-EC for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 20:49:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu9gY-0001hU-5A for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 20:49:55 -0500 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:35669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu9gX-0001hQ-UO for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 20:49:54 -0500 Received: by lfbn126 with SMTP id n126so51282531lfb.2 for ; Wed, 04 Nov 2015 17:49:52 -0800 (PST) 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: emacs-orgmode Mailinglist --001a11401bb2d0de7f0523c157ad Content-Type: text/plain; charset=UTF-8 When an outline tree of headers * top 1 ** something ** something ** something *** something **** something ***** something ****** something is exported, say, to html, org-mode produces a numerical outline as deep as the options are set 1. top 1.1. something 1.2. something 1.3. something 1.3.1. something 1.3.1.1. something 1.3.1.1.1. something 1.3.1.1.1.1. something Now, is there any way to actually capture that outline numeration for use in the original buffer? I'm thinking I would like to make a sort of tags or custom_id system based on these numbers. * top :1: ** something :1.1: ** something :1.2: ** something :1.3: *** something :1.3.1: **** something :1.3.1.1: ***** something :1.3.1.1.1: ****** something :1.3.1.1.1.1: It would also be nice if org-mode simply used these numbers in the original buffer instead of stars. LB --001a11401bb2d0de7f0523c157ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When an outline tree of headers=C2=A0

<= div>* top 1
** something=C2=A0
** something=C2=A0
=
** something=C2=A0
*** something=C2=A0
**** someth= ing
***** something
****** something

is exported, say, to html, org-mode produces a numerical outli= ne as deep as the options are set

1. top
1.1. something
1.2. something=C2=A0
1.3. somethin= g
1.3.1. something
1.3.1.1. something=C2=A0
1= .3.1.1.1. something=C2=A0
1.3.1.1.1.1. something=C2=A0
=

Now, is there any way to actually captu= re that outline numeration for use in the original buffer? I'm thinking= I would like to make a sort of tags or custom_id =C2=A0system based on the= se numbers.

* top :1:
** something = :1.1:
** something :1.2:
** something :1.3:
*= ** something :1.3.1:
**** something :1= .3.1.1:
***** something :1.3.1.1.1:
****** somethin= g :1.3.1.1.1.1:

It would also be nice if org= -mode simply used these numbers in the original buffer instead of stars.

LB





--001a11401bb2d0de7f0523c157ad--