[latex3-commits] [latex3/pdfresources] develop: correct logic (a9fd957)
github at latex-project.org
github at latex-project.org
Sat Apr 6 18:01:34 CEST 2024
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/a9fd9577d6cbc528afb61c4a087712d1f3f51908
>---------------------------------------------------------------
commit a9fd9577d6cbc528afb61c4a087712d1f3f51908
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Apr 6 18:01:34 2024 +0200
correct logic
>---------------------------------------------------------------
a9fd9577d6cbc528afb61c4a087712d1f3f51908
l3pdfmeta.dtx | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index f37858a..142f5b6 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -1187,20 +1187,20 @@
{
\pdfmeta_standard_verify:nTF {outputintent_A}
{
- \prop_if_exist:cTF {c_@@_colorprofile_#2}
- {
- \prop_map_inline:Nn \g_@@_outputintents_prop
- {
- \@@_embed_colorprofile:n
- {#2}
- \@@_write_outputintent:nn
- {#2}
- {#1}
- }
+ \prop_map_inline:Nn \g_@@_outputintents_prop
+ {
+ \prop_if_exist:cTF {c_@@_colorprofile_#2}
+ {
+ \@@_embed_colorprofile:n
+ {#2}
+ \@@_write_outputintent:nn
+ {#2}
+ {#1}
+ }
+ {
+ \msg_warning:nnn{pdfmeta}{colorprofile-undefined}{#2}
+ }
}
- {
- \msg_warning:nnn{pdfmeta}{colorprofile-undefined}{#2}
- }
}
% \end{macrocode}
% If an output intent is required for pdf/A we need to ensure, that the key of
More information about the latex3-commits
mailing list.