Re: [O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-29 Thread Sacha Chua
Rasmus writes: Hello, Rasmus, all! > "id:headline" is a special type of links (see org-id.el). A reference to > a custom-ids is typically prefixed by "#" in Org, e.g. ’[[#heading]]’ or Excellent point. I picked id: as a quick and dirty regexp match, but :headline makes more sense. :headline "#

Re: [O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-29 Thread Nicolas Goaziou
Hello, Rasmus writes: > Further, IMO it might be better to extend the ’#+toc: headlines local’ > declaration. Of course you could argue that ’local’ becomes a special > case of the above "id:whatever-is-the-name-of-the-local-headline". > > Personally, I would like a more explicit syntax, though

Re: [O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-28 Thread Rasmus
Hi Sacha, Thanks for working on this. Sacha Chua writes: > I think it will permit the use of lines like: > > #+TOC: headlines 1 id:ConfInfoClauses "id:headline" is a special type of links (see org-id.el). A reference to a custom-ids is typically prefixed by "#" in Org, e.g. ’[[#heading]]’ or

Re: [O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-28 Thread Sacha Chua
Sacha Chua writes: Hello, all! > This is totally a partial implementation since I've only bothered to > make it work for HTML export, but someone can make it work nicely for > everything else. =) > I think it will permit the use of lines like: > #+TOC: headlines 1 id:ConfInfoClauses ... > D. C.,

Re: [O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-27 Thread Sacha Chua
"D. C. Toedt" writes: Hello, D. C., all! > # = The next line is the desired feature: Generate a TOC list > (with links) of all subheadings in the specified heading > = > #+TOC: headlines 1 local ConfInfoClauses This is totally a partial implementation since I've

[O] TOC local for specified heading and its subheadings (in HTML export)?

2015-11-27 Thread D. C. Toedt
The #+TOC: headlines [n] local feature is really useful; I use it a lot. How easy would it be to do a macro to generate a similar table of contents for the subheadings of an arbitrary specified heading? That would be an alternative to transclusion , allo