From fc425dd2d6d4c8a958e1f1f3152fff900b452f72 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 11 Jun 2016 23:25:30 +0000
Subject: hyperref (28may16)

git-svn-id: svn://tug.org/texlive/trunk@41396 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/hyperref/hxetex.def | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')

diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def
index 24de94c8ae9..2336c349a56 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def
@@ -9,6 +9,8 @@
 %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
 %% with portions written by David Carlisle and Heiko Oberdiek,
 %% 2001-2012 Heiko Oberdiek.
+%% 2016 Oberdiek Package Suport Group
+%%      https://github.com/ho-tex/hyperref/issues
 %%
 %% This file is part of the `Hyperref Bundle'.
 %% -------------------------------------------
@@ -29,7 +31,7 @@
 %% given in the file `manifest.txt'.
 %%
 \ProvidesFile{hxetex.def}
-  [2016/05/05 v6.83n %
+  [2016/05/21 v6.83p %
   Hyperref driver for XeTeX]
 \Hy@VersionCheck{hxetex.def}
 \HyPsd@LoadUnicode
@@ -390,8 +392,8 @@
   \Hy@DisableOption{ocgcolorlinks}%
 \fi
 \def\Hy@BeginAnnot#1{%
-  \stepcounter{Hy@AnnotLevel}%
-  \ifnum\value{Hy@AnnotLevel}=\@ne
+  \global\advance\c@Hy@AnnotLevel\@ne
+  \ifnum\c@Hy@AnnotLevel=\@ne
     #1%
   \fi
 }
@@ -400,7 +402,7 @@
     \Hy@endcolorlink
     \@pdfm@mark{eann}%
   \fi
-  \addtocounter{Hy@AnnotLevel}\m@ne
+  \global\advance\c@Hy@AnnotLevel\m@ne
 }
 \def\Hy@undefinedname{UNDEFINED}
 \def\hyper@linkstart#1#2{%
@@ -1225,6 +1227,7 @@
   \Fld@flags
   /Q \Fld@align
   /BS<</W \Fld@borderwidth /S/\Fld@borderstyle>>%
+  /AP<< /N <</Yes<<>>>> >>  %new string /Yes is from below
   /MK<<%
     \ifnum\Fld@rotation=\z@
     \else
@@ -1336,12 +1339,12 @@
   >>%
   /DA(/ZaDb \strip@pt\Fld@charsize\space Tf%
       \ifx\Fld@color\@empty\else\space\Fld@color\fi)%
-  \ifx\@currValue\Fld@default
-    /V/\Fld@default
-    /DV/\Fld@default
-  \else
+  \ifx\Fld@default\@empty
     /V/Off%
     /DV/Off%
+  \else
+   /V/\Fld@default
+   /DV/\Fld@default
   \fi
   \Fld@additionalactions
 }
-- 
cgit v1.2.3

