diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-03 03:02:40 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-03 03:02:40 +0000 |
commit | 1e464deefd235880a2fac2390e896bfd2b523151 (patch) | |
tree | e9294919c95d4a444e911d20d2e3ddd60e45f9d1 /macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx | |
parent | 2da66dea964ffa47d24f26081f2942a6e1ef1121 (diff) |
CTAN sync 202311030302
Diffstat (limited to 'macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx')
-rw-r--r-- | macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx b/macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx index 632315a731..81c9edfe4d 100644 --- a/macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx +++ b/macros/latex-dev/required/latex-lab/latex-lab-toc-kernel-changes.dtx @@ -17,8 +17,8 @@ % for those people who are interested or want to report an issue. % % dates for latex-lab-kernel-changes.sty (pulled from various sources, see ins) -\def\ltlabkerneldate{2023-07-20} -\def\ltlabkernelversion{0.85a} +\def\ltlabkerneldate{2023-10-16} +\def\ltlabkernelversion{0.85b} %<*driver> \documentclass{l3doc} \EnableCrossrefs @@ -66,6 +66,7 @@ [\ltlabkerneldate\space v\ltlabkernelversion\space General kernel and class changes] % \end{macrocode} +% % \subsection{Providing the counter representation \cs{theHxx} generally} % [kernel?] % @@ -151,8 +152,32 @@ \def\toclevel@subparagraph{5} \def\toclevel@figure{1} \def\toclevel@table{1} +% \end{macrocode} +% +%\subsection{Storing the relation between target names and structure numbers} +% To be able to add a /Ref key to structures the tagging makes use of target names +% and stores the relationship in a property. We add a hook to \cs{MakeLinkTarget} to +% catch as much as possible, see also tagging issue \#20. This should work also +% without hyperref. The property is defined in tagpdf-base, so the code would +% work also without tagging but we add a test anyway, this is probably faster. +% \begin{macrocode} +\ExplSyntaxOn +\AddToHookWithArguments{cmd/MakeLinkTarget/after} + { + \tag_if_active:T + { + \tl_if_blank:VF \@currentHref + { + \prop_gput:Nee \g__tag_struct_dest_num_prop {\@currentHref}{\tag_get:n{struct_num}} + } + } + } +\ExplSyntaxOff +% \end{macrocode} +% \begin{macrocode} %</kernelchange> % \end{macrocode} +% % \subsection{load kernel changes} % \begin{macrocode} %<*package> |