Hugo Paquet <[email protected]> writes: > The command "C-c =" is supposed to scan the .tex file(s) and generate > a table of contents. But the table seems to include all sections, > even those when the code "\section{....}" appears in a comment block. > This makes the table of contents inconsistent with the resulting pdf.
I think this is by design; I'm not aware of any variable similar to `reftex-label-ignored-macros-and-environments' for \section and such. I think the idea is to comment out the code with %, and then there was also this bug report[1]. Maybe others have a good idea. Best, Arash Footnotes: [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59638 _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
