From 66f6e60b6dc60cc08482030b92df223b6a51b15f Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 29 Aug 2021 03:02:07 +0000
Subject: CTAN sync 202108290302

---
 macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx | 31 +++++++++++++++++-------
 1 file changed, 22 insertions(+), 9 deletions(-)

(limited to 'macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx')

diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
index 13f0310589..17f6df0fcf 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.91, released 2021-07-03}
+% \date{Version 0.92, released 2021-08-27}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -145,17 +145,17 @@
 % \verb+raw=/Alt (Hello)+ will insert an alternative Text.
 % \end{function}
 %
-% \begin{function}{alttext,alttext-o}
+% \begin{function}{alttext}
 %  This key inserts an \texttt{/Alt} value in the property dictionary of the BDC operator.
-%  The value is handled as verbatim string, commands are not expanded. With |alttext-o|
-%  the value is expanded once.
+%  The value is handled as verbatim string, commands are not expanded.
+%  The value will be expanded first once.
 % \end{function}
 %
-% \begin{function}{actualtext,actualtext-o}
+% \begin{function}{actualtext}
 %  This key inserts an \texttt{/ActualText} value in the property dictionary
 %  of the BDC operator. The value is handled as verbatim string,
-%  commands are not expanded.With |actualtext-o|
-%  the value is expanded once.
+%  commands are not expanded.
+%  The value will be expanded first once.
 % \end{function}
 %
 % \begin{function}{label}
@@ -178,7 +178,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2021-07-03} {0.91}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2021-08-27} {0.92}
   {part of tagpdf - code related to marking chunks -
    code shared by generic and luamode }
 %</header>
@@ -217,7 +217,7 @@
 % \end{variable}
 %
 % \begin{variable}{\g_@@_in_mc_bool}
-% This booleans records if a mc is open, to test nesting.
+% This booleans record if a mc is open, to test nesting.
 %    \begin{macrocode}
 \bool_new:N \g_@@_in_mc_bool
 %    \end{macrocode}
@@ -273,6 +273,7 @@
 %    \end{macrocode}
 % \end{variable}
 %
+%
 % \subsection{Functions}
 % \begin{macro}{\_@@_mc_handle_mc_label:n}
 % The commands labels a mc-chunk. It is used if the user explicitly
@@ -408,6 +409,10 @@
 %
 % \begin{macro}{stash,__artifact-bool,__artifact-type}
 % the two internal artifact keys are use to define the public |artifact|.
+% For now we add support for the subtypes Header and Footer.
+% Watermark,PageNum, LineNum,Redaction,Bates will be added if some use case
+% emerges. If some use case for /BBox and /Attached emerges, it will be perhaps
+% necessary to adapt the code.
 %    \begin{macrocode}
 \keys_define:nn { @@ / mc }
   {
@@ -418,6 +423,14 @@
       {
         \tl_set:Nn \l_@@_mc_artifact_type_tl { Pagination }
       },
+    __artifact-type / pagination/header .code:n    =
+      {
+        \tl_set:Nn \l_@@_mc_artifact_type_tl { Pagination/Subtype/Header }
+      },
+    __artifact-type / pagination/footer .code:n    =
+      {
+        \tl_set:Nn \l_@@_mc_artifact_type_tl { Pagination/Subtype/Footer }
+      },
     __artifact-type / layout     .code:n    =
       {
         \tl_set:Nn \l_@@_mc_artifact_type_tl { Layout }
-- 
cgit v1.2.3

