From 692575a36c0469a733dc7a6f68e945db811fb0c6 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 1 Sep 2021 03:02:13 +0000
Subject: CTAN sync 202109010302

---
 macros/latex/contrib/xmpincl/xmpincl.dtx | 8 +++++---
 1 file changed, 5 insertions(+), 3 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 8683edec2d..2b9b8744cd 100644
--- a/macros/latex/contrib/xmpincl/xmpincl.dtx
+++ b/macros/latex/contrib/xmpincl/xmpincl.dtx
@@ -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@xmpinclEnd}{\xmpinclReadln}%
     }{% Note: no if.
     }{%
-    \if\par\xmpinclReadln\else%
+    \ifx\par\xmpinclReadln\else%
       \immediate\write\xmpinclWrite{\xmpinclReadln}%
     \fi%
   }%
-- 
cgit v1.2.3

