From 1774462ee3e140412a989f454c5f8763ba6e7758 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Sep 2014 21:40:31 +0000 Subject: hyperxmp (25sep14) git-svn-id: svn://tug.org/texlive/trunk@35258 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty | 11 ++++++++--- 1 file changed, 8 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 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 @@ __________________________#2^^J% ________________________^^J% } } - \newcommand*{\hyxmp@pdfa@id@schema}{% \ifHy@pdfa \hyxmp@add@to@xml{% -- cgit v1.2.3