mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #2542 from jfbu/latex_fixbookmarks
Fix #2517: wrong bookmark encoding in PDF if using LuaLaTeX
This commit is contained in:
commit
613c10c502
1
CHANGES
1
CHANGES
@ -55,6 +55,7 @@ Bugs fixed
|
|||||||
* #2522: Sphinx touches mo files under installed directory that caused permission error.
|
* #2522: Sphinx touches mo files under installed directory that caused permission error.
|
||||||
* #2536: C++, fix crash when an immediately nested scope has the same name as the current scope.
|
* #2536: C++, fix crash when an immediately nested scope has the same name as the current scope.
|
||||||
* #2555: Fix crash on any-references with unicode.
|
* #2555: Fix crash on any-references with unicode.
|
||||||
|
* #2517: wrong bookmark encoding in PDF if using LuaLaTeX
|
||||||
|
|
||||||
|
|
||||||
Release 1.4.1 (released Apr 12, 2016)
|
Release 1.4.1 (released Apr 12, 2016)
|
||||||
|
@ -699,7 +699,10 @@
|
|||||||
|
|
||||||
% to make pdf with correct encoded bookmarks in Japanese
|
% to make pdf with correct encoded bookmarks in Japanese
|
||||||
% this should precede the hyperref package
|
% this should precede the hyperref package
|
||||||
\ifx\kanjiskip\undefined\else
|
\ifx\kanjiskip\undefined
|
||||||
|
% for non-Japanese: make sure bookmarks are ok also with lualatex
|
||||||
|
\PassOptionsToPackage{pdfencoding=unicode}{hyperref}
|
||||||
|
\else
|
||||||
\usepackage{atbegshi}
|
\usepackage{atbegshi}
|
||||||
\ifx\ucs\undefined
|
\ifx\ucs\undefined
|
||||||
\ifnum 42146=\euc"A4A2
|
\ifnum 42146=\euc"A4A2
|
||||||
|
Loading…
Reference in New Issue
Block a user