Is there a way to make the TOC only display sections and subsections but not sub-subsections. In Latex I believe there is a macro called `\tocdepth`

Thanks!

Hi @guraltsev!

1 Like

Thanks. Based on reading that post and in particular the comment

http://forum.texmacs.cn/t/table-of-contents-and-paragraphs/545/6?u=guraltsev

I solved the problem by adding the code:

``````<assign|subsubsection-toc|<macro|name|>>
``````

to my preamble. It was somewhat guesswork because I could not find a direct reference to the macro `subsubsection-toc`. But it works! Thanks!

2 Likes

Some macros are generated by other macros programmatically, that is why usually you cannot access the definition. I guess you should look for `<compound| * | -toc>`.

1 Like