diff options
author | jfbu <jfbu@free.fr> | 2021-02-18 14:47:14 +0300 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2021-02-18 15:11:28 +0300 |
commit | ddef4950ee4dd73035ba29205acf651157a2440f (patch) | |
tree | a236ed03bbe5a0231dccb57cff2494413c754bc2 /sphinx/texinputs | |
parent | faa71ee26d3636ab2aa759635633af701949c5dd (diff) |
LaTeX: let bookmarks use high default depth
Add bookmarksdepth key to latex_elements['sphinxsetup']
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r-- | sphinx/texinputs/sphinx.sty | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index a71c64ffc..cb82dc806 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -65,6 +65,8 @@ \DeclareStringOption[-1]{numfigreset} \DeclareBoolOption[false]{nonumfigreset} \DeclareBoolOption[false]{mathnumfig} +\define@key{sphinx}{bookmarksdepth}{\AtBeginDocument{\hypersetup{bookmarksdepth=#1}}} +\AtBeginDocument{\define@key{sphinx}{bookmarksdepth}{\hypersetup{bookmarksdepth=#1}}} % \DeclareBoolOption[false]{usespart}% not used % dimensions, we declare the \dimen registers here. \newdimen\sphinxverbatimsep |