File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 145145
146146manpages_url = "https://manpages.debian.org/{path}"
147147toctree_plus_types .add ("fixture" )
148+
149+ latex_elements = {
150+ "extrapackages" : ["bookmark" ],
151+ }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def run(self) -> List[nodes.Node]:
2626
2727 # TODO: \setcounter{section}{0}
2828 # https://tex.stackexchange.com/questions/271075/reset-counter-section-in-part
29- latex_part_node = nodes .raw (text = f"\\ setcounter{{chapter}}{{0 }}\n \\ setcounter{{section}}{{0}}\n \\ phantomsection \n \\ part{{{ caption } }}" , format = "latex" )
29+ latex_part_node = nodes .raw (text = f"\\ setcounter{{chapter}}{{1 }}\n \\ setcounter{{section}}{{0}}\n \\ \\ part{{{ caption } }}" , format = "latex" )
3030 output .append (latex_part_node )
3131 # self.state.nested_parse(StringList(), self.content_offset, latex_part_node)
3232
You can’t perform that action at this time.
0 commit comments