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? --8<---------------cut here---------------start------------->8--- #+LATEX_HEADER: \setcounter{tocdepth}{1} #+LATEX_HEADER: \setcounter{secnumdepth}{0} --8<---------------cut here---------------end--------------->8--- > But num:1 add its own '\setcounter{secnumdepth}{1}' (why?) which by default > comes later than than the #+LATEX_HEADER definition: > > #+OPTIONS: num:1 > #+LATEX_HEADER: \setcounter{secnumdepth}{0} > -- Nick