diff options
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdf-checks.dtx')
-rw-r--r-- | macros/latex/contrib/tagpdf/tagpdf-checks.dtx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx index 830e667b52..39b786ee41 100644 --- a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx +++ b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.98g, released 2023-05-16} +% \date{Version 0.98h, released 2023-06-06} % \maketitle % \begin{documentation} % \section{Commands} @@ -151,6 +151,11 @@ % & error % & in struct module % \\ +% |\@@_struct_write_obj:n| +% & |struct-orphan| +% & warning +% & in struct module +% \\ % |\tag_struct_begin:n| % & |struct-faulty-nesting| % & error @@ -295,7 +300,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-checks-code} {2023-05-16} {0.98g} +\ProvidesExplPackage {tagpdf-checks-code} {2023-06-06} {0.98h} {part of tagpdf - code related to checks, conditionals, debugging and messages} %</header> % \end{macrocode} @@ -370,6 +375,19 @@ \msg_new:nnn { tag } {struct-no-objnum} { objnum~missing~for~structure~#1 } % \end{macrocode} % \end{macro} +% \begin{macro}{struct-orphan} +% This indicates that there is a structure which has kids but no parent. +% This can happen if a structure is stashed but then not used. +% \begin{macrocode} +\msg_new:nnn { tag } {struct-orphan} + { + Structure~#1~has~#2~kids~but~no~parent.\\ + It~is~turned~into~an~artifact.\\ + Did~you~stashed~a~structure~and~then~didn't~use~it? + } + +% \end{macrocode} +% \end{macro} % \begin{macro}{struct-faulty-nesting} % This indicates that there is somewhere one |\tag_struct_end:| too much. % This should be normally an error. |