summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperxmp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-25 21:40:31 +0000
committerKarl Berry <karl@freefriends.org>2014-09-25 21:40:31 +0000
commit1774462ee3e140412a989f454c5f8763ba6e7758 (patch)
tree0480e5faa965a566e2988c7727131a3ddc9e4617 /Master/texmf-dist/tex/latex/hyperxmp
parentd2eaed0a00c74cf42ca7420db4facc90d91b6b75 (diff)
hyperxmp (25sep14)
git-svn-id: svn://tug.org/texlive/trunk@35258 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperxmp')
-rw-r--r--Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
index fc1e808e8bb..431b0651b4c 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}
- [2014/06/19 v2.5 Store hyperref metadata in XMP format]
+ [2014/09/24 v2.6 Store hyperref metadata in XMP format]
\edef\hyxmp@dq@code{\the\catcode`\"}
\catcode`\"=12
\def\hyxmp@driver{hpdftex}
@@ -43,6 +43,8 @@
\pdfstringdef{#1}{#2}%
\let\textunderscore=\hyxmp@textunderscore
}
+\def\@pdfdatetime{}
+\define@key{Hyp}{pdfdate}{\hyxmp@pdfstringdef\@pdfdatetime{#1}}
\def\@pdfcopyright{}
\define@key{Hyp}{pdfcopyright}{\hyxmp@pdfstringdef\@pdfcopyright{#1}}
\def\@pdflicenseurl{}
@@ -75,7 +77,6 @@
\define@key{Hyp}{pdfcontactemail}{\hyxmp@pdfstringdef\@pdfcontactemail{#1}}
\def\@pdfcontacturl{}
\define@key{Hyp}{pdfcontacturl}{\hyxmp@pdfstringdef\@pdfcontacturl{#1}}
-
\def\hyxmp@pdfauthor{}
\def\hyxmp@pdfkeywords{}
\newcommand*{\hyxmp@redefine@Hyp}{%
@@ -139,6 +140,7 @@
\@pdfcontactregion
\@pdfcontacturl
\@pdfcopyright
+ \@pdfdatetime
\@pdfkeywords
\@pdflang
\@pdflicenseurl
@@ -164,6 +166,10 @@ provide metadata values to hyperxmp}%
\edef\@pdfmetalang{\@pdflang}%
\fi
\hyxmp@xmlify\@pdfmetalang
+ \ifx\@pdfdatetime\@empty
+ \else
+ \edef\hyxmp@today{\@pdfdatetime}%
+ \fi
\hyxmp@at@end{%
\hyxmp@find@metadata
\hyxmp@embed@packet
@@ -886,7 +892,6 @@ __________________________<pdfaField:description>#2</pdfaField:description>^^J%
________________________</rdf:li>^^J%
}
}
-
\newcommand*{\hyxmp@pdfa@id@schema}{%
\ifHy@pdfa
\hyxmp@add@to@xml{%