[latex3-commits] [git/LaTeX3-latex3-latex2e] testnewpara: update tagpdf (text-unit change) (8d451127)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Mar 7 00:27:27 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : testnewpara
Link       : https://github.com/latex3/latex2e/commit/8d451127a6d1b59e01850684a69f6cee83a3c08b

>---------------------------------------------------------------

commit 8d451127a6d1b59e01850684a69f6cee83a3c08b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Mar 7 00:27:27 2023 +0100

    update tagpdf (text-unit change)


>---------------------------------------------------------------

8d451127a6d1b59e01850684a69f6cee83a3c08b
 texmf/tex/latex/tagpdf/tagpdf-ns-latex.def | 7 ++++++-
 texmf/tex/latex/tagpdf/tagpdf.sty          | 8 ++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def b/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
index 2de35a35..70187fb4 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
@@ -28,16 +28,21 @@ subsection,   H2,       pdf2,
 subsubsection,H3,       pdf2,
 paragraph,    H4,       pdf2,
 subparagraph, H5,       pdf2,
+list,         L,        pdf2,
 itemize,      L,        pdf2,
 enumerate,    L,        pdf2,
 description,  L,        pdf2,
+quote,        BlockQuote,pdf,
+quotation,    BlockQuote,pdf,
+verbatim,     Div,      pdf2,
 item,         LI,       pdf2,
 itemlabel,    Lbl,      pdf2,
 itembody,     LBody,    pdf2,
 footnote,     FENote,   pdf2,
 footnotemark, Lbl,      pdf2,
 footnotelabel,Lbl,      pdf2,
-tpara,        Part,     pdf2,
+text-unit,    Part,     pdf2,
+text,         P,        pdf2,
 %% 
 %%
 %% End of file `tagpdf-ns-latex.def'.
diff --git a/texmf/tex/latex/tagpdf/tagpdf.sty b/texmf/tex/latex/tagpdf/tagpdf.sty
index 5a87550c..26b5f84f 100644
--- a/texmf/tex/latex/tagpdf/tagpdf.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf.sty
@@ -3012,11 +3012,11 @@
 \int_new:N  \g__tag_para_main_begin_int
 \int_new:N  \g__tag_para_main_end_int
 \tl_new:N   \l__tag_para_tag_default_tl
-\tl_set:Nn  \l__tag_para_tag_default_tl { P }
+\tl_set:Nn  \l__tag_para_tag_default_tl { text }
 \tl_new:N   \l__tag_para_tag_tl
 \tl_set:Nn  \l__tag_para_tag_tl { \l__tag_para_tag_default_tl }
 \tl_new:N   \l__tag_para_main_tag_tl
-\tl_set:Nn  \l__tag_para_main_tag_tl {tpara}
+\tl_set:Nn  \l__tag_para_main_tag_tl {text-unit}
 \keys_define:nn { __tag / setup }
   {
     paratagging      .bool_set:N = \l__tag_para_bool,
@@ -3092,7 +3092,7 @@
           {para-hook-count-wrong}
           {\int_use:N\g__tag_para_main_begin_int}
           {\int_use:N\g__tag_para_main_end_int}
-          {tpara}
+          {text-unit}
       }
     \int_compare:nNnF {\g__tag_para_begin_int}={\g__tag_para_end_int}
       {
@@ -3101,7 +3101,7 @@
           {para-hook-count-wrong}
           {\int_use:N\g__tag_para_begin_int}
           {\int_use:N\g__tag_para_end_int}
-          {P}
+          {text}
       }
   }
 \AddToHook{begindocument/before}





More information about the latex3-commits mailing list.