[latex3-commits] [latex3/tagpdf] faster-ref: adapt message to new code (8a23a55)
github at latex-project.org
github at latex-project.org
Mon Sep 9 17:30:51 CEST 2024
Repository : https://github.com/latex3/tagpdf
On branch : faster-ref
Link : https://github.com/latex3/tagpdf/commit/8a23a550fd08b3e4d847d632737e6de7813f62cf
>---------------------------------------------------------------
commit 8a23a550fd08b3e4d847d632737e6de7813f62cf
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 9 17:30:51 2024 +0200
adapt message to new code
>---------------------------------------------------------------
8a23a550fd08b3e4d847d632737e6de7813f62cf
tagpdf-checks.dtx | 13 +++++++++++++
tagpdf-struct.dtx | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/tagpdf-checks.dtx b/tagpdf-checks.dtx
index 3cbe3b1..9ca418e 100644
--- a/tagpdf-checks.dtx
+++ b/tagpdf-checks.dtx
@@ -336,6 +336,7 @@
%</header>
% \end{macrocode}
% \section{Messages}
+%
% \subsection{Messages related to mc-chunks}
% \begin{macro}{mc-nested}
% This message is issue is a mc is opened before the previous has been closed.
@@ -454,6 +455,18 @@
{ closing~structure~#1~tagged~\use:e{\prop_item:cn{g_@@_struct_#1_prop}{S}} }
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{struct-Ref-dest-unknown}
+% This message is issued at the end, when the Ref keys are updated.
+% TODO: in debug mode it should report more info about the structure.
+% \begin{macrocode}
+\msg_new:nnn { tag } {struct-Ref-dest-unknown}
+ {
+ Destination~#1~has~no~related~structure.\\
+ /Ref~not~updated.
+ }
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{tree-struct-still-open}
% Message issued at the end if there are beside Root other
% open structures on the stack.
diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx
index 8ebd61c..681fe68 100644
--- a/tagpdf-struct.dtx
+++ b/tagpdf-struct.dtx
@@ -1276,7 +1276,7 @@
}
}
{
- \msg_warning:nnnn {tag}{struct-dest-unknown}{##2}{ ##1}
+ \msg_warning:nnn {tag}{struct-Ref-dest-unknown}{#1}
}
}
% \end{macrocode}
More information about the latex3-commits
mailing list.