From 1289605ec141e7ea09909ac31c112ef4a07ebe29 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 20 Sep 2012 21:35:15 +0000 Subject: hyperxmp (20sep12) git-svn-id: svn://tug.org/texlive/trunk@27753 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hyperxmp') diff --git a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty index bf84fefeed5..548b92fff4b 100644 --- a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty +++ b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{hyperxmp} - [2012/09/10 v2.0 Store hyperref metadata in XMP format] + [2012/09/16 v2.1 Store hyperref metadata in XMP format] \edef\hyxmp@dq@code{\the\catcode`\"} \catcode`\"=12 \def\hyxmp@driver{hpdftex} @@ -47,8 +47,7 @@ \define@key{Hyp}{pdfcaptionwriter}{\pdfstringdef\@pdfcaptionwriter{#1}} \def\@pdfmetalang{} \define@key{Hyp}{pdfmetalang}{\pdfstringdef\@pdfmetalang{#1}} -\let\hyxmp@ProcessKeyvalOptions=\ProcessKeyvalOptions -\renewcommand*{\ProcessKeyvalOptions}{% +\newcommand*{\hyxmp@redefine@Hyp}{% \@ifundefined{KV@Hyp@pdfauthor}{}{% \@ifundefined{hyxmp@Hyp@pdfauthor}{% \expandafter\let\expandafter\hyxmp@Hyp@pdfauthor @@ -83,8 +82,17 @@ \let\xmpcomma=\relax \let\xmpquote=\relax }% +} +\let\hyxmp@ProcessKeyvalOptions=\ProcessKeyvalOptions +\renewcommand*{\ProcessKeyvalOptions}{% + \hyxmp@redefine@Hyp \hyxmp@ProcessKeyvalOptions } +\let\hyxmp@hypersetup=\hypersetup +\def\hypersetup{% + \hyxmp@redefine@Hyp + \hyxmp@hypersetup +} \newcommand*{\hyxmp@find@metadata}{% \edef\hyxmp@concated@metadata{% \@baseurl -- cgit v1.2.3