summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperxmp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-20 21:35:15 +0000
committerKarl Berry <karl@freefriends.org>2012-09-20 21:35:15 +0000
commit1289605ec141e7ea09909ac31c112ef4a07ebe29 (patch)
tree0ba062ff089faca6fac1ba179c8ab8ff35fef142 /Master/texmf-dist/tex/latex/hyperxmp
parent3db26f906a3a1b7a3bb46203329de73c1bd7aec3 (diff)
hyperxmp (20sep12)
git-svn-id: svn://tug.org/texlive/trunk@27753 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperxmp')
-rw-r--r--Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty14
1 files changed, 11 insertions, 3 deletions
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