Fix #2517: wrong bookmark encoding in PDF if using LuaLaTeX

This commit is contained in:
jfbu
2016-05-14 10:49:02 +02:00
parent 1bd1eb1c18
commit 0f0d505818

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