[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: remove commands now in l3pdf/renamed, update docu of l3pdftools (6d6cb3d)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun Feb 21 01:09:11 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : main
Link : https://github.com/latex3/pdfresources/commit/6d6cb3d073d7c968da6f1d7e23c5b0a807f8c165
>---------------------------------------------------------------
commit 6d6cb3d073d7c968da6f1d7e23c5b0a807f8c165
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Feb 21 01:09:11 2021 +0100
remove commands now in l3pdf/renamed, update docu of l3pdftools
>---------------------------------------------------------------
6d6cb3d073d7c968da6f1d7e23c5b0a807f8c165
firstaid/hyperxmp-patches-tmp-ltx.sty | 6 ++--
l3pdftools.dtx | 64 ++++++++--------------------------
l3pdftools.pdf | Bin 499112 -> 504335 bytes
3 files changed, 18 insertions(+), 52 deletions(-)
diff --git a/firstaid/hyperxmp-patches-tmp-ltx.sty b/firstaid/hyperxmp-patches-tmp-ltx.sty
index 4bf9ef3..602f337 100644
--- a/firstaid/hyperxmp-patches-tmp-ltx.sty
+++ b/firstaid/hyperxmp-patches-tmp-ltx.sty
@@ -1,5 +1,5 @@
%% This is file `hyperxmp-patches-tmp-ltx.sty"
-% Copyright (C) 2019-2020 The LaTeX3 Project
+% Copyright (C) 2019-2021 The LaTeX3 Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -20,7 +20,7 @@
% for those people who are interested.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}
- {2021-02-11} {0.4}
+ {2021-02-22} {0.95a}
{Store hyperref metadata in XMP format / temporay patches to test pdfresource management ... UF}
\cs_if_exist:NT \pdfmanagement_add:nnn
@@ -42,7 +42,7 @@
\exp_args:Nnx
\pdf_object_unnamed_write:nn{stream}{{/Type~/Metadata~/Subtype~/XML}{\hyxmp at xml}}%
% reference in the Catalog:
- \pdfmanagement_add:nnx {Catalog} {Metadata}{\pdf_object_last:}
+ \pdfmanagement_add:nnx {Catalog} {Metadata}{\pdf_object_ref_last:}
}
% A standard should be retrieved from the document settings.
diff --git a/l3pdftools.dtx b/l3pdftools.dtx
index 62659b1..3b6ad06 100644
--- a/l3pdftools.dtx
+++ b/l3pdftools.dtx
@@ -11,7 +11,7 @@
%
% http://www.latex-project.org/lppl.txt
%
-% This file is part of the "(experimental) pdfmanagement bundle" (The Work in LPPL)
+% This file is part of the "PDFmanagement bundle (testphase)" (The Work in LPPL)
% and all files in that bundle must be distributed together.
%
% -----------------------------------------------------------------------
@@ -23,8 +23,15 @@
% for those people who are interested.
%
%<*driver>
-\RequirePackage{expl3}
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b}
+\makeatletter
+\declare at file@substitution{doc.sty}{doc-v3beta.sty}
+\makeatother
\documentclass[full]{l3doc}
+\usepackage{array,booktabs,hyperxmp}
+\hypersetup{pdfauthor=The LaTeX Project,pdftitle=l3pdftools (PDFmanagement bundle (testphase))}
+
\providecommand\potentialclash{\noindent\llap{\dbend\ }}
\begin{document}
\DocInput{\jobname.dtx}
@@ -33,11 +40,12 @@
% \fi
%
% \title{^^A
-% The \pkg{l3pdftools} package\\ collection of pdf related commands ^^A
+% The \pkg{l3pdftools} package\\ temporary collection of pdf related commands ^^A
+% \\ PDFmanagement bundle (testphase)
% }
%
% \author{^^A
-% The \LaTeX3 Project\thanks
+% The \LaTeX Project\thanks
% {^^A
% E-mail:
% \href{mailto:latex-team at latex-project.org}
@@ -45,7 +53,7 @@
% }^^A
% }
%
-% \date{Released XXXX-XX-XX}
+% \date{Version 0.95a, released 2021-02-22}
%
% \maketitle
% \begin{documentation}
@@ -191,20 +199,6 @@
% \end{verbatim}
% \end{function}
%
-%\subsection{references to page objects}
-% \begin{NOTE}{UF}
-% a reference to the current page would be useful, but difficult to
-% abstract in a sensible way. With xetex it is simply @thispage, but the other
-% engines are unclear.
-% \end{NOTE}
-% \begin{function}[EXP, added = 2019-08-18]
-% {\pdf_pageobject_ref:n}
-% \begin{syntax}
-% \cs{pdf_pageobject_ref:n} \Arg{number}
-% \end{syntax}
-% This returns the object reference of a page object. The \Arg{number} is
-% the absolute page number. The count starts with one.
-% \end{function}
%
% \end{documentation}
%
@@ -214,8 +208,8 @@
%
% \begin{macrocode}
%<*package>
-\ProvidesExplPackage {l3pdftools} {2021-01-09} {0.2}
- {various PDF tools}
+\ProvidesExplPackage {l3pdftools} {2021-02-22} {0.95a}
+ {candidate commands for l3pdf---PDFmanagement bundle (testphase)}
% \end{macrocode}
%
% \begin{macrocode}
@@ -428,34 +422,6 @@
%</package>
% \end{macrocode}
%
-% \subsection{Reference to the page object}
-% \begin{macro}{ \pdf_pageobject_ref:n }
-% \begin{macrocode}
-%<*package>
-\cs_if_free:NT \pdf_pageobject_ref:n
- {
- \cs_new:Npn \pdf_pageobject_ref:n #1 { \@@_backend_pageobject_ref:n { #1 }}
- }
-%</package>
-% \end{macrocode}
-% \end{macro}
-%
-% \subsection{transition commands}
-% \begin{macrocode}
-%define old for new formats
-\cs_if_free:NT \pdf_object_now:nn
- {
- \cs_set_eq:NN \pdf_object_now:nn \pdf_object_unnamed_write:nn
- \cs_set_eq:NN \pdf_object_last: \pdf_object_ref_last:
- }
-%define new for old formats
-\cs_if_free:NT \pdf_object_unnamed_write:nn
- {
- \cs_set_eq:NN \pdf_object_unnamed_write:nn \pdf_object_now:nn
- \cs_generate_variant:Nn \pdf_object_unnamed_write:nn {nx}
- \cs_set_eq:NN \pdf_object_ref_last: \pdf_object_last:
- }
-% \end{macrocode}
% \end{implementation}
%
% \PrintIndex
diff --git a/l3pdftools.pdf b/l3pdftools.pdf
index 0ff1ad8..cdced74 100644
Binary files a/l3pdftools.pdf and b/l3pdftools.pdf differ
More information about the latex3-commits
mailing list.