diff options
author | Karl Berry <karl@freefriends.org> | 2024-08-17 21:23:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-08-17 21:23:16 +0000 |
commit | c07b89f5fa3b090ca292a33f57ff8cf520709716 (patch) | |
tree | 9bd607a056137012386c27998aef5fb9ff9092bf /Master/texmf-dist/tex/latex | |
parent | 968ce5e50af980df7db803599d3d6cc8c23472d8 (diff) |
pdfmanagement-testphase (17aug24)
git-svn-id: svn://tug.org/texlive/trunk@72054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
14 files changed, 59 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty index 08170653e8d..68272c9b162 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty @@ -24,7 +24,7 @@ %% This file has the LPPL maintenance status "maintained". %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{color-ltx}[2024-05-23 v0.96i +\ProvidesPackage{color-ltx}[2024-08-17 v0.96j Standard LaTeX Color (patched for l3color, part of pdfmanagement-testphase, original version 2022/01/06 v1.3d) (DPC)] \edef\Gin@codes{% \catcode`\noexpand\^^A\the\catcode`\^^A\relax diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty index 95a0b0a6120..eb3c8e4b86e 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty @@ -19,8 +19,9 @@ % % for those people who are interested. \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-05-23}{0.96i} - {temporay patches to for the colorspace package to test pdfresource management ... UF} +\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-08-17}{0.96j} + {temporary patches for the colorspace package to test pdfresource management ... UF} + % colorspace can define more models, that l3color can't yet handle. \cs_set_protected:Npn \expl@color@set@@nnn #1#2#3 diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def index 5f4fd80f487..7929a7ae13c 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: hyperref-generic.dtx -\ProvidesFile{hgeneric-testphase.def}[2024-05-23 v0.96i % +\ProvidesFile{hgeneric-testphase.def}[2024-08-17 v0.96j % generic Hyperref driver for the LaTeX PDF management testphase bundle] \RequirePackage{etoolbox} %why? @@ -437,20 +437,27 @@ { \define@key{BKM}{color} { - \__hyp_color_set:ne {__hyp/tmpa}{#1} - \color_export:nVN - {__hyp/tmpa} - \g__hyp_bordercolormodel_str - \BKM@color + \tl_if_blank:nTF {#1} + { \cs_set_eq:NN\BKM@color\@empty } + { + \__hyp_color_set:ne {__hyp/tmpa}{#1} + \color_export:nVN + {__hyp/tmpa} + \g__hyp_bordercolormodel_str + \BKM@color + } } } -\legacy_if:nT { Hy@bookmarks } +\legacy_if:nTF { Hy@bookmarks } { \AddToHook{begindocument/before}[hyperref/bookmark] { \RequirePackage{bookmark} } } + { + \AddToHook{begindocument/before}[hyperref/bookmark]{} + } \legacy_if:nT {Hy@draft} { \PassOptionsToPackage{draft}{bookmark} diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def index 90eab781036..23634ecb9ee 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvipdfmx.def}{2024-05-23}{} + {l3backend-testphase-dvipdfmx.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx} \cs_generate_variant:Nn \__kernel_backend_literal:n { e } \cs_generate_variant:Nn \__pdf_backend:n { e } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def index 3d6b1557ff4..7058f285cd8 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvips.def}{2024-05-23}{} + {l3backend-testphase-dvips.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvips} \cs_generate_variant:Nn \__kernel_backend_postscript:n { e } \cs_generate_variant:Nn \__pdf_backend_pdfmark:n { e } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def index b7a6718fc4e..df51df34d7d 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvisvgm.def}{2024-05-23}{} + {l3backend-testphase-dvisvgm.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm} \bool_if:NT \l__pdfmanagement_delayed_shipout_bool { diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def index e6a50bbf1f4..c7f70a83868 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-luatex.def}{2024-05-23}{} + {l3backend-testphase-luatex.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)} \cs_generate_variant:Nn \__kernel_backend_literal_page:n { e } \bool_if:NT \l__pdfmanagement_delayed_shipout_bool diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def index 0ba773707fd..5936e320450 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-pdftex.def}{2024-05-23}{} + {l3backend-testphase-pdftex.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)} \cs_generate_variant:Nn \__kernel_backend_literal_page:n { e } \bool_if:NT \l__pdfmanagement_delayed_shipout_bool diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def index dd1bdb8cc0d..67567a9b56b 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-xetex.def}{2024-05-23}{} + {l3backend-testphase-xetex.def}{2024-08-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX} \cs_generate_variant:Nn \__kernel_backend_literal:n { e } \cs_generate_variant:Nn \__pdf_backend:n { e } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty index 8309f4c507d..8e472778520 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty @@ -27,7 +27,7 @@ %% File: l3pdffield.dtx \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{l3pdffield-testphase}{2024-05-23}{0.96i}% +\ProvidesExplPackage{l3pdffield-testphase}{2024-08-17}{0.96j}% {form fields} \csname HyField@NeedAppearancesfalse\endcsname % suppress NeedAppearances \str_new:N \l__pdffield_tmpa_str diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty index 30be81ed8ec..783ba92c910 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-firstaid.dtx -\ProvidesExplPackage{pdfmanagement-firstaid}{2024-05-23}{0.96i} +\ProvidesExplPackage{pdfmanagement-firstaid}{2024-08-17}{0.96j} {LaTeX PDF management testphase bundle / firstaid-patches} \clist_map_inline:nn diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx index 8f56ce40317..458a1d95bd3 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx @@ -27,7 +27,7 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-testphase.dtx -\ProvidesExplFile{pdfmanagement-testphase.ltx}{2024-05-23}{0.96i} +\ProvidesExplFile{pdfmanagement-testphase.ltx}{2024-08-17}{0.96j} {PDF~management~code~(testphase)} \bool_new:N\l__pdfmanagement_delayed_shipout_bool \msg_new:nnn {pdfmanagement}{delayed-shipout} @@ -419,7 +419,7 @@ \pdfdict_if_exist:nTF { g__pdf_Core/#1 } { \cs_if_exist:cTF - { __pdfmanagement_handler/#1/?_gput:nn } %general, name independant handler + { __pdfmanagement_handler/#1/?_gput:nn } %general, name independent handler { \use:c {__pdfmanagement_handler/#1/?_gput:nn} {#2} {#3} } { \cs_if_exist:cTF @@ -455,7 +455,7 @@ \pdfdict_if_exist:nTF { g__pdf_Core/#1 } { \cs_if_exist:cTF - { __pdfmanagement_handler/#1/?_gremove:n } %general, name independant handler + { __pdfmanagement_handler/#1/?_gremove:n } %general, name independent handler { \use:c {__pdfmanagement_handler/#1/?_gremove:n} {#2} } { \cs_if_exist:cTF @@ -491,7 +491,7 @@ \cs_new_protected:Npn \__pdfmanagement_show:Nn #1#2 { \cs_if_exist:cTF - { __pdfmanagement_handler/#2/?_show: } %general, name independant handler + { __pdfmanagement_handler/#2/?_show: } %general, name independent handler { \use:c {__pdfmanagement_handler/#2/?_show:} } { \prop_if_exist:cTF { \__kernel_pdfdict_name:n { g__pdf_Core/#2 } } @@ -1414,6 +1414,8 @@ { \__pdf_backend_omit_info:n {1} } \pdfmeta_standard_verify:nF { no_CharSet } { \__pdf_backend_omit_charset:n {1} } + \pdfmeta_standard_verify:nF { omit_CID } + { \__pdf_backend_omit_cidset:n {1} } \pdfmeta_standard_verify:nnF { min_pdf_version } { \pdf_version: } { \msg_warning:nneee {pdf}{wrong-pdfversion} @@ -1508,6 +1510,9 @@ { embed_content} \prop_gput:cnn { g__pdfmeta_standard_pdf/A-2B_prop }{max_pdf_version}{1.7} +\prop_gput:cnn + { g__pdfmeta_standard_pdf/A-2B_prop }{omit_CID}{} + %A-2u ============== \prop_new:c { g__pdfmeta_standard_pdf/A-2U_prop } \prop_gset_eq:cc { g__pdfmeta_standard_pdf/A-2U_prop } @@ -1808,6 +1813,15 @@ _pdfstandard / UA-1 .code:n = { \AddToDocumentProperties [document]{pdfstandard-UA}{{1}{}} + \AddToHook{begindocument/before} + { + \pdf_version_compare:NnF < {2.0} + { + \msg_warning:nneee + {pdf}{wrong-pdfversion} + {\pdf_version:}{high}{UA-1} + } + } }, _pdfstandard / UA-2 .code:n = { @@ -1818,6 +1832,12 @@ { \__pdfmeta_xmp_wtpdf_accessibility_declaration: \__pdfmeta_xmp_wtpdf_reuse_declaration: + \pdf_version_compare:NnT < {2.0} + { + \msg_warning:nneee + {pdf}{wrong-pdfversion} + {\pdf_version:}{low}{UA-2} + } } }, xmp .choice:, @@ -1945,7 +1965,7 @@ \tl_new:N \l__pdfmeta_xmp_currentdate_tl \seq_new:N \l__pdfmeta_xmp_currentdate_seq \cs_new_protected:Npn \__pdfmeta_xmp_date_get:nNN #1 #2 #3 - %#1 property, #2 tl var with PDF date, #3 seq for splitted date + %#1 property, #2 tl var with PDF date, #3 seq for split date { \tl_set:Ne #2 { \GetDocumentProperties{#1} } \tl_if_blank:VTF #2 @@ -2275,6 +2295,12 @@ {Integer} {internal} {Year~of~standard} +\__pdfmeta_xmp_property_new:nnnnn + {pdfaid} + {rev} + {Integer} + {internal} + {Revision~year~of~standard} \__pdfmeta_xmp_schema_new:nnn {PDF/UA~Universal~Accessibility~Schema} {pdfuaid} diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty index 5eb909751ee..ce1dbc393f7 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-testphase.dtx -\ProvidesExplPackage{pdfmanagement-testphase}{2024-05-23}{0.96i} +\ProvidesExplPackage{pdfmanagement-testphase}{2024-08-17}{0.96j} {LaTeX PDF management testphase bundle} \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020-10-01}{}{ diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty index cc220aa313e..5fce11f19d5 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty @@ -1,6 +1,6 @@ %% LaTeX2e file `xcolor-patches-tmp-ltx.sty' %% -\ProvidesPackage{xcolor-patches-tmp-ltx}[2024-05-23 v0.96i patch xcolor for l3color] +\ProvidesPackage{xcolor-patches-tmp-ltx}[2024-08-17 v0.96j patch xcolor for l3color] \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{} \ExplSyntaxOn |