texlive[54772] Master/texmf-dist: beamertheme-focus (16apr20)

commits+karl at tug.org commits+karl at tug.org
Thu Apr 16 23:01:47 CEST 2020


Revision: 54772
          http://tug.org/svn/texlive?view=revision&revision=54772
Author:   karl
Date:     2020-04-16 23:01:46 +0200 (Thu, 16 Apr 2020)
Log Message:
-----------
beamertheme-focus (16apr20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-# Focus v2.5
+# Focus v2.6
 A presentation theme for LaTeX Beamer that aims at a clean and minimalist design,
 so to minimize distractions and put the focus directly on the content.
 

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
+% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
 % A full list of contributors can be found at
 %
 %     https://github.com/elauksap/focus-beamertheme

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
+% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
 % A full list of contributors can be found at
 %
 %     https://github.com/elauksap/focus-beamertheme

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
+% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
 % A full list of contributors can be found at
 %
 %     https://github.com/elauksap/focus-beamertheme
@@ -84,6 +84,7 @@
    	\vspace*{0pt plus 100fill}
     
     \addtocounter{framenumber}{-1}
+    \addtocounter{realframenumber}{-1}
 }
 
 % Section page.

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
+% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
 % A full list of contributors can be found at
 %
 %     https://github.com/elauksap/focus-beamertheme
@@ -37,11 +37,12 @@
 \RequirePackage{etoolbox} % \BeforeBeginEnvironment.
 \RequirePackage{tikz}
 
+\newcounter{realframenumber}
 
 % FRAMETITLE TEMPLATES. --------------------------------------------------------
 \defbeamertemplate*{frametitle}{focus}{%
     % If not title page.
-    \ifnum\value{framenumber}>0%
+    \ifnum\value{realframenumber}>0%
         \vspace{-1pt}%
         \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm]{frametitle}%
             \strut\insertframetitle\strut%
@@ -52,7 +53,7 @@
 % Plain header.
 \defbeamertemplate*{frametitle}{plain}{%
     % If not title page.
-    \ifnum\value{framenumber}>0%
+    \ifnum\value{realframenumber}>0%
         \vspace{-1pt}%
         \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm,ignorebg]{frametitle}%
             \strut%
@@ -78,8 +79,8 @@
         \addtolength{\focus at pbar@rightoffset}{1.5em}%
         %
         % If not title page.
-        \ifnum\c at framenumber>0%
-            \ifnum\c at framenumber<\inserttotalframenumber%
+        \ifnum\value{realframenumber}>0%
+            \ifnum\value{framenumber}<\inserttotalframenumber%
                 \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]\usebeamerfont{footline}
                     \pgfmathsetmacro{\focus at pbar@progress}%
                         {(\paperwidth-\focus at pbar@leftoffset-\focus at pbar@rightoffset)*(\insertframenumber/\inserttotalframenumber)}
@@ -119,7 +120,7 @@
         \addtolength{\focus at pbar@rightoffset}{1.5em}%
         %
         % If not title page.
-        \ifnum\c at framenumber>0%
+        \ifnum\value{realframenumber}>0%
             \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]
                 \clip (0,0) rectangle ++(\paperwidth,\the\focus at pbar@height);
                 \fill[footline.bg] (0,0) rectangle ++(\paperwidth,\the\focus at pbar@height);
@@ -169,6 +170,7 @@
 
 % HOOKS FOR CREATING FRAMES. ---------------------------------------------------
 \BeforeBeginEnvironment{frame}{%
+    \stepcounter{realframenumber}
     \setbeamertemplate{background canvas}[focus]%
     \setbeamertemplate{frametitle}[focus]%
     %

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2020-04-16 21:01:28 UTC (rev 54771)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2020-04-16 21:01:46 UTC (rev 54772)
@@ -1,4 +1,4 @@
-% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
+% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community.
 % A full list of contributors can be found at
 %
 %     https://github.com/elauksap/focus-beamertheme
@@ -19,7 +19,7 @@
 % along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemefocus}[2019/11/20 v2.5 Focus Beamer theme]
+\ProvidesPackage{beamerthemefocus}[2020/04/15 v2.6 Focus Beamer theme]
 
 \mode<presentation>
 



More information about the tex-live-commits mailing list.