mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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.
This commit is contained in:
parent
021974ed94
commit
039c68d8f3
3
CHANGES
3
CHANGES
@ -11,7 +11,8 @@ Bugs fixed
|
|||||||
----------
|
----------
|
||||||
|
|
||||||
* #2432: Fix unwanted * between varargs and keyword only args. Thanks to Alex Grönholm.
|
* #2432: Fix unwanted * between varargs and keyword only args. Thanks to Alex Grönholm.
|
||||||
|
* #3062: Failed to build PDF using 1.5a2 (undefined ``\hypersetup`` for
|
||||||
|
Japanese documents since PR#3030)
|
||||||
|
|
||||||
Release 1.5 alpha2 (released Oct 17, 2016)
|
Release 1.5 alpha2 (released Oct 17, 2016)
|
||||||
==========================================
|
==========================================
|
||||||
|
@ -892,7 +892,7 @@
|
|||||||
% adjust the margins for footer,
|
% adjust the margins for footer,
|
||||||
% this works with the jsclasses only (Japanese standard document classes)
|
% this works with the jsclasses only (Japanese standard document classes)
|
||||||
\ifx\@jsc@uplatextrue\undefined\else
|
\ifx\@jsc@uplatextrue\undefined\else
|
||||||
\hypersetup{setpagesize=false}
|
\PassOptionsToPackage{setpagesize=false}{hyperref}
|
||||||
\setlength\footskip{2\baselineskip}
|
\setlength\footskip{2\baselineskip}
|
||||||
\addtolength{\textheight}{-2\baselineskip}
|
\addtolength{\textheight}{-2\baselineskip}
|
||||||
\fi
|
\fi
|
||||||
|
Loading…
Reference in New Issue
Block a user