| 1 |
%% |
| 2 |
%% This is file `latex-lab-testphase-names.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% latex-lab-namespace.dtx (with options: `package') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Copyright 2021-2025 LaTeX Project |
| 12 |
%% |
| 13 |
%% This file was generated from file(s) of the `LaTeX-lab Bundle'. |
| 14 |
%% ------------------------------------------------------------------------------------ |
| 15 |
%% |
| 16 |
%% It may be distributed and/or modified under the |
| 17 |
%% conditions of the LaTeX Project Public License, either version 1.3c |
| 18 |
%% of this license or (at your option) any later version. |
| 19 |
%% The latest version of this license is in |
| 20 |
%% http://www.latex-project.org/lppl.txt |
| 21 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 22 |
%% version 2008 or later. |
| 23 |
%% |
| 24 |
%% This file may only be distributed together with a copy of the LaTeX |
| 25 |
%% `LaTeX-lab Bundle'. You may however distribute the `LaTeX-lab Bundle' |
| 26 |
%% without such generated files. |
| 27 |
%% |
| 28 |
%% The newest sources can be found below |
| 29 |
%% |
| 30 |
%% https://github.com/latex3/latex2e/required/latex-lab |
| 31 |
%% |
| 32 |
%% where one can also log issues in case there are any. |
| 33 |
%% |
| 34 |
%% |
| 35 |
%% File: latex-lab-namespace.dtx |
| 36 |
%% |
| 37 |
\def\ltlabnamesdate{2025-08-14} |
| 38 |
\def\ltlabnamesversion{0.8f} |
| 39 |
\ProvidesExplPackage {latex-lab-testphase-names} {\ltlabnamesdate} {\ltlabnamesversion} |
| 40 |
{Code related to the names of tags} |
| 41 |
\cs_set_protected:Npn\AssignStructureRole#1#2 |
| 42 |
{ |
| 43 |
\prop_get:NnNF\g__tag_role_tags_NS_prop{#2}\l__tag_tmp_unused_tl |
| 44 |
{\exp_args:Ne\tagpdfsetup{role/new-tag=#2/\UseStructureName{#1}}} |
| 45 |
\tl_set:cn { l__tag_name_#1_tl }{#2} |
| 46 |
} |
| 47 |
\NewStructureName{para/textblock} |
| 48 |
\AssignStructureRole{para/textblock}{text} |
| 49 |
\NewStructureName{para/semantic} |
| 50 |
\AssignStructureRole{para/semantic}{text-unit} |
| 51 |
\NewStructureName{sec/-1} |
| 52 |
\AssignStructureRole{sec/-1}{Part} |
| 53 |
\NewStructureName{sec/-1/title} |
| 54 |
\AssignStructureRole{sec/-1/title}{part} |
| 55 |
\NewStructureName{sec/-1/titleline} |
| 56 |
\AssignStructureRole{sec/-1/titleline}{Span} |
| 57 |
\NewStructureName{sec/-1/number} |
| 58 |
\AssignStructureRole{sec/-1/number}{section-number} |
| 59 |
\NewStructureName{sec/0} |
| 60 |
\AssignStructureRole{sec/0}{Sect} |
| 61 |
\NewStructureName{sec/0/title} |
| 62 |
\AssignStructureRole{sec/0/title}{chapter} |
| 63 |
\NewStructureName{sec/0/titleline} |
| 64 |
\AssignStructureRole{sec/0/titleline}{Span} |
| 65 |
\NewStructureName{sec/0/number} |
| 66 |
\AssignStructureRole{sec/0/number}{section-number} |
| 67 |
\NewStructureName{sec/1} |
| 68 |
\AssignStructureRole{sec/1}{Sect} |
| 69 |
\NewStructureName{sec/1/title} |
| 70 |
\AssignStructureRole{sec/1/title}{section} |
| 71 |
\NewStructureName{sec/1/number} |
| 72 |
\AssignStructureRole{sec/1/number}{section-number} |
| 73 |
\NewStructureName{sec/2} |
| 74 |
\AssignStructureRole{sec/2}{Sect} |
| 75 |
\NewStructureName{sec/2/title} |
| 76 |
\AssignStructureRole{sec/2/title}{subsection} |
| 77 |
\NewStructureName{sec/2/number} |
| 78 |
\AssignStructureRole{sec/2/number}{section-number} |
| 79 |
\NewStructureName{sec/3} |
| 80 |
\AssignStructureRole{sec/3}{Sect} |
| 81 |
\NewStructureName{sec/3/title} |
| 82 |
\AssignStructureRole{sec/3/title}{subsubsection} |
| 83 |
\NewStructureName{sec/3/number} |
| 84 |
\AssignStructureRole{sec/3/number}{section-number} |
| 85 |
\NewStructureName{sec/4} |
| 86 |
\AssignStructureRole{sec/4}{Sect} |
| 87 |
\NewStructureName{sec/4/title} |
| 88 |
\AssignStructureRole{sec/4/title}{paragraph} |
| 89 |
\NewStructureName{sec/4/number} |
| 90 |
\AssignStructureRole{sec/4/number}{section-number} |
| 91 |
\NewStructureName{sec/5} |
| 92 |
\AssignStructureRole{sec/5}{Sect} |
| 93 |
\NewStructureName{sec/5/title} |
| 94 |
\AssignStructureRole{sec/5/title}{subparagraph} |
| 95 |
\NewStructureName{sec/5/number} |
| 96 |
\AssignStructureRole{sec/5/number}{section-number} |
| 97 |
\endinput |
| 98 |
%% |
| 99 |
%% End of file `latex-lab-testphase-names.sty'. |