[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: cleanup messages (6ec0f76)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jul 7 19:16:16 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/6ec0f76d3d7d271748759e34b27f7018bc195498

>---------------------------------------------------------------

commit 6ec0f76d3d7d271748759e34b27f7018bc195498
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Jun 15 23:50:30 2020 +0200

    cleanup messages


>---------------------------------------------------------------

6ec0f76d3d7d271748759e34b27f7018bc195498
 l3pdfmeta.dtx      |  6 ++++++
 pdfresources.dtx   | 39 ---------------------------------------
 testfiles/show.lvt |  4 ++--
 3 files changed, 8 insertions(+), 41 deletions(-)

diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 9d82a4f..7a34465 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -104,6 +104,12 @@
   }
 
 \msg_new:nnn {pdf}{unknown-standard}{The~standard~'#1'~is~unknown~and~has~been~ignored}
+
+\msg_new:nnn  { pdf } { setup-after-documentclass }
+              { \token_to_str:N \DeclareDocumentMetaData \c_space_tl
+                should~be~used~only~before~\token_to_str:N\documentclass
+              }
+
 \bool_new:N \g_@@_meta_bool
 
 \keys_define:nn { pdf / setup }
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 22083fc..920a281 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -86,46 +86,7 @@
               { loading~patch~code }
 \msg_new:nnn  { pdf } { pgf-too-late }
               { pgf~is~already~loaded.~Patching~not~possible.}
-\msg_new:nnn  { pdf } { empty-value }
-              { The~value~for~#1~is~empty~and~will~be~ignored }
-\msg_new:nnn  { pdf } { wrong-path }
-              { This~resource~path~#1~doesn't~exist~--~perhaps~a~typo? }
 
-\msg_new:nnnn { pdf } { pagesattr-changed }
-              {
-                The~content~of~pagesattr ~has~changed.~
-                Check~if~it~is~correct.
-              }
-              {
-                This~is~probably~due~to~some~package~or~command~using~the~
-                primitive~\token_to_str:N\pdfpagesattr\c_space_tl
-                or~an~equivalent~command~instead~of~the~expl3~interface.
-              }
-\msg_new:nnnn { pdf }{ pageattr-changed }
-              {
-                The~content~of~pageattr ~has~changed.~
-                Check~if~it~is~correct.
-              }
-              {
-                This~is~probably~due~to~some~package~or~command~using~the~
-                primitive~\token_to_str:N\pdfpageattr\c_space_tl
-                or~an~equivalent~command~instead~of~the~expl3~interface.
-              }
-\msg_new:nnn  { pdf } { setup-after-documentclass }
-              { \token_to_str:N \DeclareDocumentMetaData \c_space_tl
-                should~be~used~only~before~\token_to_str:N\documentclass
-              }
-\msg_new:nnn  { pdf } { object-compression-disabled }
-              { object~compression~is~not~supported~in~pdf~version~#1 }
-\msg_new:nnn  { pdf } { catalog-special }
-              {
-                values~to~the~catalog~entry~#1~should~be~added~with~
-                \token_to_str:N\pdfgdict_gput:nnn
-              }
-\msg_new:nnn  { pdf } { catalog-unknown }
-              {
-                inserting~unknown~/#1~into~the~catalog
-              }
 % pdfdict module
 %    \end{macrocode}
 % \section{Preparation/helper Code}
diff --git a/testfiles/show.lvt b/testfiles/show.lvt
index d744dc3..3cc1478 100644
--- a/testfiles/show.lvt
+++ b/testfiles/show.lvt
@@ -7,8 +7,8 @@
 \showoutput
 abbb
 \ExplSyntaxOn
-\pdfgdict_show:n{Catalog}
-\pdfgdict_show:n{Info}
+\pdfdict_show:n{Catalog}
+\pdfdict_show:n{Info}
 \pdfdict_if_exist:nTF {blub}{true}{false}
 \pdfdict_if_gexist:nTF {Info}{true}{false}
 \ExplSyntaxOff





More information about the latex3-commits mailing list.