Merge pull request #2542 from jfbu/latex_fixbookmarks

Fix #2517: wrong bookmark encoding in PDF if using LuaLaTeX
This commit is contained in:
Jean-François B
2016-05-18 08:39:00 +02:00
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ Bugs fixed
* #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.
* #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)
+4 -1
View File
@@ -699,7 +699,10 @@
% to make pdf with correct encoded bookmarks in Japanese
% 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}
\ifx\ucs\undefined
\ifnum 42146=\euc"A4A2