Thorsten Jolitz <tjol...@gmail.com> writes: > Nicolas Goaziou <n.goaz...@gmail.com> writes: > >> If you don't specify a toc item in the OPTIONS line, Org will use the >> value of `org-export-with-toc', which is non-nil by default. >> >> So, your example is equivalent to: >> >> #+OPTIONS: toc:t >> #+TOC: headline 2 >> >> Hence you get two tables of contents. > > Ok, but then with > > ,---------------- > | #+OPTIONS: toc:2 > `---------------- > > the > > ,----------------- > | #+TOC: headline 2 > `----------------- > > is actually redundant - I would need it only if I want to export other > things than headlines, right?
They are not equivalent, but are indeed redundant. Regards, -- Nicolas Goaziou