From 5d714d9476cbb90b125ff14a9d764ad90bb7c2ed Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 24 Sep 2021 03:01:47 +0000
Subject: CTAN sync 202109240301

---
 macros/latex/contrib/xmpincl/xmpincl.dtx | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

(limited to 'macros/latex/contrib/xmpincl/xmpincl.dtx')

diff --git a/macros/latex/contrib/xmpincl/xmpincl.dtx b/macros/latex/contrib/xmpincl/xmpincl.dtx
index 2b9b8744cd..7d9acbd598 100644
--- a/macros/latex/contrib/xmpincl/xmpincl.dtx
+++ b/macros/latex/contrib/xmpincl/xmpincl.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2004 by Maarten Sneep <sneep@nat.vu.nl>
+% Copyright (C) 2004 by Maarten Sneep
 % -----------------------------------------------------
 % 
 % This work is licensed under the CC-GNU GPL, the human readable license
@@ -20,7 +20,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{xmpincl}
 %<*package>
-    [2021/08/31 v2.3 Include XMP data in pdflatex]
+    [2021/09/22 v2.4 Include XMP data in pdflatex]
 %</package>
 %
 %<*driver>
@@ -29,7 +29,7 @@
 \usepackage{url}
 \usepackage{xmpincl}
 \hypersetup{colorlinks=true, pdftitle={Including XMP in pdflatex}, 
-   pdfauthor={Maarten Sneep <sneep@nat.vu.nl>},
+   pdfauthor={Maarten Sneep},
    pdfsubject={pdflatex and XMP inclusions.}, pdfkeywords={XMP, Creative Commons},
    pdfview={FitH}, pdfstartview={FitH}, pdfstartpage={1}, plainpages=false}
 \includexmp{license}
@@ -79,6 +79,8 @@
 %   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}.}
+% \changes{v2.4}{2021/09/22}{Replaced \cs{ifx}\cs{par} with \cs{if}\cs{endline}
+%   because the former caused pdf/a validation errors.}
 %
 % \GetFileInfo{xmpincl.dtx}
 %
@@ -90,7 +92,7 @@
 %
 % \title{The \textsf{XMP} inclusion package\thanks{This document
 %   corresponds to \textsf{xmpincl.dtx}~\fileversion, dated \filedate.}}
-% \author{Maarten Sneep \\ \href{mailto:sneep@nat.vu.nl}{sneep@nat.vu.nl}}
+% \author{Maarten Sneep}
 % \date{\filedate}
 %
 % \maketitle
@@ -151,7 +153,7 @@
 % package. This new release (version 2.0) does add the |<?xpacket ?>|
 % tags, if they are \emph{not} present in the |xmp| file.
 %
-% \subsection{New in the current release (\fileversion)}
+% \subsection{New in the release v2.1}
 % 
 % There used to be a clash between the Memoir document class and the |ifpdf| package.
 % As of version 2005/03/23 v3.9 of |mempatch.sty|, this clash has been removed, and 
@@ -289,8 +291,8 @@
 }%
 %    \end{macrocode}
 % Start the |\loop|, and read a line. Check if it is equal to the end tag
-% or to |\par|, and if it isn't, write it out to the |.xmpi| file. The
-% check against |\par| ensures that empty lines are skipped, and not
+% or to |\endline|, and if it isn't, write it out to the |.xmpi| file. The
+% check against |\endline| ensures that empty lines are skipped, and not
 % replaced by |\par|.
 % 
 % The |\ifeof| test checks whether we've reached the end of the original
@@ -302,7 +304,7 @@
     \equal{\mcs@xmpinclEnd}{\xmpinclReadln}%
     }{% Note: no if.
     }{%
-    \ifx\par\xmpinclReadln\else%
+    \if\endline\xmpinclReadln\else%
       \immediate\write\xmpinclWrite{\xmpinclReadln}%
     \fi%
   }%
-- 
cgit v1.2.3

