summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-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{%