summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2016-10-19 08:49:47 +0200
committerjfbu <jfbu@free.fr>2016-10-19 08:55:27 +0200
commit039c68d8f3d5eedea3fde10bca17e52a56a4c63f (patch)
tree0e00b54f29d4a074f135eb347ef8f9ce76740468 /sphinx
parent021974ed94a8055cd2d64c6c96b264f2398b9f09 (diff)
downloadsphinx-git-039c68d8f3d5eedea3fde10bca17e52a56a4c63f.tar.gz
Fix #3062: Failed to build PDF using 1.5a2
PR #3030 (3e21ef4) moved "hyperref" loading to later but forgot the `\hypersetup` at sphinx.sty#L895 for Japanese documents.
Diffstat (limited to 'sphinx')
-rw-r--r--sphinx/texinputs/sphinx.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index d6e19d53d..72e4b7576 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -892,7 +892,7 @@
% adjust the margins for footer,
% this works with the jsclasses only (Japanese standard document classes)
\ifx\@jsc@uplatextrue\undefined\else
- \hypersetup{setpagesize=false}
+ \PassOptionsToPackage{setpagesize=false}{hyperref}
\setlength\footskip{2\baselineskip}
\addtolength{\textheight}{-2\baselineskip}
\fi