[latex3-commits] [git/LaTeX3-latex3-pdfresources] renamedict77: adapted messages (4c667c3)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Apr 8 20:15:49 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : renamedict77
Link : https://github.com/latex3/pdfresources/commit/4c667c308b5f28d9e8ca4240009db81161a71558
>---------------------------------------------------------------
commit 4c667c308b5f28d9e8ca4240009db81161a71558
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Apr 8 20:15:49 2020 +0200
adapted messages
>---------------------------------------------------------------
4c667c308b5f28d9e8ca4240009db81161a71558
pdfresources.dtx | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pdfresources.dtx b/pdfresources.dtx
index a492c0c..c93b31e 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -146,6 +146,8 @@
{
The~dictionary~'#1'~is~not~declared.
}
+\msg_new:nnn { pdfdict } { empty-value }
+ { The~value~for~#1~is~empty~and~will~be~ignored }
% \end{macrocode}
% \section{Preparation/helper Code}
%^^A still needed:
@@ -538,17 +540,16 @@
{
\tl_if_empty:nTF { #3 }
{
- \msg_none:nnn { pdf }{ empty-value }{ /#1/#2 }
+ \msg_none:nnn { pdfdict }{ empty-value }{ /#1/#2 }
}
{
- \prop_if_exist:cTF
- { \@@_dict_Xname:n { #1 } }
+ \@@_dict_if_exist:nTF { #1 }
{
\use:c { prop_\@@_dict_get_g:n{#1}put:cnn }
{ \@@_dict_Xname:n { #1 } }{ #2 } { #3 }
}
{
- \msg_error:nnn { pdf } { wrong-path } { /#1 }
+ \msg_error:nnn { pdfdict } { unknown-dict } { /#1 }
}
}
}
More information about the latex3-commits
mailing list.