diff --git a/lh-presentation/beamerouterthemelh.sty b/lh-presentation/beamerouterthemelh.sty index 4b948f4..c58333e 100644 --- a/lh-presentation/beamerouterthemelh.sty +++ b/lh-presentation/beamerouterthemelh.sty @@ -13,6 +13,10 @@ [2016/11/01 v0.0 LaTeX presentation class implementing the cooperate design of LogicalHacking.com] \mode +\def\insertpresentationendframe{\inserttotalframenumber} +\g@addto@macro{\appendix}{\immediate\write\@auxout{\string\@writefile{nav}{\noexpand\headcommand{\noexpand\def\noexpand\insertpresentationendframe{\the\c@framenumber}}}}} + + \defbeamertemplate*{navigation symbols}{lh}{} % Section and subsections in head/foot @@ -53,7 +57,8 @@ \parbox{\@tempdima}{\mbox{}\\[.0025cm] \mbox{}\quad \textcolor{fg}{\tiny\bfseries \textcopyright~\the\year{} \href{https://logicalhacking.com}{LogicalHacking.com}. \hfill \lh@classification\hfill - Page \insertframenumber{} of \inserttotalframenumber}\quad\mbox{}\\[.0025cm] + Page \insertframenumber{} of \insertpresentationendframe%\inserttotalframenumber +}\quad\mbox{}\\[.0025cm] }}}}% \vskip0pt% }