|
4 | 4 | % 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, |
5 | 5 | % 2001-2015 Heiko Oberdiek. |
6 | 6 | % 2016-2019 Oberdiek Package Support Group |
7 | | -% 2019-2025 LaTeX Project |
| 7 | +% 2019-2026 LaTeX Project |
8 | 8 | % https://github.com/latex3/hyperref/issues |
9 | 9 | % |
10 | 10 | % This file is part of the `Hyperref Bundle'. |
|
51 | 51 | %<puvnenc>\ProvidesFile{puvnenc.def} |
52 | 52 | %<puarenc>\ProvidesFile{puarenc.def} |
53 | 53 | %<psdextra>\ProvidesFile{psdextra.def} |
54 | | -%<!none&!packageEnd> [2025-07-12 v7.01o % |
| 54 | +%<!none&!packageEnd> [2026-01-29 v7.01p % |
55 | 55 | %<package> Hypertext links for LaTeX] |
56 | 56 | %<nohyperref> Dummy hyperref (SR)] |
57 | 57 | %<driver> Hyperref documentation driver file] |
|
1091 | 1091 | % \end{macrocode} |
1092 | 1092 | % \end{macro} |
1093 | 1093 | % \end{macro} |
1094 | | -% |
| 1094 | +% |
| 1095 | +% \begin{macro}{\hyper@natlinkstart} |
| 1096 | +% \begin{macro}{\hyper@natlinkend} |
| 1097 | +% \begin{macro}{\hyper@natlinkbreak} |
| 1098 | +% \begin{macro}{\hyper@natanchorstart} |
| 1099 | +% \begin{macro}{\hyper@natanchorend} |
| 1100 | +% We provide the natbib hooks always, for better tagging support, see |
| 1101 | +% issue \#406 |
| 1102 | +% \begin{macrocode} |
| 1103 | +\def\hyper@natlinkstart#1{} |
| 1104 | +\def\hyper@natlinkend{} |
| 1105 | +\def\hyper@natlinkbreak#1#2{} |
| 1106 | +\def\hyper@natanchorstart#1{} |
| 1107 | +\def\hyper@natanchorend{} |
| 1108 | +% \end{macrocode} |
| 1109 | +% \end{macro} |
| 1110 | +% \end{macro} |
| 1111 | +% \end{macro} |
| 1112 | +% \end{macro} |
| 1113 | +% \end{macro} |
| 1114 | + |
1095 | 1115 | % \begin{macro}{\pdfstringdef} |
1096 | 1116 | % \cs{pdfstringdef} works on the tokens in |#2| and converts them to |
1097 | 1117 | % a PDF string as far as possible: |
|
11176 | 11196 | \expandafter\hyper@@anchor\expandafter{% |
11177 | 11197 | \Hy@footnote@currentHref |
11178 | 11198 | }{\relax}% |
11179 | | - }\ignorespaces #1% |
| 11199 | + }% |
| 11200 | +% \end{macrocode} |
| 11201 | +% Change 2025-09-29: set \cs{@currentHref} and \cs{@currentlabelname} for issue 402. |
| 11202 | +% \begin{macrocode} |
| 11203 | + \let\@currentHref\Hy@footnote@currentHref |
| 11204 | + \let\@currentlabelname\@empty |
| 11205 | + \ignorespaces #1% |
11180 | 11206 | }% |
11181 | 11207 | }% |
11182 | 11208 | }% |
|
0 commit comments