Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > Would \addcontentsline be possible? Yes, but we would add complexity > unnecessarily. See > https://tex.stackexchange.com/questions/101538/addcontentsline-lines-added-to-toc-not-numbered-and-lines-added-to-tot-not-sh > > <https://tex.stackexchange.com/questions/101538/addcontentsline-lines-added-to-toc-not-numbered-and-lines-added-to-tot-not-sh> > Citing: > > As Werner mentioned, \addcontentsline doesn't include the numbering of the > line added, according to the level where it was added (ex.: subsubsection). > So, we have to add the numbers (value of the chapter, value of the section, > value of the subsection, value of the subsubsection), with the help of > counters (see http://en.wikibooks.org/wiki/LaTeX/Counters > <http://en.wikibooks.org/wiki/LaTeX/Counters>).
I see. I was hoping that it is simpler than that. So much for the idea of removing [/]->(/) replacement. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>