texlive[46317] Master/texmf-dist: appendixnumberbeamer (15jan18)
commits+karl at tug.org
commits+karl at tug.org
Mon Jan 15 23:19:54 CET 2018
Revision: 46317
http://tug.org/svn/texlive?view=revision&revision=46317
Author: karl
Date: 2018-01-15 23:19:53 +0100 (Mon, 15 Jan 2018)
Log Message:
-----------
appendixnumberbeamer (15jan18)
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README.md
trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/VERSION
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README
Deleted: trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README 2018-01-15 01:23:20 UTC (rev 46316)
+++ trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README 2018-01-15 22:19:53 UTC (rev 46317)
@@ -1,12 +0,0 @@
-appendixnumberbeamer Package -- Jérôme Lelong
----------------------------------------------
-
-This package fixes the frame numbering in beamer when using an appendix
-such that the slides from the appendix are not counted in the total frame
-number of the main part of the document. The total frame number counter
-is reset to 0 when entering the appendix.
-
-The standard usage is to include \usepackage{appendixnumberbeamer} in
-the preamble and then declare the beginning of the appendix as usual
-using the \appendix command.
-
Added: trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README.md 2018-01-15 22:19:53 UTC (rev 46317)
@@ -0,0 +1,14 @@
+# appendixnumberbeamer.sty
+
+This package fixes the frame numbering in `beamer` when using an appendix
+such that the slides of the appendix are not counted in the total frame
+number of the main part of the document. The total frame number counter
+is reset to 0 when entering the appendix.
+
+The standard usage is to include `\usepackage{appendixnumberbeamer}` in
+the preamble and then declare the beginning of the appendix as usual
+using the `\appendix` command.
+
+This package is also available from
+http://www.ctan.org/pkg/appendixnumberbeamer and is included in the
+TeXLive and MiKTeX distributions
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/VERSION
===================================================================
--- trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/VERSION (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/appendixnumberbeamer/VERSION 2018-01-15 22:19:53 UTC (rev 46317)
@@ -0,0 +1 @@
+1.2
Modified: trunk/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty 2018-01-15 01:23:20 UTC (rev 46316)
+++ trunk/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty 2018-01-15 22:19:53 UTC (rev 46317)
@@ -1,8 +1,11 @@
% vim:ft=plaintex:
%
% Written and (C) by Jérôme Lelong <jerome.lelong at gmail.com>
-% 2007 - 2016
-%
+% 2007 - 2018
+%
+% Patch from Sebastian Friedl <sfr682k at t-online.de> to fix issue #1
+% for Beamer >= 3.48.
+%
% This program is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by the
% Free Software Foundation; either version 3 of the License, or (at your
@@ -29,7 +32,7 @@
\makeatletter
-\let\appendixtotalframenumber\empty
+\gdef\appendixtotalframenumber{0}
\def\mainend{-1}
\let\appendixorig\appendix
@@ -40,7 +43,7 @@
\xdef\mainend{\theframenumber}
\immediate\write\@auxout{\string\global\string\@namedef{mainendframenumber}{\mainend}}
\appendixorig
- \gdef\inserttotalframenumber{\appendixtotalframenumber}%
+ \headcommand{\gdef\inserttotalframenumber{\appendixtotalframenumber}}%
\setcounter{framenumber}{0}
}
@@ -51,10 +54,10 @@
\ifnum\mainend>0%
\immediate\write\@auxout{\string\global\string\@namedef{appendixtotalframenumber}{\appendixend}}%
\immediate\write\@auxout{\string\global\string\@namedef{inserttotalframenumber}{\mainend}}%
- \immediate\write\@auxout{\string\@writefile{nav}{\noexpand \headcommand {%
- \noexpand \def\noexpand \inserttotalframenumber{\mainend}}}}%
- \immediate\write\@auxout{\string\@writefile{nav}{\noexpand \headcommand {%
- \noexpand \def\noexpand \appendixtotalframenumber{\appendixend}}}}%
+ \immediate\write\@auxout{\string\@writefile{nav}{\noexpand \headcommand{%
+ \noexpand\gdef\noexpand\inserttotalframenumber{\mainend}}}}%
+ \immediate\write\@auxout{\string\@writefile{nav}{\noexpand \headcommand{%
+ \noexpand\gdef\noexpand\appendixtotalframenumber{\appendixend}}}}%
\else
\fi
}
More information about the tex-live-commits
mailing list