Skip to content

Commit

Permalink
added \gdef\@currentHref{#2} to labels (close #917 , close #903) (#918
Browse files Browse the repository at this point in the history
)
  • Loading branch information
samcarter authored Nov 14, 2024
1 parent dc0cae2 commit beb4f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion base/beamerbaseoverlay.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beb4f40

Please sign in to comment.