emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Capture and use export header numbering?


From: Myles English
Subject: Re: [O] Capture and use export header numbering?
Date: Thu, 05 Nov 2015 10:46:35 +0000
User-agent: mu4e 0.9.13; emacs 24.5.1

Hello Lawrence,

Lawrence Bottorff writes:

> 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.

You might find something useful as a starting point in this old code I
posted here:

http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00245.html

Basically it exported to text to get the heading numbers.

Myles




reply via email to

[Prev in Thread] Current Thread [Next in Thread]