File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 147147toctree_plus_types .add ("fixture" )
148148
149149latex_elements = {
150- "extrapackages " : [ " bookmark" ] ,
150+ "preamble " : r"\usepackage{ bookmark}" ,
151151 }
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{{section}}{{0}}\n \\ bookmarksetupnext{{level=0 }}\n \\ part{{{ caption } }}\n \\ setcounter{{chapter}}{{1}}" , format = "latex" )
29+ latex_part_node = nodes .raw (text = f"\\ setcounter{{section}}{{0}}\n \\ bookmarksetupnext{{level=part }}\n \\ part{{{ caption } }}\n \\ setcounter{{chapter}}{{1}}" , 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