Nicolas Goaziou <n.goaz...@gmail.com> wrote: > > Right: it's a bug. org-html.el and org-lparse.el call > > org-export-cleanup-toc-line which gets rid of the tag in this case, > > org-ascii.el does it by hand (i.e. without calling the above function) > > and org-latex.el does not do it at all. It's likely that other backends > > will also be found wanting. Also, the new latex exporter has this bug > > as well. > > This is not a bug. LaTeX has its own command to create the table of > contents. There is no simple way to interfere with the process and > remove the tags. >
It's (at least) a documentation bug. Nick