diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index 4206ca92dcb..005c6f181e2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -8,7 +8,7 @@ %% %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, %% with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2007 Heiko Oberdiek. +%% 2001-2008 Heiko Oberdiek. %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2007/11/20 v6.77g + [2008/01/09 v6.77i Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -49,7 +49,11 @@ \@makeother\\% |@firstofone{|endgroup |def|Hy@pstringdef#1#2{% - |edef#1{#2}% + |begingroup + |edef~{|string~}% + |xdef|Hy@gtemp{#2}% + |endgroup + |let#1|Hy@gtemp |@onelevel@sanitize#1% |edef#1{|expandafter|Hy@ExchangeBackslash#1\|@nil}% |edef#1{|expandafter|Hy@ExchangeLeftParenthesis#1(|@nil}% @@ -88,7 +92,11 @@ }% \else \def\Hy@pstringdef#1#2{% - \edef#1{\pdf@escapestring{#2}}% + \begingroup + \edef~{\string~}% + \xdef\Hy@gtemp{\pdf@escapestring{#2}}% + \endgroup + \let#1\Hy@gtemp }% \fi \let\Hy@pdfminorversion\relax |