[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Table of contents for just one section?
From: |
Rasmus |
Subject: |
Re: [O] Table of contents for just one section? |
Date: |
Sun, 26 Oct 2014 16:10:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Rasmus <address@hidden> 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. Based
> on article.cls and book.cls, I think we can generalize the toc-title
> to "heading one level down in level and unnumbered with title
> \contentsname". The TOC title for chapter is thus
> \section*{\contentsname}. For \part it's \chapter*{\contentsname}. I
> guess you can use the cdr in level part of `org-latex-classes', though
> it would be incompatible with e.g. \addsec{ยท} of KOMA-Script.
To be clear for chapters the command would be:
\printcontents[level-1]{}{0}{\setcounter{tocdepth}{1}%
\section*{\contentsname}}
--
C is for Cookie
- [O] Table of contents for just one section?, D. C. Toedt, 2014/10/15
- Re: [O] Table of contents for just one section?, Nicolas Goaziou, 2014/10/20
- Re: [O] Table of contents for just one section?, D. C. Toedt, 2014/10/20
- Re: [O] Table of contents for just one section?, Nicolas Goaziou, 2014/10/26
- Re: [O] Table of contents for just one section?, D. C. Toedt, 2014/10/26
- Re: [O] Table of contents for just one section?, Rasmus, 2014/10/26
- Re: [O] Table of contents for just one section?, Nicolas Goaziou, 2014/10/26
- Re: [O] Table of contents for just one section?, Rasmus, 2014/10/26
- Re: [O] Table of contents for just one section?,
Rasmus <=
Re: [O] Table of contents for just one section?, Rasmus, 2014/10/26