texlive[50141] Master/texmf-dist: hyperxmp (26feb19)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 26 21:56:20 CET 2019


Revision: 50141
          http://tug.org/svn/texlive?view=revision&revision=50141
Author:   karl
Date:     2019-02-26 21:56:20 +0100 (Tue, 26 Feb 2019)
Log Message:
-----------
hyperxmp (26feb19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hyperxmp/README
    trunk/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf
    trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx
    trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.ins
    trunk/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty

Modified: trunk/Master/texmf-dist/doc/latex/hyperxmp/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hyperxmp/README	2019-02-26 10:19:50 UTC (rev 50140)
+++ trunk/Master/texmf-dist/doc/latex/hyperxmp/README	2019-02-26 20:56:20 UTC (rev 50141)
@@ -51,7 +51,7 @@
 Copyright and license
 =====================
 
-Copyright (C) 2018 Scott Pakin
+Copyright (C) 2019 Scott Pakin
 
 This file may be distributed and/or modified under the conditions of
 the LaTeX Project Public License, either version 1.3c of this license

Modified: trunk/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx	2019-02-26 10:19:50 UTC (rev 50140)
+++ trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx	2019-02-26 20:56:20 UTC (rev 50141)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2018 by Scott Pakin <scott+hyxmp at pakin.org>
+% Copyright (C) 2019 by Scott Pakin <scott+hyxmp at pakin.org>
 % -------------------------------------------------------
 %
 % This file may be distributed and/or modified under the
@@ -22,7 +22,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{hyperxmp}
 %<*package>
-    [2018/11/27 v3.5 Store hyperref metadata in XMP format]
+    [2019/02/25 v3.5a Store hyperref metadata in XMP format]
 %</package>
 %
 %<*driver>
@@ -55,7 +55,7 @@
   pdftitle={The hyperxmp package},
   pdfsubject={LaTeX2e support for XMP metadata},
   pdfkeywords={LaTeX, embedded metadata, XMP, PDF, copyright, license, comments},
-  pdfcopyright={Copyright (C) 2018, Scott Pakin},
+  pdfcopyright={Copyright (C) 2019, Scott Pakin},
   pdflicenseurl={http://www.latex-project.org/lppl/},
   pdfcaptionwriter={Scott Pakin},
   pdfcontactemail={scott+hyxmp at pakin.org},
@@ -835,7 +835,42 @@
 %   \XMPLangAlt{rm}{pdftitle={Titel rumantsch}}
 % \end{verbatim}
 %
+% \usagenote{Expandable arguments}
+% All arguments passed to \pkgname{hyperxmp} options must be expandable,
+% in \tex\ terminology.  This implies that any macros that are used in
+% arguments are limited to a relatively small set of operations (such as
+% conditionals and macro expansion) and must produce a string of text.
+% Code (such as macro definitions and arithmetic operations) will be
+% written to \acro{XMP} as code, not as the result of executing the
+% code.
 %
+% By way of example, the macros provided by the \pkgname{texdate}
+% package for typesetting dates are not expandable (at least at the time
+% of this writing).  Hence, the |\printfdate{Y}| in the following code
+% snippet is not replaced by the current year, as one might expect:
+%
+% \begin{verbatim}
+% \usepackage{texdate}
+% \initcurrdate
+% \hypersetup{%
+%   pdfcopyright={Copyright \textcopyright\ \printfdate{Y}, Scott Pakin}
+% }
+% \end{verbatim}
+%
+% \noindent
+% Rather, it generates a \xmpterm{dc:rights} tag of the form
+% ``\texttt{Copyright \textcopyright\ =2=0=by-1by=0\the\year, Scott
+%   Pakin}''.  The garbage in that line corresponds to the remnants of
+% the |\printfdate| code after expanding all of the \tex\ primitives and
+% certain other control sequences it uses to the empty string.  For
+% example, ``|\global\advance\texd at yr| |by-1|'' expands to ``|by-1|''.
+%
+% It is not possible to determine a~priori whether or not a macro is
+% expandable.  The best advice is to carefully inspect the \acro{XMP}
+% package in the output file to ensure that any macros used in arguments
+% to \pkgname{hyperxmp} options produced the expected output.
+%
+%
 % \StopEventually{^^A
 % \section{Future Work}
 % \label{sec:future-work}

Modified: trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.ins	2019-02-26 10:19:50 UTC (rev 50140)
+++ trunk/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.ins	2019-02-26 20:56:20 UTC (rev 50141)
@@ -1,5 +1,5 @@
 %%
-%% Copyright (C) 2018 by Scott Pakin <scott+hyxmp at pakin.org>
+%% Copyright (C) 2019 by Scott Pakin <scott+hyxmp at pakin.org>
 %%
 %% This file may be distributed and/or modified under the conditions of
 %% the LaTeX Project Public License, either version 1.3c of this license
@@ -21,7 +21,7 @@
 
 This is a generated file.
 
-Copyright (C) 2018 by Scott Pakin <scott+hyxmp at pakin.org>
+Copyright (C) 2019 by Scott Pakin <scott+hyxmp at pakin.org>
 
 This file may be distributed and/or modified under the conditions of
 the LaTeX Project Public License, either version 1.3c of this license

Modified: trunk/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty	2019-02-26 10:19:50 UTC (rev 50140)
+++ trunk/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty	2019-02-26 20:56:20 UTC (rev 50141)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2018 by Scott Pakin <scott+hyxmp at pakin.org>
+%% Copyright (C) 2019 by Scott Pakin <scott+hyxmp at pakin.org>
 %% 
 %% This file may be distributed and/or modified under the conditions of
 %% the LaTeX Project Public License, either version 1.3c of this license
@@ -22,7 +22,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{hyperxmp}
-    [2018/11/27 v3.5 Store hyperref metadata in XMP format]
+    [2019/02/25 v3.5a Store hyperref metadata in XMP format]
 \edef\hyxmp at dq@code{\the\catcode`\"}
 \catcode`\"=12
 \def\hyxmp at driver{hpdftex}



More information about the tex-live-commits mailing list