You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Very useful extension, but I got the problem with TOC.
In generated docx document there is not any entry in the toc table (except the toc header). I try to update TOC in the Ms Word and got the error 'No table of contents entries found.' with popup (see image)
This say - I have not any title with heading style. But it is incorrect. My document has many headers in their body.
I Use Word for macos
It seems some toc generations error on macos.
If I delete this TOC and generate new one inside MSWord, toc generated correctly.
Maybe, this is because the headers are arranged outside toctree directive.
Docxbuilder includes headers only included by toctree directive into TOC (This is same behaviour as HTML builder).
For example, TOC generated from bellow code will not include "Title1", but include "Title2" and "Title3".
index.rst:
.. toctree: contents
Title1
======
contents.rst:
Title2
======
Title3
======
Could you move the contents outside toctree into other file, and include the file by toctree directive?
Hi. Very useful extension, but I got the problem with TOC.
In generated docx document there is not any entry in the toc table (except the toc header). I try to update TOC in the Ms Word and got the error 'No table of contents entries found.' with popup (see image)
This say - I have not any title with heading style. But it is incorrect. My document has many headers in their body.
I Use Word for macos
It seems some toc generations error on macos.
If I delete this TOC and generate new one inside MSWord, toc generated correctly.
This is generated docx document
The text was updated successfully, but these errors were encountered: