Skip to content

Commit 6c4392c

Browse files
committed
Docs: Clean up a bit
1 parent 5fd38c5 commit 6c4392c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc-source/latex_toctree_sections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run(self) -> List[nodes.Node]:
4343
# https://tex.stackexchange.com/questions/271075/reset-counter-section-in-part
4444
latex_part_node = nodes.raw(
4545
text=
46-
f"\\setcounter{{section}}{{0}}\n\\bookmarksetupnext{{level=part}}\n\\part{{{caption}}}\n\\setcounter{{chapter}}{{1}}",
46+
f"\\setcounter{{section}}{{0}}\n\\part{{{caption}}}\n\\setcounter{{chapter}}{{1}}",
4747
format="latex"
4848
)
4949
output.append(latex_part_node)

0 commit comments

Comments
 (0)