[latex3-commits] [git/LaTeX3-latex3-pdfresources] rename-coredict: adapted dvips tests (01b4d86)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sat Nov 21 18:55:29 CET 2020
Repository : https://github.com/latex3/pdfresources
On branch : rename-coredict
Link : https://github.com/latex3/pdfresources/commit/01b4d86a26443ca0b76d23b897a891d637ef0481
>---------------------------------------------------------------
commit 01b4d86a26443ca0b76d23b897a891d637ef0481
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Nov 21 18:55:29 2020 +0100
adapted dvips tests
>---------------------------------------------------------------
01b4d86a26443ca0b76d23b897a891d637ef0481
testfiles-dvips/annot.pvt | 6 +++---
testfiles-dvips/bdc-properties.pvt | 6 +++---
testfiles-dvips/catalogAF.pvt | 10 +++++-----
testfiles-dvips/embedfile.pvt | 14 +++++++-------
testfiles-dvips/ismap.pvt | 6 +++---
testfiles-dvips/linkhook.pvt | 6 +++---
testfiles-dvips/pagelabels.pvt | 6 +++---
testfiles-dvips/pdffilelink.pvt | 6 +++---
8 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/testfiles-dvips/annot.pvt b/testfiles-dvips/annot.pvt
index 4059dd2..97f1498 100644
--- a/testfiles-dvips/annot.pvt
+++ b/testfiles-dvips/annot.pvt
@@ -5,9 +5,9 @@
\documentclass{article}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
\begin{document}
diff --git a/testfiles-dvips/bdc-properties.pvt b/testfiles-dvips/bdc-properties.pvt
index ba3301a..9218b2f 100644
--- a/testfiles-dvips/bdc-properties.pvt
+++ b/testfiles-dvips/bdc-properties.pvt
@@ -5,9 +5,9 @@
\documentclass{article}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
diff --git a/testfiles-dvips/catalogAF.pvt b/testfiles-dvips/catalogAF.pvt
index 4381561..e10d9f0 100644
--- a/testfiles-dvips/catalogAF.pvt
+++ b/testfiles-dvips/catalogAF.pvt
@@ -9,9 +9,9 @@
}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
\documentclass{article}
@@ -21,8 +21,8 @@
\pdf_object_new:nn {filespec2}{dict}
\pdf_object_write:nn {filespec2} {/Type /Filespec /UF (example2.pdf)}
-\pdfcoredict_gput:nnx { Catalog } {AF} {\pdf_object_ref:n {filespec1}}
-\pdfcoredict_gput:nnx { Catalog } {AF} {\pdf_object_ref:n {filespec2}}
+\pdfmanagement_add:nnx { Catalog } {AF} {\pdf_object_ref:n {filespec1}}
+\pdfmanagement_add:nnx { Catalog } {AF} {\pdf_object_ref:n {filespec2}}
\ExplSyntaxOff
\begin{document}
\START
diff --git a/testfiles-dvips/embedfile.pvt b/testfiles-dvips/embedfile.pvt
index d6b0292..867529f 100644
--- a/testfiles-dvips/embedfile.pvt
+++ b/testfiles-dvips/embedfile.pvt
@@ -5,9 +5,9 @@
\usepackage{l3pdffile}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
@@ -49,10 +49,10 @@ grüße
-\pdfcoredict_gput:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example1}}
-\pdfcoredict_gput:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example2}}
-\pdfcoredict_gput:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example3}}
-\pdfcoredict_gput:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example4}}
+\pdfmanagement_add:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example1}}
+\pdfmanagement_add:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example2}}
+\pdfmanagement_add:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example3}}
+\pdfmanagement_add:nnx{Catalog/Names}{EmbeddedFiles}{\pdf_object_ref:n{example4}}
%\prop_show:N \g__pdffile_file_embed_sources_prop
%\seq_show:N \g__pdf_backend_EmbeddedFiles_seq
diff --git a/testfiles-dvips/ismap.pvt b/testfiles-dvips/ismap.pvt
index fe17f25..f400585 100644
--- a/testfiles-dvips/ismap.pvt
+++ b/testfiles-dvips/ismap.pvt
@@ -7,9 +7,9 @@
\begin{document}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
\href[ismap=true]{https://www.latex-project.org#abc~xyz}{xxxxx}
diff --git a/testfiles-dvips/linkhook.pvt b/testfiles-dvips/linkhook.pvt
index 6d19458..57b87d4 100644
--- a/testfiles-dvips/linkhook.pvt
+++ b/testfiles-dvips/linkhook.pvt
@@ -8,9 +8,9 @@
}
\ExplSyntaxOn
%%% for reproducible tests:
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
%%%%%
\ExplSyntaxOff
\input{regression-test}
diff --git a/testfiles-dvips/pagelabels.pvt b/testfiles-dvips/pagelabels.pvt
index bd804de..8317624 100644
--- a/testfiles-dvips/pagelabels.pvt
+++ b/testfiles-dvips/pagelabels.pvt
@@ -12,9 +12,9 @@
\renewcommand\thepage{λέγ\arabic{page}}
\begin{document}
\ExplSyntaxOn
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
\ExplSyntaxOff
abc \newpage abc \newpage abc \newpage \pagenumbering{roman} abc \newpage \pagenumbering{Roman}\setcounter{page}{5} abc
\end{document}
diff --git a/testfiles-dvips/pdffilelink.pvt b/testfiles-dvips/pdffilelink.pvt
index f77051b..33c176c 100644
--- a/testfiles-dvips/pdffilelink.pvt
+++ b/testfiles-dvips/pdffilelink.pvt
@@ -6,9 +6,9 @@
\begin{document}
\ExplSyntaxOn
-\pdfcoredict_gput:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
-\pdfcoredict_gput:nnn {Info}{Creator}{(l3build test)}
+\pdfmanagement_add:nnn {Info}{CreationDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{ModDate}{(D:20200202111111+01'00')}
+\pdfmanagement_add:nnn {Info}{Creator}{(l3build test)}
\ExplSyntaxOff
\href{blub.pdf#destination}{pdf}
More information about the latex3-commits
mailing list.