diff options
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty')
-rw-r--r-- | macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty index 6ba1ee8d3f..3c283a8a3e 100644 --- a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty +++ b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty @@ -1,55 +1,7 @@ %\RequirePackage[enable-debug]{expl3}[2018/06/14] -\ProvidesExplPackage {tagpdfdocu-patches} {2021-08-27} {0.92} +\ProvidesExplPackage {tagpdfdocu-patches} {2022-01-13} {0.93} {patches/commands for the tagpdf documentation} \RequirePackage{etoolbox} -%%%% -% header and footer (now needed as attributes are global again) -%%%% -%% patching \@oddfoot/\@oddhead is nonsense, that is redefined all the time. -%% Using the scrlayer interfaces would probably work -%% but we will need a core latex solution anyway -%% so let's test it here and patch \@outputpage -%% we also disable paratagging, not for the tagging but to avoid that the small -%% numbers gives overfull vbox messages ... -\bool_new:N \g__tag_docu_saved_in_mc_bool -\patchcmd\@outputpage - {\hb@xt@\textwidth{\@thehead}} - { - \hb@xt@\textwidth - { - \bool_set_false:N \l__tag_para_bool - \bool_gset_eq:NN \g__tag_docu_saved_in_mc_bool \g__tag_in_mc_bool - \bool_gset_false:N \g__tag_in_mc_bool - \hfil - \tag_mc_begin:n {artifact=pagination} - \tag_stop_group_begin: - \@thehead - \tag_stop_group_end: - \tag_mc_end: - \bool_gset_eq:NN \g__tag_in_mc_bool\g__tag_docu_saved_in_mc_bool - \hfil - } - } - {}{\fail} -\patchcmd\@outputpage - {\hb@xt@\textwidth{\@thefoot}} - { - \hb@xt@\textwidth - { - \bool_set_false:N \l__tag_para_bool - \bool_gset_eq:NN \g__tag_docu_saved_in_mc_bool \g__tag_in_mc_bool - \bool_gset_false:N \g__tag_in_mc_bool - \hfil - \tag_mc_begin:n {artifact=pagination} - \tag_stop_group_begin: - \@thefoot - \tag_stop_group_end: - \tag_mc_end: - \bool_gset_eq:NN \g__tag_in_mc_bool\g__tag_docu_saved_in_mc_bool - \hfil - } - } - {}{\fail} %%%%% % tableofcontents |