diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index a9b59303fb3..d05f70fedd2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2010/03/09 v6.80l + [2010/03/10 v6.80m Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -3124,24 +3124,41 @@ \let\HyXeTeX@CheckUnicode\relax \fi } +\def\HyPsd@PrerenderUnicode#1{% + \begingroup + \expandafter\ifx\csname PrerenderUnicode\endcsname\relax + \else + \sbox0{% + \let\GenericInfo\@gobbletwo + \let\GenericWarning\@gobbletwo + \let\GenericError\@gobblefour + \PrerenderUnicode{#1}% + }% + \fi + \endgroup +} \define@key{Hyp}{pdftitle}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdftitle{#1}% } \define@key{Hyp}{pdfauthor}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfauthor{#1}% } \define@key{Hyp}{pdfproducer}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfproducer{#1}% } \define@key{Hyp}{pdfcreator}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfcreator{#1}% } \define@key{Hyp}{pdfcreationdate}{% @@ -3159,11 +3176,13 @@ \define@key{Hyp}{pdfsubject}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfsubject{#1}% } \define@key{Hyp}{pdfkeywords}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfkeywords{#1}% } \define@key{Hyp}{pdftrapped}{% @@ -3243,6 +3262,7 @@ \define@key{pdfinfo}{\HyInfo@Key}{% \HyXeTeX@CheckUnicode \HyPsd@XeTeXBigCharstrue + \HyPsd@PrerenderUnicode{##1}% \pdfstringdef\HyInfo@Value{##1}% \expandafter\let\csname HyInfo@Value@\HyInfo@Key\endcsname \HyInfo@Value |