summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-01 20:47:07 +0000
committerKarl Berry <karl@freefriends.org>2021-09-01 20:47:07 +0000
commite7f71abb832b04e9312135832a87476404317c47 (patch)
treedc5a4ecc3cd690a562b77c56e236711caa1e7639 /Master/texmf-dist
parent1d64c92bb464637964125c37de161378370879ce (diff)
xmpincl (1sep21)
git-svn-id: svn://tug.org/texlive/trunk@60392 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx8
-rw-r--r--Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty4
2 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx b/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx
index 8683edec2d9..2b9b8744cd1 100644
--- a/Master/texmf-dist/source/latex/xmpincl/xmpincl.dtx
+++ b/Master/texmf-dist/source/latex/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%
}%
diff --git a/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty b/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty
index eabdc8c7615..2a0978b54a9 100644
--- a/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty
+++ b/Master/texmf-dist/tex/latex/xmpincl/xmpincl.sty
@@ -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@xmpinclEnd}{\xmpinclReadln}%
}{% Note: no if.
}{%
- \if\par\xmpinclReadln\else%
+ \ifx\par\xmpinclReadln\else%
\immediate\write\xmpinclWrite{\xmpinclReadln}%
\fi%
}%