diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-02 21:55:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-02 21:55:35 +0000 |
commit | 9a95a8e746f2afb7015aea9f8df962351f758670 (patch) | |
tree | 95dfff8f5c5c3ff5b9c0aae62b826fc19d28df47 /Master/texmf-dist/tex/latex/hyperxmp | |
parent | 633495bb5eb513a10809d4976d253779abdeb0e1 (diff) |
hyperxmp (2nov20)
git-svn-id: svn://tug.org/texlive/trunk@56839 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperxmp')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty index 0bec03894dd..46cc9c97564 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} - [2020/10/05 v5.6 Store hyperref metadata in XMP format] + [2020/11/01 v5.7 Store hyperref metadata in XMP format] \edef\hyxmp@dq@code{\the\catcode`\"} \catcode`\"=12 \@ifundefined{AtEndDocument}{% @@ -513,10 +513,6 @@ if nbytes then end }% }% -\else - \ifPDFTeX - \edef\hyxmp@prev@pdf@size{\pdffilesize{\hyxmp@jobname.pdf}}% - \fi \fi \newcommand*{\hyxmp@query@self}{% \ifLuaTeX @@ -1459,9 +1455,14 @@ ______</dc:#2>^^J% \hyxmp@add@simple{xmpRights:WebStatement}{\@pdflicenseurl}% \fi } +\expandafter\hyxmp@aep@toks\expandafter=\expandafter{% + \the\hyxmp@aep@toks + \AtEndPreamble{% + \@ifmtargexp{\hyxmp@DocumentID}{\hyxmp@def@DocumentID}{}% + \@ifmtargexp{\hyxmp@InstanceID}{\hyxmp@def@InstanceID}{}% + }% +} \gdef\hyxmp@mm@schema{% - \@ifmtargexp{\hyxmp@DocumentID}{\hyxmp@def@DocumentID}{}% - \@ifmtargexp{\hyxmp@InstanceID}{\hyxmp@def@InstanceID}{}% \hyxmp@add@simple{xmpMM:DocumentID}{\hyxmp@DocumentID}% \hyxmp@add@simple{xmpMM:InstanceID}{\hyxmp@InstanceID}% \hyxmp@add@simple{xmpMM:VersionID}{\@pdfversionid}% |