Skip to content

Commit

Permalink
update and test new pdfmanagement
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Dec 20, 2024
1 parent 84a5a62 commit 66c778e
Show file tree
Hide file tree
Showing 14 changed files with 146 additions and 49 deletions.
2 changes: 1 addition & 1 deletion texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
%% This file has the LPPL maintenance status "maintained".
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{color-ltx}[2024-10-27 v0.96n
\ProvidesPackage{color-ltx}[2024-12-20 v0.96o
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%
% for those people who are interested.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-10-27}{0.96n}
\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-12-20}{0.96o}
{temporary patches for the colorspace package to test pdfresource management ... UF}


Expand Down
10 changes: 6 additions & 4 deletions texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: hyperref-generic.dtx
\ProvidesFile{hgeneric-testphase.def}[2024-10-27 v0.96n %
\ProvidesFile{hgeneric-testphase.def}[2024-12-20 v0.96o %
generic Hyperref driver for the LaTeX PDF management testphase bundle]

\RequirePackage{etoolbox} %why?
Expand Down Expand Up @@ -526,13 +526,17 @@
{ Go~to~destination~#1 }
{ \l__hyp_text_enc_info_print_tl }
\l__hyp_link_Contents_tl
\pdfannot_dict_put:nne {link/GoTo}{Contents}
{\l__hyp_link_Contents_tl}
}
\socket_new_plug:nnn {hyp/link/URI/Contents}{default}
{
\__hyp_text_pdfstring:eoN
{ #1 }
{ \l__hyp_text_enc_info_print_tl }
\l__hyp_link_Contents_tl
\pdfannot_dict_put:nne {link/URI}{Contents}
{\l__hyp_link_Contents_tl}
}
\socket_assign_plug:nn{hyp/link/GoTo/Contents}{default}
\socket_assign_plug:nn{hyp/link/URI/Contents}{default}
Expand Down Expand Up @@ -726,8 +730,6 @@
\group_begin:
\tl_set:Nn \l_hyp_current_dest_name_tl {#2}
\socket_use:nnn{hyp/link/GoTo/Contents}{#2}{#3}
\pdfannot_dict_put:nne {link/GoTo}{Contents}
{\l__hyp_link_Contents_tl}
\hook_use:n {hyp/link/#1}
\__hyp_link_goto_begin:nw {#2}#3\Hy@xspace@end
\__hyp_link_goto_end:
Expand All @@ -751,6 +753,7 @@
\Hy@VerboseLinkStart{#1}{#2}% only for debug
\group_begin:
\tl_set:Nn \l_hyp_current_dest_name_tl {#2}
\socket_use:nnn{hyp/link/GoTo/Contents}{#2}{}
\hook_use:n {hyp/link/#1}
\__hyp_link_goto_begin:nw {#2}
}
Expand Down Expand Up @@ -798,7 +801,6 @@
\pdfdict_put:nnn{l_hyp/annot/A/URI}{IsMap}{true}
}
\socket_use:nn{hyp/link/URI/Contents}{#2}
\pdfannot_dict_put:nne {link/URI}{Contents}{\l__hyp_link_Contents_tl}
\cs_set_eq:NN \# \c_hash_str
\cs_set_eq:NN \% \c_percent_str
\Hy@safe@activestrue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-dvipdfmx.def}{2024-10-27}{}
{l3backend-testphase-dvipdfmx.def}{2024-12-20}{}
{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 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-dvips.def}{2024-10-27}{}
{l3backend-testphase-dvips.def}{2024-12-20}{}
{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 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-dvisvgm.def}{2024-10-27}{}
{l3backend-testphase-dvisvgm.def}{2024-12-20}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
\bool_if:NT \l__pdfmanagement_delayed_shipout_bool
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-luatex.def}{2024-10-27}{}
{l3backend-testphase-luatex.def}{2024-12-20}{}
{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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-pdftex.def}{2024-10-27}{}
{l3backend-testphase-pdftex.def}{2024-12-20}{}
{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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
{l3backend-testphase-xetex.def}{2024-10-27}{}
{l3backend-testphase-xetex.def}{2024-12-20}{}
{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 }
Expand Down
12 changes: 6 additions & 6 deletions texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%% File: l3pdffield.dtx

\NeedsTeXFormat{LaTeX2e}
\ProvidesExplPackage{l3pdffield-testphase}{2024-10-27}{0.96n}%
\ProvidesExplPackage{l3pdffield-testphase}{2024-12-20}{0.96o}%
{form fields}
\csname HyField@NeedAppearancesfalse\endcsname % suppress NeedAppearances
\str_new:N \l__pdffield_tmpa_str
Expand Down Expand Up @@ -1016,7 +1016,7 @@
{
\__pdffield_field:n { __pdffield/checkbox/#1 }
}
\keys_set:nn {pdffield}{parent=__pdffield/checkbox/#1}
\keys_set:nn {pdffield}{parent={__pdffield/checkbox/#1}}
}
\cs_generate_variant:Nn \__pdffield_checkbox_field:n {V}
\cs_new_protected:Npn \__pdffield_checkbox:n #1
Expand Down Expand Up @@ -1215,7 +1215,7 @@
}
}
}
\keys_set:nn {pdffield}{parent=__pdffield/radio/#1}
\keys_set:nn {pdffield}{parent={__pdffield/radio/#1}}
}
\cs_generate_variant:Nn \__pdffield_radio_field:n {V}
\cs_new_protected:Npn \__pdffield_radio:n #1
Expand Down Expand Up @@ -1359,7 +1359,7 @@
{
\__pdffield_field:n { __pdffield/textfield/#1 }
}
\keys_set:nn {pdffield}{parent=__pdffield/textfield/#1}
\keys_set:nn {pdffield}{parent={__pdffield/textfield/#1}}
}
\cs_generate_variant:Nn \__pdffield_textfield_field:n {V}
\cs_new_protected:Npn \__pdffield_textfield:n #1
Expand Down Expand Up @@ -1699,7 +1699,7 @@
{
\__pdffield_field:n { __pdffield/pushbutton/#1 }
}
\keys_set:nn {pdffield}{parent=__pdffield/pushbutton/#1}
\keys_set:nn {pdffield}{parent={__pdffield/pushbutton/#1}}
}
\cs_generate_variant:Nn \__pdffield_pushbutton_field:n {V}
\cs_new_protected:Npn \__pdffield_pushbutton:n #1
Expand Down Expand Up @@ -1809,7 +1809,7 @@
}
\__pdffield_field:n { __pdffield/choice/#1 }
}
\keys_set:nn {pdffield}{parent=__pdffield/choice/#1}
\keys_set:nn {pdffield}{parent={__pdffield/choice/#1}}
}
\cs_generate_variant:Nn \__pdffield_choice_field:n {V}
\cs_new_protected:Npn \__pdffield_choice:n #1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: pdfmanagement-firstaid.dtx
\ProvidesExplPackage{pdfmanagement-firstaid}{2024-10-27}{0.96n}
\ProvidesExplPackage{pdfmanagement-firstaid}{2024-12-20}{0.96o}
{LaTeX PDF management testphase bundle / firstaid-patches}

\clist_map_inline:nn
Expand Down
Loading

0 comments on commit 66c778e

Please sign in to comment.