[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: add support for attribute-class in para-main (3fcc743c)

github at latex-project.org github at latex-project.org
Fri Jan 19 00:14:52 CET 2024


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

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

commit 3fcc743c04a6bc77759f92302ab539bdf28eddad
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 19 00:14:52 2024 +0100

    add support for attribute-class in para-main


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

3fcc743c04a6bc77759f92302ab539bdf28eddad
 required/latex-lab/changes.txt         |  3 +++
 required/latex-lab/latex-lab-block.dtx | 24 ++++++++++++++++++------
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index d19452e5..e8018c5b 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,6 @@
+2024-01-18 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
+	* latex-lab-block.dtx: add support to set an attribute-class for para-main.
+
 2024-01-18 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
 	* latex-lab-table.dtx: add option table-tagging=layout
 
diff --git a/required/latex-lab/latex-lab-block.dtx b/required/latex-lab/latex-lab-block.dtx
index 5dc4302e..d993dc3b 100644
--- a/required/latex-lab/latex-lab-block.dtx
+++ b/required/latex-lab/latex-lab-block.dtx
@@ -1802,7 +1802,7 @@
   fixed-word-spaces = \l__par_fixed_word_spaces_bool ,  % name??
   final-hyphen-demerits = \finalhyphendemerits ,
   cr-cmd                = \\ ,
-  para-class            = \l_tag_para_attr_class_tl ,                          
+  para-class            = \l__tag_para_attr_class_tl ,                          
 }
 {
   \tl_if_empty:nF {#1} { \SetTemplateKeys{para}{std}{#1} }
@@ -3426,7 +3426,11 @@
         \int_compare:nNnT \l_@@_flattened_level_int < 2
             {
               \__tag_gincr_para_main_begin_int:
-              \tagstructbegin{tag=\l__tag_para_main_tag_tl}
+              \tag_struct_begin:n
+                {
+                  tag=\l__tag_para_main_tag_tl,
+                  attribute-class=\l__tag_para_main_attr_class_tl,
+                }
             }
       }
   }
@@ -3553,7 +3557,11 @@
        \bool_if:NF \l__tag_para_flattened_bool
           {
             \__tag_gincr_para_main_begin_int:
-            \tag_struct_begin:n{tag=\l__tag_para_main_tag_tl}
+            \tag_struct_begin:n
+              {
+                tag=\l__tag_para_main_tag_tl,
+                attribute-class=\l__tag_para_main_attr_class_tl,
+              }
           }
       }
    \__tag_gincr_para_begin_int:
@@ -3561,7 +3569,7 @@
    \tag_struct_begin:n
        {
           tag=\l__tag_para_tag_tl
-         ,attribute-class=\l_tag_para_attr_class_tl
+         ,attribute-class=\l__tag_para_attr_class_tl
        }
    \__tag_check_para_begin_show:nn {green}{#1}    
    \tag_mc_begin:n {}
@@ -3574,14 +3582,18 @@
    \bool_if:NF \l__tag_para_flattened_bool
        {
          \__tag_gincr_para_main_begin_int:
-         \tag_struct_begin:n{tag=\l__tag_para_main_tag_tl}
+         \tag_struct_begin:n
+           {
+             tag=\l__tag_para_main_tag_tl,
+             attribute-class=\l__tag_para_main_attr_class_tl,
+           }
        }
    \__tag_gincr_para_begin_int:
    \@@_debug_typeout:n{increment~ P \on at line }
    \tag_struct_begin:n
        {
           tag=\l__tag_para_tag_tl
-         ,attribute-class=\l_tag_para_attr_class_tl
+         ,attribute-class=\l__tag_para_attr_class_tl
        }
    \__tag_check_para_begin_show:nn {green}{#1}    
    \tag_mc_begin:n {}





More information about the latex3-commits mailing list.