Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-27 18:56:46 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-27 18:56:46 +0300
commitc9480f99433a660942cbd8a739d989cb69fedc36 (patch)
treea5861ecf723184f5a7e6e89ba14433867f2d5e4f /sphinx/templates
parent2ee0338388a54e976c3776c116cdc1080fb62c53 (diff)
parent62dad2f13331d15d94b36b8f125f08fd4304b68b (diff)
Merge branch '3.x'
Diffstat (limited to 'sphinx/templates')
-rw-r--r--sphinx/templates/latex/latex.tex_t3
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/templates/latex/latex.tex_t b/sphinx/templates/latex/latex.tex_t
index 9bfb3c3ff..679660fdd 100644
--- a/sphinx/templates/latex/latex.tex_t
+++ b/sphinx/templates/latex/latex.tex_t
@@ -20,6 +20,9 @@
%% turn off hyperref patch of \index as sphinx.xdy xindy module takes care of
%% suitable \hyperpage mark-up, working around hyperref-xindy incompatibility
\PassOptionsToPackage{hyperindex=false}{hyperref}
+%% memoir class requires extra handling
+\makeatletter\@ifclassloaded{memoir}
+{\ifdefined\memhyperindexfalse\memhyperindexfalse\fi}{}\makeatother
<% endif -%>
<%= passoptionstopackages %>
\PassOptionsToPackage{warn}{textcomp}