diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def index e945118613c..32c673c79f1 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{48381} +%% \CheckSum{48398} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -34,7 +34,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{hyperref-xetex-bidi.def}[2015/11/26 v0.9 bidi adaptations for hyperref package for XeTeX engine] +\ProvidesFile{hyperref-xetex-bidi.def}[2017/08/09 v1.0 bidi adaptations for hyperref package for XeTeX engine] \AtBeginDocument{% \def\contentsline#1#2#3#4{% \ifx\\#4\\% @@ -420,17 +420,17 @@ \fi \def\Hy@BeginAnnot#1{% \ifmmode\else\beginL\fi% - \stepcounter{Hy@AnnotLevel}% - \ifnum\value{Hy@AnnotLevel}=\@ne + \global\advance\c@Hy@AnnotLevel\@ne + \ifnum\c@Hy@AnnotLevel=\@ne #1% \fi } \def\Hy@EndAnnot{% - \ifnum\value{Hy@AnnotLevel}=\@ne + \ifnum\c@Hy@AnnotLevel=\@ne \Hy@endcolorlink \@pdfm@mark{eann}% \fi - \addtocounter{Hy@AnnotLevel}\m@ne + \global\advance\c@Hy@AnnotLevel\m@ne \ifmmode\else\endL\fi% } \def\hyper@link#1#2#3{% |