[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, master: add test for format date (117b6bb)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Dec 3 15:25:02 CET 2020


Repository : https://github.com/latex3/pdfresources
On branches: develop,master
Link       : https://github.com/latex3/pdfresources/commit/117b6bbc381b54dbeb20f3db98011591eab30d17

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

commit 117b6bbc381b54dbeb20f3db98011591eab30d17
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Dec 3 15:25:02 2020 +0100

    add test for format date


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

117b6bbc381b54dbeb20f3db98011591eab30d17
 pdfmanagement.dtx | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/pdfmanagement.dtx b/pdfmanagement.dtx
index b3cef76..bf2f517 100644
--- a/pdfmanagement.dtx
+++ b/pdfmanagement.dtx
@@ -231,6 +231,9 @@
 % \subsection{tagpdf}
 % The development code is compatible and will be uploaded in time.
 %
+% \subsection{ocgx2, animate, media9}
+% These package all make use of low-level PDF command and will
+% have to be reviewed.
 %
 % \end{documentation}
 % \begin{implementation}
@@ -239,7 +242,16 @@
 %<*package>
 \ProvidesExplPackage {pdfmanagement} {2020-11-26} {0.8}
   {experimental pdf-resource management}
-%\RequirePackage{zref-base}
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\IfFormatAtLeastTF{2020-10-01}{}{%
+ \PackageWarning{pdfmanagement}{This~package~needs~LaTeX~2020-10-01~or~newer.\MessageBreak Loading~is~aborted.}{}
+ \DeclareOption { debug }{}
+ \DeclareOption { patches }{}
+ \newcommand\DeclareDocumentMetadata[1]{}%
+ \ProcessOptions\relax
+ }
+\IfFormatAtLeastTF{2020-10-01}{}{\endinput}
+
 \RequirePackage{bitset}
 \DeclareOption { debug }
   {





More information about the latex3-commits mailing list.