summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def23
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
index 99322a0cb88..ba86f3bdea1 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
@@ -29,7 +29,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pdfmark.def}
- [2010/10/30 v6.81t
+ [2010/11/22 v6.81u %
Hyperref definitions for pdfmark specials]
\Hy@VersionCheck{pdfmark.def}
\begingroup
@@ -84,7 +84,6 @@
}%
}%
\fi
-\RequirePackage{pdftexcmds}[2009/04/10]
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdf@escapestring\endcsname\relax
\begingroup
@@ -215,9 +214,15 @@
\ifHy@breaklinks
\else
\leavevmode
+ \ifmmode
+ \def\Hy@LinkMath{$}%
+ \else
+ \def\Hy@LinkMath{}%
+ \fi
\Hy@SaveSpaceFactor
\hbox\bgroup
\Hy@RestoreSpaceFactor
+ \Hy@LinkMath
\fi
\expandafter\Hy@colorlink\csname @#1color\endcsname
\literalps@out{H.S}%
@@ -249,6 +254,7 @@
\Hy@endcolorlink
\ifHy@breaklinks
\else
+ \Hy@LinkMath
\Hy@SaveSpaceFactor
\egroup
\Hy@RestoreSpaceFactor
@@ -533,16 +539,25 @@
\else
\leavevmode
\Hy@SaveSpaceFactor
+ \ifmmode
+ \def\Hy@LinkMath{$}%
+ \else
+ \def\Hy@LinkMath{}%
+ \fi
\ifHy@breaklinks
\Hy@setouterhbox\pdf@box{%
\Hy@RestoreSpaceFactor
+ \Hy@LinkMath
\Hy@AllowHyphens#1%
+ \Hy@LinkMath
\Hy@SaveSpaceFactor
}%
\else
\sbox\pdf@box{%
\Hy@RestoreSpaceFactor
+ \Hy@LinkMath
#1%
+ \Hy@LinkMath
\Hy@SaveSpaceFactor
}%
\fi
@@ -979,7 +994,9 @@
/CO{corder}%
\ifHy@pdfa
\else
- /NeedAppearances true%
+ \ifHyField@NeedAppearances
+ /NeedAppearances true%
+ \fi
\fi
>>%
/PUT pdfmark%