Nick Dokos <ndo...@gmail.com> writes: > Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: > >>> Instead of adding toc entries, you can use latex to delete section >>> numbers: >>> >>> #+LATEX_HEADER: \setcounter{secnumdepth}{0} >>> ... >>> >>> The problem might be that the sections are not numbered in the TOC >>> either. But if you don't care about that, this is certainly simpler >>> than adding toc entries by hand. >> >> Thanks for that! That is really cool and having the entries in the TOC >> un-numbered is exactly what I want! >> >> As a follow-up, it would be nice if I could mix >> that now again with num:1. That way I could add a TOC with depth 1 >> (only sections) and have them un-numbered. >> > > There is a tocdepth counter that you can set similarly. Will that > do what you want? > > #+LATEX_HEADER: \setcounter{tocdepth}{1} > #+LATEX_HEADER: \setcounter{secnumdepth}{0} > >
That does what I want. Thanks a lot! Best, Andreas PS: I will come back when I need a cross-backend-solution, that work for odt as well....