Skip to content

Commit

Permalink
Make definitions in nav file global
Browse files Browse the repository at this point in the history
prepare for fixing #442
  • Loading branch information
louisstuart96 committed Dec 17, 2017
1 parent 008f8ab commit cb9eed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/beamerbasemisc.sty
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
\immediate\write\@auxout{\string\@writefile{nav}%
{\noexpand\headcommand{\noexpand\beamer@documentpages{\the\beamer@tempcount}}}}
\immediate\write\@auxout{\string\@writefile{nav}%
{\noexpand\headcommand{\noexpand\def\noexpand\inserttotalframenumber{\the\c@framenumber}}}}
{\noexpand\headcommand{\noexpand\gdef\noexpand\inserttotalframenumber{\the\c@framenumber}}}}
\newwrite\tf@nav
\immediate\openout\tf@nav\jobname.nav\relax
\newwrite\tf@toc
Expand Down

3 comments on commit cb9eed4

@josephwright
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change is right long-term: I suspect we'll need to provide a built-in approach for the appendix numbring business. Guess I should log an issue ...

@jlelong
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The appendixnumberbeamer package has just been updated to fix this, see jlelong/appendixnumberbeamer#1. Version 1.2 has been uploaded to CTAN.

@josephwright
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jlelong Excellent: I think overall we've gone the right way here.

Please sign in to comment.