Skip to content

Commit

Permalink
decouple endpage for btdl
Browse files Browse the repository at this point in the history
  • Loading branch information
EagleoutIce committed Jul 5, 2023
1 parent 03d8ac3 commit 7dde9f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dividing-lines/beamerthemedividing-lines.sty
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@
\def\btdl@outro@right{} \def\outroright#1{\gdef\btdl@outro@right{#1}}
\def\btdl@postpage{} \def\PostPage#1{\def\btdl@postpage{#1}}
\def\btdl@outrocolor{btdl@color@primary}
\AtEndDocument{%
\begingroup
\def\DoEndpage{\begingroup
\setbeamercolor{background canvas}{bg=\btdl@outrocolor}%
\begin{frame}[plain,t]%
\hypertarget{btdl@slide@marker.\inserttotalframenumber}{}%
Expand All @@ -457,8 +456,9 @@
}}%
\endminipage\btdl@postpage
\end{frame}
\endgroup
}
\endgroup}

\AtEndDocument{\DoEndpage}

%% special frames
\newlength\btdl@imageonly@wd@add \btdl@imageonly@wd@add=\dimexpr\btdl@leftindent-\btdl@leftindent/3\relax
Expand Down

0 comments on commit 7dde9f8

Please sign in to comment.