summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xmpincl/xmpincl.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/xmpincl/xmpincl.dtx')
-rw-r--r--macros/latex/contrib/xmpincl/xmpincl.dtx8
1 files changed, 5 insertions, 3 deletions
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%
}%