[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Searching for a headline
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Searching for a headline |
Date: |
Sun, 26 Feb 2017 19:12:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Mark Meyer <address@hidden> writes:
> On 02/26/17 18:28, Nicolas Goaziou wrote:
> I wrote it yesterday, the code's up at
>
> https://github.com/ofosos/org-epub
Great.
> it's a little crufty, because I did write it for org 8 initially.
>
> Hmm, I have to think about it. I would like to either have a 1:1 mapping
> between the elements `org-element' delvers and the links the export
> backend generates or create a function that runs before the export that
> generates :custom_id properties for every element that doesn't have
> one.
Did you look at `org-html--format-toc-headline'?
Also, if you want to collect headlines above a given level, there is
`org-export-collect-headlines'.
> This was easier in org 8, since every internal link was just something
> like `sec-8-2'.
It is also easy in Org 9 : (org-export-get-reference headline info). See
its use in the function above.
Regards,
- [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Nicolas Goaziou, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Nicolas Goaziou, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Nicolas Goaziou, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline,
Nicolas Goaziou <=
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Nicolas Goaziou, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Eric Abrahamsen, 2017/02/26
- Re: [O] Searching for a headline, Mark Meyer, 2017/02/26
- Re: [O] Searching for a headline, Eric Abrahamsen, 2017/02/26