texlive[60392] Master/texmf-dist: xmpincl (1sep21)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 1 22:47:07 CEST 2021


Revision: 60392
          http://tug.org/svn/texlive?view=revision&revision=60392
Author:   karl
Date:     2021-09-01 22:47:07 +0200 (Wed, 01 Sep 2021)
Log Message:
-----------
xmpincl (1sep21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx
    trunk/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty

Modified: trunk/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx	2021-09-01 20:46:46 UTC (rev 60391)
+++ trunk/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx	2021-09-01 20:47:07 UTC (rev 60392)
@@ -20,7 +20,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{xmpincl}
 %<*package>
-    [2008/05/10 v2.2 Include XMP data in pdflatex]
+    [2021/08/31 v2.3 Include XMP data in pdflatex]
 %</package>
 %
 %<*driver>
@@ -77,6 +77,8 @@
 % \changes{v2.2}{2008/05/10}{Minor update: made |~| and |&| normal characters 
 %   when writing the xmpi file. I still need to find a way to include |%| 
 %   characters in the xmpi file.}
+% \changes{v2.3}{2021/08/31}{Replaced \cs{if}\cs{par} with \cs{ifx}\cs{par}
+%   because the former caused an error with the new definition of \cs{par}.}
 %
 % \GetFileInfo{xmpincl.dtx}
 %
@@ -94,7 +96,7 @@
 % \maketitle
 %
 % \section{Introduction}
-% 
+%
 % The |XMP| (eXtensible Metadata Platform) is a framework to add metadata
 % to digital material to enhance the workflow in publication. References
 % are given below, but the essence is that the metadata is stored in an
@@ -300,7 +302,7 @@
     \equal{\mcs at xmpinclEnd}{\xmpinclReadln}%
     }{% Note: no if.
     }{%
-    \if\par\xmpinclReadln\else%
+    \ifx\par\xmpinclReadln\else%
       \immediate\write\xmpinclWrite{\xmpinclReadln}%
     \fi%
   }%

Modified: trunk/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty	2021-09-01 20:46:46 UTC (rev 60391)
+++ trunk/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty	2021-09-01 20:47:07 UTC (rev 60392)
@@ -16,7 +16,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{xmpincl}
-    [2008/05/10 v2.2 Include XMP data in pdflatex]
+    [2021/08/31 v2.3 Include XMP data in pdflatex]
 \RequirePackage{ifpdf}
 \ifpdf\else
 \PackageWarningNoLine{xmpincl}%
@@ -66,7 +66,7 @@
     \equal{\mcs at xmpinclEnd}{\xmpinclReadln}%
     }{% Note: no if.
     }{%
-    \if\par\xmpinclReadln\else%
+    \ifx\par\xmpinclReadln\else%
       \immediate\write\xmpinclWrite{\xmpinclReadln}%
     \fi%
   }%



More information about the tex-live-commits mailing list.