Re: [O] Table of contents for just one section?

2015-03-16 Thread Rasmus
Hi, D. C. Toedt d...@toedt.com writes: I see this feature is now in the beta of Org-Mode 8.3. Excellent! I'm doing several things with it in the forthcoming release of the Common Draft contract clause library (linked below). I also see that there now seems to be some reluctance by the

Re: [O] Table of contents for just one section?

2015-03-16 Thread Thomas S. Dye
Aloha D. C., D. C. Toedt d...@toedt.com writes: I also see that there now seems to be some reluctance by the maintainers to accept donations. (See http://comments.gmane.org/gmane.emacs.orgmode/83318). Has that been resolved? I'd like to do a donation. I think that was just Carsten's

Re: [O] Table of contents for just one section?

2015-03-16 Thread D. C. Toedt
I see this feature is now in the beta of Org-Mode 8.3. Excellent! I'm doing several things with it in the forthcoming release of the Common Draft contract clause library (linked below). I also see that there now seems to be some reluctance by the maintainers to accept donations. (See

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I was putting this to further support another solution, namely moving hyperref to a single defcustom, allowing hyperref to be inserted after all other header-lines. As you pointed out already, moving hyperref after all other header lines introduces problems with

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: As said, I'd prefer load hyperref via org-latex-hyperref-template, but it's probably too big a change too late. Though, it would resolve the issue that if I do (setq org-latex-default-packages-alist (delete '( hyperref nil)

Re: [O] Table of contents for just one section?

2015-01-13 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: As said, I'd prefer load hyperref via org-latex-hyperref-template, but it's probably too big a change too late. Though, it would resolve the issue that if I do (setq org-latex-default-packages-alist

Re: [O] Table of contents for just one section?

2015-01-13 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: I was putting this to further support another solution, namely moving hyperref to a single defcustom, allowing hyperref to be inserted after all other header-lines. As you pointed out already, moving hyperref after

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: As you pointed out already, moving hyperref after all other header lines introduces problems with another set of packages. Therefore, we could end up with package combinations that this variable couldn't handle. Of which we do not rely at the moment. Of course,

Re: [O] Table of contents for just one section?

2015-01-12 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: One more thing. For LaTeX, *we must load titletoc before hyperref*. Requiring packages is not our problem. 3. Or we can add to the manual this deficit and advice how to solve it manually. I don't mind updating the footnote relative to titletoc package in the

Re: [O] Table of contents for just one section?

2015-01-12 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: One more thing. For LaTeX, *we must load titletoc before hyperref*. Requiring packages is not our problem. For titletoc, you can only enable it by either 1. adding a new org-latex-class 2. insert titletoc in

Re: [O] Table of contents for just one section?

2015-01-12 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I can add documentation, but please reconfirm that you find the above limitations acceptable and want to see suggestions of modifying org-latex-packages-alist in the manual! AFAIU, this is the only solution since we do not support titletoc in core. The

Re: [O] Table of contents for just one section?

2015-01-12 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: AFAIU, this is the only solution since we do not support titletoc in core. As said, I'd prefer load hyperref via org-latex-hyperref-template, but it's probably too big a change too late. Though, it would resolve the issue that if I do

Re: [O] Table of contents for just one section?

2015-01-11 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Ah, it's much easier to use \stopcontents[level-i] to end contents collection. Revising the example: \documentclass{book} \usepackage{titletoc} \begin{document} \part{p1} \startcontents[level-0]

Re: [O] Table of contents for just one section?

2015-01-11 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Rasmus ras...@gmx.us writes: Ah, it's much easier to use \stopcontents[level-i] to end contents collection. Revising the example: \documentclass{book} \usepackage{titletoc} \begin{document} \part{p1}

Re: [O] Table of contents for just one section?

2014-10-26 Thread Nicolas Goaziou
Hello, D. C. Toedt d...@toedt.com writes: The local keyword would be great. The following patch implements local tocs for ascii, html and odt export back-ends. I skipped latex because using minitoc looks too tricky to automate. Feedback welcome. Regards, -- Nicolas Goaziou From

Re: [O] Table of contents for just one section?

2014-10-26 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, D. C. Toedt d...@toedt.com writes: I'd like to do sub-TOCs for individual sections and subsections. We could add a local keyword to TOC lines, e.g., #+TOC: headlines 1 local would mean only top level children in current headline.

Re: [O] Table of contents for just one section?

2014-10-26 Thread D. C. Toedt
Many thanks! I'll wait till this shows up in the package updater (I've toyed with Git only enough to be dangerous) but am eagerly looking forward to trying it. D. C. (Dell Charles) Toedt III *(my** last name is pronounced Tate) * Attorney and neutral arbitrator -- tech contracts and

Re: [O] Table of contents for just one section?

2014-10-26 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: I skipped latex because using minitoc looks too tricky to automate. Sorry, I didn't see this when I posted my other post. I think we can do it with titletoc. I have used other functionality of titletoc, and it 'doesn't sucks'ᵀᴹ. Below is

Re: [O] Table of contents for just one section?

2014-10-26 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: I think we can do it with titletoc. I have used other functionality of titletoc, and it 'doesn't sucks'ᵀᴹ. Below is an example. The output is more inline with normal tocs, but you can also style it [I've used this for making paragraph-TOCs in the past].

Re: [O] Table of contents for just one section?

2014-10-26 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: I think we can do it with titletoc. I have used other functionality of titletoc, and it 'doesn't sucks'ᵀᴹ. Below is an example. The output is more inline with normal tocs, but you can also style it [I've

Re: [O] Table of contents for just one section?

2014-10-26 Thread Rasmus
Rasmus ras...@gmx.us writes: I also note that these tocs do not have any title. Would it make sense to remove title from local tocs in other back-ends too? No idea. Both makes sense, but maybe including the TOC-title is too verbose? In any case, I think it's easy to add a title if you.

Re: [O] Table of contents for just one section?

2014-10-20 Thread Nicolas Goaziou
Hello, D. C. Toedt d...@toedt.com writes: I'd like to do sub-TOCs for individual sections and subsections. We could add a local keyword to TOC lines, e.g., #+TOC: headlines 1 local would mean only top level children in current headline. This feature is trivial to add to ox-ascii, probably

Re: [O] Table of contents for just one section?

2014-10-20 Thread D. C. Toedt
The local keyword would be great. Right now I'm interested only in HTML export -- I can use Pandoc to convert to anything else. Thanks! D. C. (Dell Charles) Toedt III *(my** last name is pronounced Tate) * Attorney and neutral arbitrator -- tech contracts and intellectual property Lecturer,

[O] Table of contents for just one section?

2014-10-15 Thread D. C. Toedt
I'd like to do sub-TOCs for individual sections and subsections. EXAMPLE *#+TOC: headlines 1* ** Business operations* {{{SUBTOC}}} # Inserts just the level-2 headings for this level-1 section *** Services* {{{SUBTOC}}} # Shows just the level-3 headings for this level-2