[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: enabled tagging (e8fa18b)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Mar 17 22:27:12 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/e8fa18b6527a21b86d41c5abf489c535ad7f2fbf
>---------------------------------------------------------------
commit e8fa18b6527a21b86d41c5abf489c535ad7f2fbf
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Mar 17 22:27:12 2021 +0100
enabled tagging
>---------------------------------------------------------------
e8fa18b6527a21b86d41c5abf489c535ad7f2fbf
build.lua | 37 ++++++++++++++++++++++-------------
firstaid/color-ltx.sty | 2 +-
firstaid/hyperxmp-patches-tmp-ltx.sty | 2 +-
firstaid/pdflscape-ltx.sty | 4 +---
firstaid/transparent-ltx.sty | 2 +-
firstaid/xcolor-patches-tmp-ltx.sty | 2 +-
hyperref-generic.dtx | 5 ++---
l3backend-testphase.dtx | 14 ++++++-------
l3pdfannot.dtx | 4 ++--
l3pdfdict.dtx | 4 ++--
l3pdffield.dtx | 4 ++--
l3pdffile.dtx | 4 ++--
l3pdfmanagement.dtx | 4 ++--
l3pdfmeta.dtx | 4 ++--
l3pdftools.dtx | 4 ++--
l3pdfxform.dtx | 4 ++--
ltdocinit.dtx | 4 ++--
pdfmanagement-firstaid.dtx | 4 ++--
pdfmanagement-testphase.dtx | 7 +++----
19 files changed, 60 insertions(+), 55 deletions(-)
diff --git a/build.lua b/build.lua
index 2bcf3db..e202f1b 100644
--- a/build.lua
+++ b/build.lua
@@ -79,27 +79,36 @@ tagfiles = {
function update_tag (file,content,tagname,tagdate)
tagdate = string.gsub (packagedate,"-", "/")
- if string.match (file, "%.dty$" ) then
+ if string.match (file, "l3backend%-testphase.dtx" ) then
content = string.gsub (content,
- "\\ProvidesExplPackage {(.-)} {.-} {.-}",
- "\\ProvidesExplPackage {%1} {" .. tagdate.."} {"..packageversion .. "}")
+ "{%d%d%d%d%-%d%d%-%d%d}",
+ "{".. packagedate .. "}")
content = string.gsub (content,
- "\\ProvidesExplFile {(.-)} {.-} {.-}",
- "\\ProvidesExplFile {%1} {" .. tagdate.."} {"..packageversion .. "}")
+ "date{Version %d%.%d+%a, released %d%d%d%d%-%d%d%-%d%d",
+ "date{Version "..packageversion..", released ".. packagedate)
+ return content
+ elseif string.match (file, "%.dtx$" ) then
+ content = string.gsub (content,
+ "\\ProvidesExplPackage{(.-)}{.-}{.-}",
+ "\\ProvidesExplPackage{%1}{" .. packagedate.."}{".packageversion .. "}")
+ content = string.gsub (content,
+ "\\ProvidesExplFile{(.-)}{.-}{.-}",
+ "\\ProvidesExplFile{%1}{" .. packagedate.."}{"..packageversion .. "}")
+
content = string.gsub (content,
- '(version%s*=%s*")%d%.%d+(",%s*--TAGVERSION)',
- "%1"..packageversion.."%2")
+ "\\ProvidesFile{(.-)}%[%d%d%d%d%-%d%d%-%d%d v%d%.%d+%a",
+ "\\ProvidesFile{%1}["..packagedate.." v"..packageversion)
content = string.gsub (content,
- '(date%s*=%s*")%d%d%d%d%-%d%d%-%d%d(",%s*--TAGDATE)',
- "%1"..packagedate.."%2")
+ "date{Version %d%.%d+%a, released %d%d%d%d%-%d%d%-%d%d",
+ "date{Version "..packageversion..", released ".. packagedate)
return content
elseif string.match (file, "%.sty$" ) then
content = string.gsub (content,
- "\\ProvidesPackage{(.-)}%[%d%d%d%d%-%d%d%-%d%d %d%.%d+%a",
- "\\ProvidesPackage{%1}%["..packagedate.." "..packageversion)
- content = string.gsub (content,
- "\\ProvidesExplPackage{(.-)} {.-} {.-}",
- "\\ProvidesExplPackage{%1} {" .. packagedate.."} {"..packageversion .. "}")
+ "\\ProvidesPackage{(.-)}%[%d%d%d%d%-%d%d%-%d%d v%d%.%d+%a",
+ "\\ProvidesPackage{%1}["..packagedate.." v"..packageversion)
+ content = string.gsub (content,
+ "\\ProvidesExplPackage{(.-)}{.-}{.-}",
+ "\\ProvidesExplPackage{%1}{" .. packagedate.."}{".packageversion .. "}")
return content
elseif string.match (file, "^README.md$") then
content = string.gsub (content,
diff --git a/firstaid/color-ltx.sty b/firstaid/color-ltx.sty
index c8c1443..1575441 100644
--- a/firstaid/color-ltx.sty
+++ b/firstaid/color-ltx.sty
@@ -22,7 +22,7 @@
%% This file has the LPPL maintenance status "maintained".
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{color-ltx}[2021-03-07 v0.95b
+\ProvidesPackage{color-ltx}[2021-03-17 v0.95c
Standard LaTeX Color (patched for l3color, part of pdfmanagement-testphase, original version 2021/03/07 v1.2e) (DPC)]
\edef\Gin at codes{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax
diff --git a/firstaid/hyperxmp-patches-tmp-ltx.sty b/firstaid/hyperxmp-patches-tmp-ltx.sty
index 30d9b09..b38a47f 100644
--- a/firstaid/hyperxmp-patches-tmp-ltx.sty
+++ b/firstaid/hyperxmp-patches-tmp-ltx.sty
@@ -19,7 +19,7 @@
%
% for those people who are interested.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2021-03-07}{0.95b}
+\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2021-03-17}{0.95c}
{Store hyperref metadata in XMP format / temporay patches to test pdfresource management ... UF}
\cs_if_exist:NT \pdfmanagement_add:nnn
diff --git a/firstaid/pdflscape-ltx.sty b/firstaid/pdflscape-ltx.sty
index 0e8a8cc..d43c363 100644
--- a/firstaid/pdflscape-ltx.sty
+++ b/firstaid/pdflscape-ltx.sty
@@ -1,8 +1,6 @@
%%
%% This is file `pdflscape-ltx.sty',
%%
-%% Version: 2021/02/22 v0.95b
-%%
%% Copyright (C) 2021 The LaTeX Project
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +22,7 @@
%% This work consists of the main source file pdflscape-ltx.sty
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage {pdflscape-ltx}{2021-02-22}{v0.95b}
+\ProvidesExplPackage{pdflscape-ltx}{2021-03-17}{0.95c}
{Display of landscape pages in PDF - adaption of pdflscape to the PDFmanagement bundle (testphase)}
\RequirePackage{lscape}
diff --git a/firstaid/transparent-ltx.sty b/firstaid/transparent-ltx.sty
index 47f1777..8d5abb7 100644
--- a/firstaid/transparent-ltx.sty
+++ b/firstaid/transparent-ltx.sty
@@ -3,7 +3,7 @@
%% a replacement for transparent sty from Heiko Oberdiek
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{transparent-ltx}{2021-03-07}{v0.95b}
+\ProvidesExplPackage{transparent-ltx}{2021-03-17}{0.95c}
{Transparency with color stacks (replacement for transparent.sty from Heiko Oberdiek)}%
\RequirePackage{l3opacity}
diff --git a/firstaid/xcolor-patches-tmp-ltx.sty b/firstaid/xcolor-patches-tmp-ltx.sty
index c5cd9ee..aec0fbb 100644
--- a/firstaid/xcolor-patches-tmp-ltx.sty
+++ b/firstaid/xcolor-patches-tmp-ltx.sty
@@ -1,6 +1,6 @@
%% LaTeX2e file `xcolor-patches.sty'
%%
-\ProvidesPackage{xcolor-patches-tmp-ltx}[2021-02-22 v0.95b patch xcolor for l3color]
+\ProvidesPackage{xcolor-patches-tmp-ltx}[2021-03-17 v0.95c patch xcolor for l3color]
\@ifundefined{color_set:nn}{\RequirePackage{l3color}}{}
\ExplSyntaxOn
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 12fe7cc..78becd4 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -86,7 +86,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -921,8 +921,7 @@
%<@@=hyp>
% \end{macrocode}
% \begin{macrocode}
-\ProvidesFile{hgeneric-testphase.def}
- [2021/02/22 v0.95b %
+\ProvidesFile{hgeneric-testphase.def}[2021-03-17 v0.95c %
generic Hyperref driver for the LaTeX PDF management testphase bundle]
\RequirePackage{etoolbox} %why?
diff --git a/l3backend-testphase.dtx b/l3backend-testphase.dtx
index 3c2d4ab..1b1e1b1 100644
--- a/l3backend-testphase.dtx
+++ b/l3backend-testphase.dtx
@@ -45,7 +45,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
%
@@ -56,27 +56,27 @@
% \begin{macrocode}
%<drivers>\ProvidesExplFile
%<*dvipdfmx>
- {l3backend-testphase-dvipdfmx.def}{2021-03-07}{}
+ {l3backend-testphase-dvipdfmx.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx}
%</dvipdfmx>
%<*dvips>
- {l3backend-testphase-dvips.def}{2021-03-07}{}
+ {l3backend-testphase-dvips.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: dvips}
%</dvips>
%<*dvisvgm>
- {l3backend-testphase-dvisvgm.def}{2021-03-07}{}
+ {l3backend-testphase-dvisvgm.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
%</dvisvgm>
%<*luatex>
- {l3backend-testphase-luatex.def}{2021-03-07}{}
+ {l3backend-testphase-luatex.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)}
%</luatex>
%<*pdftex>
- {l3backend-testphase-pdftex.def}{2021-03-07}{}
+ {l3backend-testphase-pdftex.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
%</pdftex>
%<*xdvipdfmx>
- {l3backend-testphase-xetex.def}{2021-03-07}{}
+ {l3backend-testphase-xetex.def}{2021-03-17}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
%</xdvipdfmx>
% \end{macrocode}
diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx
index 79f0b3d..efe046f 100644
--- a/l3pdfannot.dtx
+++ b/l3pdfannot.dtx
@@ -52,7 +52,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-02-21}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -392,7 +392,7 @@
% \begin{macrocode}
%<@@=pdfannot>
%<*header>
-\ProvidesExplPackage {l3pdfannot} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdfannot}{2021-03-17}{0.95c}
{PDF-annotations}
\RequirePackage{l3pdfdict}
%</header>
diff --git a/l3pdfdict.dtx b/l3pdfdict.dtx
index 2362863..25a3599 100644
--- a/l3pdfdict.dtx
+++ b/l3pdfdict.dtx
@@ -53,7 +53,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -212,7 +212,7 @@
% \begin{macrocode}
%<@@=pdfdict>
%<*header>
-\ProvidesExplPackage {l3pdfdict} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdfdict}{2021-03-17}{0.95c}
{Tools for PDF dictionaries (LaTeX PDF management testphase bundle)}
%</header>
% \end{macrocode}
diff --git a/l3pdffield.dtx b/l3pdffield.dtx
index 12861e5..4bad676 100644
--- a/l3pdffield.dtx
+++ b/l3pdffield.dtx
@@ -68,7 +68,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -349,7 +349,7 @@
%<*package>
%<@@=pdffield>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{l3pdffield-testphase}{2021-03-07} {0.95b}{form field checkbox}%
+\ProvidesExplPackage{l3pdffield-testphase}{2021-03-17}{0.95c}%
% \end{macrocode}
% \subsection{hyperref specific command}
% hyperref sets NeedAppearances by default. As this is deprecated we disable this.
diff --git a/l3pdffile.dtx b/l3pdffile.dtx
index 4a65e09..1ef891f 100644
--- a/l3pdffile.dtx
+++ b/l3pdffile.dtx
@@ -53,7 +53,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -376,7 +376,7 @@
%
% \begin{macrocode}
%<*header>
-\ProvidesExplPackage {l3pdffile} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdffile}{2021-03-17}{0.95c}
{embedding and referencing files in PDF---LaTeX PDF management testphase bundle}
\RequirePackage{l3pdftools} %temporarly!!
%</header>
diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx
index f6b9a7f..e22600e 100644
--- a/l3pdfmanagement.dtx
+++ b/l3pdfmanagement.dtx
@@ -61,7 +61,7 @@
% }^^A
% }
%
-% \date{Version 0.95b,released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -557,7 +557,7 @@
%<@@=pdfmanagement>
%<*header>
%
-\ProvidesExplPackage {l3pdfmanagement} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdfmanagement}{2021-03-17}{0.95c}
{Management of core PDF dictionaries (LaTeX PDF management testphase bundle)}
%</header>
% \end{macrocode}
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 48d2f14..2b48f06 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -53,7 +53,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-02-21}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -340,7 +340,7 @@
% \begin{macrocode}
%<@@=pdfmeta>
%<*header>
-\ProvidesExplPackage {l3pdfmeta} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdfmeta}{2021-03-17}{0.95c}
{PDF-Standards---LaTeX PDF management testphase bundle}
%</header>
% \end{macrocode}
diff --git a/l3pdftools.dtx b/l3pdftools.dtx
index 477802f..60d60d1 100644
--- a/l3pdftools.dtx
+++ b/l3pdftools.dtx
@@ -53,7 +53,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -215,7 +215,7 @@
%
% \begin{macrocode}
%<*header>
-\ProvidesExplPackage {l3pdftools} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdftools}{2021-03-17}{0.95c}
{candidate commands for l3pdf---LaTeX PDF management testphase bundle}
%</header>
% \end{macrocode}
diff --git a/l3pdfxform.dtx b/l3pdfxform.dtx
index fa52253..f0fcda4 100644
--- a/l3pdfxform.dtx
+++ b/l3pdfxform.dtx
@@ -52,7 +52,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -133,7 +133,7 @@
% \begin{macrocode}
%<@@=pdf>
%<*header>
-\ProvidesExplPackage {l3pdfxform-beta} {2021-03-07} {0.95b}
+\ProvidesExplPackage{l3pdfxform}{2021-03-17}{0.95c}
{command to create xforms (beta)---LaTeX PDF management testphase bundle}
%</header>
% \end{macrocode}
diff --git a/ltdocinit.dtx b/ltdocinit.dtx
index 53bb237..fec2da6 100644
--- a/ltdocinit.dtx
+++ b/ltdocinit.dtx
@@ -51,7 +51,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -164,7 +164,7 @@
% \begin{macrocode}
%<@@=pdfmanagement>
%<*header>
-\ProvidesExplPackage {ltdocinit} {2021-03-07} {0.95b}
+\ProvidesExplPackage{ltdocinit}{2021-03-17}{0.95c}
{Initialize document metadata}
%</header>
% \end{macrocode}
diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index 4687126..54fb0ff 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -51,7 +51,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -67,7 +67,7 @@
% |firstaidoff={name1,name2,...}|.
% \begin{macrocode}
%<*package>
-\ProvidesExplPackage {pdfmanagement-firstaid} {2021-03-07} {0.95b}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2021-03-17}{0.95c}
{LaTeX PDF management testphase bundle / firstaid-patches}
%<@@=pdfmanagement>
diff --git a/pdfmanagement-testphase.dtx b/pdfmanagement-testphase.dtx
index 7f37e13..8cee179 100644
--- a/pdfmanagement-testphase.dtx
+++ b/pdfmanagement-testphase.dtx
@@ -51,7 +51,7 @@
% }^^A
% }
%
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
%
% \maketitle
% \begin{documentation}
@@ -384,7 +384,7 @@
% \begin{macrocode}
%<@@=pdf>
%<*package>
-\ProvidesExplPackage {pdfmanagement-testphase} {2021-03-07} {0.95b}
+\ProvidesExplPackage{pdfmanagement-testphase}{2021-03-17}{0.95c}
{LaTeX PDF management testphase bundle}
\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
\IfFormatAtLeastTF{2020-10-01}{}{
@@ -411,8 +411,7 @@
% to allow to set it in the document.
% \begin{macrocode}
%<*header>
-\ProvidesExplFile
- {pdfmanagement-testphase.ltx}{2021-03-07}{0.95b}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2021-03-17}{0.95c}
{PDF~management~code~(testphase)}
%</header>
%<*package>
More information about the latex3-commits
mailing list.