I have just installed the 2024 versión of freeoffice.
And in the 2024 version of TextMaker, the creation of tables of contents has disappeared from the "References: Tables of Contents" menu.

2021 https://1drv.ms/i/s!AmCNIUDnqCD5gac9ZDU ... g?e=JIIXrc
2024 https://1drv.ms/i/s!AmCNIUDnqCD5gac-oZe ... A?e=28N1LZ
Sorry for my English