[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: add variables for tag names in tables (6f84a01b)

github at latex-project.org github at latex-project.org
Mon Jan 15 10:38:30 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/6f84a01b40e4361fdbc4a3e2f51b0c8f41567ac7

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

commit 6f84a01b40e4361fdbc4a3e2f51b0c8f41567ac7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Jan 15 10:38:30 2024 +0100

    add variables for tag names in tables


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

6f84a01b40e4361fdbc4a3e2f51b0c8f41567ac7
 required/latex-lab/changes.txt         |  6 ++++++
 required/latex-lab/latex-lab-table.dtx | 19 ++++++++++++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index 6596b9e3..fb805083 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,9 @@
+2024-01-12 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
+	* latex-lab-table.dtx: add some variables for tag names
+
+2024-01-08 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
+	* move mathml-AF support into latex-lab-math.ltx
+
 2023-12-27 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
 	* added latex-lab-title.dtx for maketitle/title and author tagging.
 
diff --git a/required/latex-lab/latex-lab-table.dtx b/required/latex-lab/latex-lab-table.dtx
index 76b33903..950d0466 100644
--- a/required/latex-lab/latex-lab-table.dtx
+++ b/required/latex-lab/latex-lab-table.dtx
@@ -16,8 +16,8 @@
 %
 % for those people who are interested or want to report an issue.
 %
-\def\ltlabtbldate{2023-12-19}
-\def\ltlabtblversion{0.85g}
+\def\ltlabtbldate{2023-01-12}
+\def\ltlabtblversion{0.85h}
 %<*driver>
 \documentclass{l3doc}
 \EnableCrossrefs
@@ -271,7 +271,9 @@
 % \begin{macro}
 %  {
 %    \l_@@_celltag_tl
+%    \l_@@_pcelltag_tl
 %   ,\l_@@_rowtag_tl
+%   ,\l_@@_table_tl
 %   ,\l_@@_cellattribute_tl
 %   ,\l_@@_rowattribute_tl
 %   ,\l_@@_tmpa_clist
@@ -282,12 +284,19 @@
 %    \begin{macrocode}
 \tl_new:N  \l_@@_celltag_tl
 \tl_set:Nn \l_@@_celltag_tl {TD}
+\tl_new:N  \l_@@_pcelltag_tl
+\tl_set:Nn \l_@@_pcelltag_tl {TD}
 %    \end{macrocode}
 %    For the rowtag, probably always TR:
 %    \begin{macrocode}
 \tl_new:N  \l_@@_rowtag_tl
 \tl_set:Nn \l_@@_rowtag_tl {TR}
 %    \end{macrocode}
+%    For the tabletag, probably always Table:
+%    \begin{macrocode}
+\tl_new:N  \l_@@_tabletag_tl
+\tl_set:Nn \l_@@_tabletag_tl {TR}
+%    \end{macrocode}
 %    And here cell and row attributes:
 %    \begin{macrocode}
 \tl_new:N  \l_@@_cellattribute_tl
@@ -354,7 +363,7 @@
     \@@_show_curr_cell_data:
     \tag_struct_begin:n
       {
-        tag             =\l__tbl_celltag_tl,
+        tag             =\l__tbl_pcelltag_tl,
         attribute-class =\l__tbl_cellattribute_tl
       }
     \seq_gput_right:Ne \g__tbl_struct_cur_seq { \tag_get:n {struct_num} }
@@ -692,7 +701,7 @@
      \bool_lazy_and:nnT
       { \bool_if_exist_p:N \l__tag_para_bool } { \l__tag_para_bool }
       { \tag_struct_end:n { text } }
-    \tag_struct_begin:n {tag=Table}
+    \tag_struct_begin:n {tag=\l_@@_tabletag_tl}
     \tl_gset:Ne \g_@@_struct_table_tl { \tag_get:n {struct_num} }
   }
 %    \end{macrocode}
@@ -719,7 +728,7 @@
 %    \begin{macrocode}
 \NewSocketPlug{tagsupport/tbl/vmode/begin}{Table}
   {
-    \tag_struct_begin:n {tag=Table}
+    \tag_struct_begin:n {tag=\l_@@_tabletag_tl}
     \tl_gset:Ne \g_@@_struct_table_tl { \tag_get:n {struct_num} }
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.