summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-11 00:51:53 +0000
committerKarl Berry <karl@freefriends.org>2010-03-11 00:51:53 +0000
commit66dac6c1151673a49ee534ed1c68adae289d27a9 (patch)
tree2ccbaeb9f78361137b6bdbdd4b387a34c595a161 /Master/texmf-dist/source/latex/hyperref
parentf43caf70449f8e66d44a5bf6b1d95259f8c964fd (diff)
hyperref update (10mar10)
git-svn-id: svn://tug.org/texlive/trunk@17412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx24
1 files changed, 22 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 3802bd65f69..4ebac1710ad 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -44,7 +44,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2010/03/09 v6.80l
+%<!none> [2010/03/10 v6.80m
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -126,7 +126,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{26216}
+% \CheckSum{26245}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -5572,24 +5572,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}{%
@@ -5607,11 +5624,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}{%
@@ -5691,6 +5710,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