[latex3-commits] [latex3/latex2e] develop: Latex lab/tagnames (#1312) (3c00d05b)

github at latex-project.org github at latex-project.org
Fri Mar 29 00:01:38 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/3c00d05b329fba86e08108e8de2c562399cddb00

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

commit 3c00d05b329fba86e08108e8de2c562399cddb00
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Mar 29 00:01:38 2024 +0100

    Latex lab/tagnames (#1312)
    
    * added xls on namespace
    
    * drop tagnames-commands.md
    
    * small updates to the xlsx
    
    * added somee attributes as suggested by UFi


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

3c00d05b329fba86e08108e8de2c562399cddb00
 required/latex-lab/changes.txt              |   5 ++
 required/latex-lab/latex-lab-namespace.dtx  |  19 +++++-
 required/latex-lab/latex-lab-namespace.xlsx | Bin 0 -> 15378 bytes
 required/latex-lab/tagnames-commands.md     |  98 ----------------------------
 4 files changed, 22 insertions(+), 100 deletions(-)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index cc5bb2d4..c52aa126 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,8 @@
+2024-03-24  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* latex-lab-namespace.xlsx:
+	File added (draft) replacing tagnames-commands.md
+
 2024-03-23 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
 	* documentmetadata-support.dtx: keys for A4-E and A4-F
 
diff --git a/required/latex-lab/latex-lab-namespace.dtx b/required/latex-lab/latex-lab-namespace.dtx
index a6087abe..cfc06c7b 100644
--- a/required/latex-lab/latex-lab-namespace.dtx
+++ b/required/latex-lab/latex-lab-namespace.dtx
@@ -26,7 +26,7 @@
 % \fi
 % \title{Prototype reimplementation of \LaTeXe{}'s role mapping}
 % \author{\LaTeX{} Project, initial implementation Ulrike Fischer}
-% \date{v0.8 2023-09-04}
+% \date{v0.8b 2024-03-24}
 %
 % \maketitle
 %
@@ -62,18 +62,33 @@
 %    \begin{macrocode}
 title,        Title,    pdf2,
 part,         Title,    pdf2,
+%    \end{macrocode}
+%    Headings differ in article and book class. This here is for article:
+%    \begin{macrocode}
 section,      H1,       pdf2, 
 subsection,   H2,       pdf2,
 subsubsection,H3,       pdf2,
 paragraph,    H4,       pdf2, 
 subparagraph, H5,       pdf2,
+%    \end{macrocode}
+%    And this here is used in book:
+%    \begin{macrocode}
+%chapter,       H1,      pdf2,
+%section,       H2,      pdf2,
+%subsection,    H3,      pdf2,
+%subsubsection, H4,      pdf2,
+%paragraph,     H5,      pdf2,
+%subparagraph,  H6,      pdf2,
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 list,         L,        pdf2,
 itemize,      L,        pdf2,
 enumerate,    L,        pdf2,
 description,  L,        pdf2,
 quote,        BlockQuote,pdf,
 quotation,    BlockQuote,pdf,
-verbatim,     Div,      pdf2, 
+verbatim,     Div,      pdf2,  % overwritten by block
 item,         LI,       pdf2,
 itemlabel,    Lbl,      pdf2,
 itembody,     LBody,    pdf2,
diff --git a/required/latex-lab/latex-lab-namespace.xlsx b/required/latex-lab/latex-lab-namespace.xlsx
new file mode 100644
index 00000000..194f57bc
Binary files /dev/null and b/required/latex-lab/latex-lab-namespace.xlsx differ
diff --git a/required/latex-lab/tagnames-commands.md b/required/latex-lab/tagnames-commands.md
deleted file mode 100644
index c1f51605..00000000
--- a/required/latex-lab/tagnames-commands.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# commands for tagnames
-
-## latex-lab-bib.dtx
-
-| command           | used for    | default value | defined in |
-| ------------------| --------    | ------------- | ----------|
-|\LItag             | list item   |  LI           | block
-| ????              | around cite | Reference     |
-
-## latex-lab-block.dtx
-
-| command           | used for          | default value | defined in |
-| ------------------| ---------------   | ------------- | ----------|
-|?????              | theorem caption   |  Caption      | 
-|????               | theorem number    | Lbl           |
-|\l__tag_para_main_tag_tl| various      |text-unit      | tagpdf    |
-|\l__tag_para_tag_tl     | various      |text           | tagpdf    |
-|\l__block_tag_name_tl | various        |               | block
-|\l__tag_L_tag_tl   | list              |L  /from receipe  | block    |
-|\l__block_tag_inner_tag_tl |various    | various        | block         
-| ????              | label             |Lbl             |          |
-| \LBody            | item body         |LBody           | block |  
-
-
-## latex-lab-float.dtx
-
-| command           | used for               | default value |
-| ------------------| --------               | ------------- |
-|???                | start float inside par |  text           | 
-|???                | float                  | float = Aside |
-|???                | caption                | Caption       |
-|???                | caption number         | Lbl           |  
-|???                | figures sect           | figures = Sect|
-|???                | tables  sect           | tables = Sect|
-  
-  
-## latex-lab-footnote.dtx                 
-## latex-lab-graphic.dtx
-
-| command           | used for               | default value |
-| ------------------| --------               | ------------- |
-|\l_tag_graphic_struct_tl| graphics          |Figure         |
-
-
-## latex-lab-marginpar.dtx
-
-| command           | used for               | default value |
-| ------------------| --------               | ------------- |
-|???                | marginpar              |Aside        |
-
-## latex-lab-math.dtx
-
-## latex-lab-minipage.dtx
-
-| command           | used for               | default value |
-| ------------------| --------               | ------------- |
-|\l__ltboxes_tag_tl | boxes                  |Div        |
- 
-
-
-## latex-lab-table.dtx
-
-| command           | used for    | default value |
-| ------------------| --------    | ------------- |
-|\l__tbl_celltag_tl  | l,r,c cells |  TD           | 
-|\l__tbl_pcelltag_tl | p-cells     |  TD           |  
-|\l__tbl_rowtag_tl   | rows        |  TR           |
-|\l__tbl_table_tl    | table       |  Table        |
-
-
-
-
-
-# commands for attributes-(classes) 
-
-## latex-lab-table.dtx
-
-| command                 | used for    | default value |
-| ------------------      | --------    | ------------- |
-|\l__tbl_cellattribute_tl | cells       |  empty        | 
-|\l__tbl_rowattribute_tl  | rows        |  empty        |  
-
-## latex-lab-block.dtx
- 
-| command                 | used for    | default value | defined in |
-| ------------------      | --------    | ------------- |
-|\l__tag_para_attr_class_tl |   para    |  empty        | 
-|\l__tag_para_main_attr_class_tl | para-main        |  empty        | 
-| \l__tag_L_attr_class_tl | list        | list, itemize ... | block  
-  
-
-# attributes
-
-## in latex-lab-block
- newattribute = {list}{/O /List /ListNumbering/None},    
- newattribute = {itemize}{/O /List /ListNumbering/Unordered},
- newattribute = {enumerate}{/O /List /ListNumbering/Ordered},        
- newattribute = {description}{/O /List /ListNumbering/Description},





More information about the latex3-commits mailing list.