My text is split into multiple parts. Each part contains multiple chapters. 
The chapters have sequential numbers (without the parts restarting the 
chapter numbers).

The table of contents is fine showing parts and chapters. The chapter 
headings are fine, too. Only the chapter numbers used in references get 
restarted by parts. I checked all files for "\@addtoreset{chapter}{part}" 
but it is not there. The .aux file contains the correct chapter number.

The \hyperref is produced with the following code:
                linktext = '.'.join(map(str, secnum[anchorname]))
                node.replace(emphnode, nodes.Text(linktext
                    + ' ' + textnode))

If I look into secnums then I can see that the sections numbers are 
restarted with each new part.
I experimented with the conf.py:
latex_use_parts = True/False
also with latexindex.rst:
.. toctree::
   :numbered:
But so far I could not find out how to configure that right so that the 
parts do not restart the chapter numbering in secnums.
I would appreciate any idea on how to debug or fix this.




-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to