diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-25 23:32:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-25 23:32:40 +0000 |
commit | 160d4e9edc8db0aa14b4865744b6fca79846d78b (patch) | |
tree | 94bb345edbae57321cbae67cdcdc0e2ab2c1984d /Master/texmf-dist/tex/latex/hyperref/pdfmark.def | |
parent | e82be56a22fd2464132008f7cdd8c41eb906100e (diff) |
hyperref (25nov10)
git-svn-id: svn://tug.org/texlive/trunk@20566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 23 |
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% |