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


Reply via email to