diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ff74b9..bd6fc77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ a major and minor version only. - simplify decision tree for `\beamer@howtotreatframe` (see #874) - added `\maketitle`, `\title`, `\author`, `\institute` and `\date` to the exceptions for `ignorenonframetext` - avoid frame breaks between block title and body for rectangular blocks +- added `\gdef\@currentHref{#2}` to labels (see #917) ### Fixed diff --git a/base/beamerbaseoverlay.sty b/base/beamerbaseoverlay.sty index 18e247c..4876b95 100644 --- a/base/beamerbaseoverlay.sty +++ b/base/beamerbaseoverlay.sty @@ -848,7 +848,7 @@ \def\label@in@display{\@ifnextchar<{\beamer@label@in@display}{\beamer@label@in@display<1>}} } -\def\beamer@label<#1>#2{\alt<#1>{\beamer@origlabel{#2}\beamer@nameslide{#2}}{\beamer@dummynameslide}} +\def\beamer@label<#1>#2{\alt<#1>{\gdef\@currentHref{#2}\beamer@origlabel{#2}\beamer@nameslide{#2}}{\beamer@dummynameslide}} \def\beamer@label@in@display<#1>#2{\alt<#1>{\beamer@origlabel@in@display{#2}\beamer@nameslide{#2}}{\beamer@dummynameslide}} \mode