texlive[48547] Master/texmf-dist: beamer (2sep18)

commits+karl at tug.org commits+karl at tug.org
Sun Sep 2 23:14:32 CEST 2018


Revision: 48547
          http://tug.org/svn/texlive?view=revision&revision=48547
Author:   karl
Date:     2018-09-02 23:14:31 +0200 (Sun, 02 Sep 2018)
Log Message:
-----------
beamer (2sep18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf
    trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf
    trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf
    trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf
    trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex
    trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls
    trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerbasetitle.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemeshadow.sty

Modified: trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md	2018-09-02 21:14:31 UTC (rev 48547)
@@ -8,9 +8,15 @@
 
 ## [Unreleased]
 
+## [v3.52]
+
+### Fixed
+- Behaviour of `\inst` (see #489)
+- Incorrect shadows when using DVI routes (see #492)
+
 ## [v3.51]
 
-## Changed
+### Changed
 - Add `\include` and `\input` to commands respected in 'skipping' mode
 - Dynamically calculate note page size (see #487)
 
@@ -22,5 +28,6 @@
 - Support for `noxcolor` with `beamerarticle` (see #483)
 - Treatment of mixed overlay/alert specifications
 
-[Unreleased]: https://github.com/josephwright/beamer/compare/v3.51...HEAD
+[Unreleased]: https://github.com/josephwright/beamer/compare/v3.52...HEAD
+[v3.52]: https://github.com/josephwright/beamer/compare/v3.51...v3.52
 [v3.51]: https://github.com/josephwright/beamer/compare/v3.50...v3.51

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex	2018-09-02 21:14:31 UTC (rev 48547)
@@ -13,7 +13,7 @@
 
 \documentclass{ltxdoc}
 
-\def\beamerugversion{3.51}
+\def\beamerugversion{3.52}
 \def\beamerugpgfversion{1.00}
 \def\beamerugxcolorversion{2.00}
 

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls	2018-09-02 21:14:31 UTC (rev 48547)
@@ -12,7 +12,7 @@
 % See the file doc/licenses/LICENSE for more details.
 
 \ProvidesClass{beamer}
-  [2018/08/22 v3.51 A class for typesetting presentations]
+  [2018/09/02 v3.52 A class for typesetting presentations]
 
 % Setup modes and check for article option
 % Also loads packages required by both beamer and beamerarticle

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty	2018-09-02 21:14:31 UTC (rev 48547)
@@ -12,7 +12,7 @@
 % See the file doc/licenses/LICENSE for more details.
 
 \ProvidesPackage{beamerarticle}
-  [2018/08/22 v3.51 beamer input in article mode]
+  [2018/09/02 v3.52 beamer input in article mode]
 
 % Setup modes and check for article option
 % Also loads packages required by both beamer and beamerarticle

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty	2018-09-02 21:14:31 UTC (rev 48547)
@@ -23,9 +23,9 @@
 \newif\ifbmb at shadow
 \newbox\bmb at box
 \newbox\bmb at colorbox
-\newdimen\bmb at boxwidth
-\newdimen\bmb at boxheight
-\newdimen\bmb at prevheight
+\newbox\bmb at boxshadow
+\newbox\bmb at boxshadowball
+\newbox\bmb at boxshadowballlarge
 \newdimen\bmb at temp
 \newdimen\bmb at dima
 \newdimen\bmb at dimb
@@ -110,6 +110,11 @@
   \nointerlineskip%
   \vskip-0.5pt%
   \fi%
+  \ifbmb at shadow%
+    \setbox\bmb at boxshadow=\hbox{\pgfuseshading{bmb at shadow}}%
+    \setbox\bmb at boxshadowball=\hbox{\pgfuseshading{bmb at shadowball}}%
+    \setbox\bmb at boxshadowballlarge=\hbox{\pgfuseshading{bmb at shadowballlarge}}%
+  \fi%
   \setbox\bmb at colorbox=\hbox{{\pgfpicturetrue\pgfsetcolor{lower.bg}}}%
   \setbox\bmb at box=\hbox\bgroup\begin{minipage}[b]{\bmb at width}%
     \vskip2pt%
@@ -121,66 +126,49 @@
 
 \def\endbeamerboxesrounded{%
   \end{minipage}\egroup%
+  \wd\bmb at box=\bmb at width%
   \bmb at temp=\dp\bmb at box%
   \advance\bmb at temp by.5pt%
   \setbox\bmb at box=\hbox{\raise\bmb at temp\hbox{\box\bmb at box}}%
   \dp\bmb at box=0pt%
-  \bmb at boxwidth=\bmb at width%
-  \bmb at boxheight=\ht\bmb at box%
-  \advance\bmb at boxheight by4bp%
-  \advance\bmb at boxheight by\bmb at prevheight%
-  \ifbmb at shadow%
-    \pgfdeclareradialshading{bmb at shadowball}{\pgfpointorigin}
-    {%
-      color(0bp)=(pgftransparent!50);
-      color(4bp)=(pgftransparent!100)
-    }%
-    \pgfdeclareradialshading{bmb at shadowballlarge}{\pgfpointorigin}
-    {%
-      color(0bp)=(pgftransparent!0);
-      color(8bp)=(pgftransparent!100)
-    }%
-    \pgfdeclarehorizontalshading{bmb at shadowhorz}{\bmb at boxheight-6bp}
-    {%
-      color(0bp)=(pgftransparent!0);
-      color(8bp)=(pgftransparent!100)
-    }%
-    \pgfdeclareverticalshading{bmb at shadowvert}{\bmb at boxwidth-4bp}
-    {%
-      color(0bp)=(pgftransparent!100);
-      color(8bp)=(pgftransparent!0)
-    }%
-    \pgfdeclarefading{bmb at shadowmask}
-    {%
-      \begin{pgfpicture}
-        \pgftext[at=\pgfpoint{4bp}{4bp}]{\pgfuseshading{bmb at shadowball}}
-        \pgftext[at=\pgfpoint{\bmb at boxwidth}{8bp}]{\pgfuseshading{bmb at shadowballlarge}}
-        \pgftext[at=\pgfpoint{\bmb at boxwidth+4bp}{\bmb at boxheight+2bp}]{\pgfuseshading{bmb at shadowball}}
-        \pgftext[left, at=\pgfpoint{4bp}{4bp}]{\pgfuseshading{bmb at shadowvert}}
-        \pgftext[base, at=\pgfpoint{\bmb at boxwidth+4bp}{8bp}]{\pgfuseshading{bmb at shadowhorz}}
-        % 
-        % clipping is needed because shadow is typeset on top of box
-        \begin{pgfscope}
-          \pgfsetcolor{black}
-          \pgfpathrectangle{\pgfpoint{4bp}{8bp}}{\pgfpoint{\bmb at boxwidth-0.2bp}{\bmb at boxheight-2bp}}
-          \pgfusepath{fill}
-        \end{pgfscope}
-      \end{pgfpicture}%
-    }%
-  \fi%
-  \bmb at temp=\bmb at width%
+  \bmb at temp=\wd\bmb at box%
   \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%
   \bmb at dimb=\bmb at temp\advance\bmb at dimb by4bp%
   \hbox{%
     \begin{pgfpicture}{0bp}{0bp}{0bp}{0bp}
       \ifbmb at shadow%
-        \begin{pgfscope}
-          \pgfpathrectangle{\pgfpoint{0bp}{-7bp}}
-            {\pgfpoint{\bmb at boxwidth+8bp}{\bmb at boxheight+6bp}}
-          \pgfsetfading{bmb at shadowmask}{%
-            \pgftransformshift{\pgfpoint{0.5\bmb at boxwidth+4.2bp}{0.5\bmb at boxheight-4bp}}}
-          \pgfusepath{fill}
-        \end{pgfscope}
+      {\pgftransformshift{\pgfpoint{4bp}{-3bp}}\pgftext{\copy\bmb at boxshadowball}}
+      \begin{pgfscope}
+        {%
+        \advance\bmb at temp by-1bp%
+        \pgfpathrectangle{\pgfpoint{\bmb at temp}{-7bp}}{\pgfpoint{9bp}{9bp}}%
+        \pgfusepath{clip}
+        }%
+        {\pgftransformshift{\pgfpoint{\bmb at temp}{1bp}}\pgftext{\box\bmb at boxshadowballlarge}}
+      \end{pgfscope}
+      \begin{pgfscope}
+        \advance\bmb at temp by-4bp%
+        \pgfpathrectangle{\pgfpoint{4bp}{-7bp}}{\pgfpoint{\bmb at temp}{5bp}}
+        \pgfusepath{clip}
+        {\pgftransformshift{\pgfpoint{4bp}{-7bp}}\pgftext[left,base]{\copy\bmb at boxshadow}}%
+      \end{pgfscope}
+      \begin{pgfscope}
+        \advance\bmb at temp by 4bp%
+        \bmb at dima=\ht\bmb at box%
+        \advance\bmb at dima by\bmb at prevheight%
+        \advance\bmb at dima by 4bp%
+        \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
+        \pgfusepath{clip}
+        \advance\bmb at dima by-4bp%
+        {\pgftransformshift{\pgfpoint{\bmb at temp}{\bmb at dima}}\pgftext{\box\bmb at boxshadowball}}
+        \advance\bmb at dima by-1bp%
+        \pgfpathrectangle{\pgfpoint{\bmb at temp}{1bp}}{\pgfpoint{4bp}{\bmb at dima}}
+        \pgfusepath{clip}
+        \advance\bmb at temp by4bp%
+        {\pgftransformshift{\pgfpoint{\bmb at temp}{-3bp}}%
+          \pgftransformrotate{90}%
+          \pgftext[left,base]{\box\bmb at boxshadow}}%
+      \end{pgfscope}
       \fi%
       \unhbox\bmb at colorbox%
       \pgfpathqmoveto{-4bp}{1bp}
@@ -196,6 +184,42 @@
       \pgfpathlineto{\pgfpoint{-4bp}{\bmb at dima}}
       \pgfusepath{fill}
       }
+      \ifbmb at shadow%
+      {
+        \color{black!50!bg}
+        \pgfsetlinewidth{0pt}
+        \pgfpathmoveto{\pgfpoint{\bmb at dimb}{-.5bp}}
+        \bmb at dima=\ht\bmb at box%
+        \advance\bmb at dima by\bmb at prevheight%
+        \advance\bmb at dima by 1bp%
+        \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+        \pgfusepath{stroke}
+        \bmb at temp=\bmb at dima
+        \advance\bmb at dima by 1bp%
+        \color{black!31!bg}
+        \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+        \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+        \pgfusepath{stroke}
+        \advance\bmb at dima by 1bp%
+        \advance\bmb at temp by 1bp%
+        \color{black!19!bg}
+        \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+        \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+        \pgfusepath{stroke}
+        \advance\bmb at dima by 1bp%
+        \advance\bmb at temp by 1bp%
+        \color{black!6!bg}
+        \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+        \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+        \pgfusepath{stroke}
+        \advance\bmb at dima by 1.5bp%
+        \advance\bmb at temp by 1bp%
+        \color{bg}
+        \pgfpathmoveto{\pgfpoint{\bmb at dimb}{\bmb at temp}}
+        \pgfpathlineto{\pgfpoint{\bmb at dimb}{\bmb at dima}}
+        \pgfusepath{stroke}
+      }
+      \fi
     \end{pgfpicture}%
     \box\bmb at box%
   }%
@@ -207,8 +231,18 @@
   \egroup% of \vbox\bgroup
 }
 
+%
 % Shadings
+%
 
+% Shadows
+\pgfdeclareradialshading[black,bg]{bmb at shadowball}{\pgfpointorigin}{%
+  color(0bp)=(black!50!bg); color(4bp)=(bg)}
+\pgfdeclareradialshading[black,bg]{bmb at shadowballlarge}{\pgfpointorigin}{%
+  color(0bp)=(black!50!bg); color(4bp)=(black!50!bg); color(8bp)=(bg)}
+\pgfdeclareverticalshading[black,bg]{bmb at shadow}{200cm}{%
+  color(0bp)=(bg); color(4bp)=(black!50!bg); color(8bp)=(black!50!bg)}
+
 % Transition line
 \pgfdeclareverticalshading[lower.bg,upper.bg]{bmb at transition}{200cm}{%
   color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(upper.bg)}

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty	2018-09-02 21:14:31 UTC (rev 48547)
@@ -148,7 +148,6 @@
 
 \newif\ifbeamer at colbox@rounded
 \newif\ifbeamer at colbox@ignorebg
-\newdimen\beamer at bg@ht \newdimen\beamer at bg@wd \newdimen\beamer at bg@dp
 
 \newenvironment{beamercolorbox}[2][]{%
   \def\beamer at vmode{\leavevmode}%
@@ -208,17 +207,16 @@
       \box\beamer at tempbox%
     \fi%
   \else%
-    \beamer at bg@ht=\ht\beamer at tempbox\relax\beamer at bg@dp=\dp\beamer at tempbox\relax\beamer at bg@wd=\wd\beamer at tempbox\relax%
     \setbox\beamer at tempbox=\hbox{%
-      \if at tempswa%
-        \ifdim\beamer at colbox@colseps>\z@%
-          \advance\beamer at bg@wd\beamer at colbox@colseps\advance\beamer at bg@wd\beamer at colbox@colseps%
-%          \advance\beamer at bg@ht\beamer at colbox@colseps\advance\beamer at bg@dp\beamer at colbox@colseps%
-          \hskip-\beamer at colbox@colseps\fi%
-        \usebeamercolor{\beamer at colbox@color}%
-        \rlap{\color at begingroup\color{bg}\vrule\@width\beamer at bg@wd\@height\beamer at bg@ht\@depth\beamer at bg@dp\color at endgroup}%
-        \ifdim\beamer at colbox@colseps>\z@\hskip\beamer at colbox@colseps\fi%
-      \fi\box\beamer at tempbox}%
+      \usebeamercolor{\beamer at colbox@color}%
+      \hskip-\beamer at colbox@colseps%
+      \fboxsep=\z@\colorbox{bg}{%
+        \hskip\beamer at colbox@colseps%
+        \box\beamer at tempbox%
+        \hskip\beamer at colbox@colseps%
+      }%
+      \hskip-\beamer at colbox@colseps%
+      }%
     \ifdim\wd\beamer at tempbox>\textwidth%
       \setbox\beamer at tempbox=\hbox to\textwidth{\hskip0pt minus\beamer at leftmargin\relax\box\beamer at tempbox\hskip0pt minus\beamer at leftmargin\relax}%
     \fi%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbasetitle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbasetitle.sty	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbasetitle.sty	2018-09-02 21:14:31 UTC (rev 48547)
@@ -237,7 +237,7 @@
  \def\beamer at shortinstitute{#1}}
 \institute{}
 
-\def\beamer at instinst#1{{\donotcoloroutermaths$^{#1}$}\ignorespaces}
+\def\beamer at instinst#1{\textsuperscript{#1}\ignorespaces}
 \def\beamer at andinst{\\[1em]}
 
 \newcommand\insertshortinstitute[1][]{%
@@ -261,7 +261,7 @@
   \fi
 
   \providecommand\and{\unskip, }
-  \providecommand\inst[1]{$^{#1}$}
+  \providecommand\inst[1]{\textsuperscript{#1}}
 }
 
 

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemeshadow.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemeshadow.sty	2018-09-02 21:14:05 UTC (rev 48546)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemeshadow.sty	2018-09-02 21:14:31 UTC (rev 48547)
@@ -12,33 +12,30 @@
 
 \useoutertheme{split}
 
+
 \setbeamercolor{frametitle}{parent=subsection in head/foot}
 \setbeamercolor{frametitle right}{parent=section in head/foot}
 
+
 \pgfdeclarehorizontalshading[frametitle.bg,frametitle right.bg]{beamer at frametitleshade}{\paperheight}{%
   color(0pt)=(frametitle.bg);
-  color(\paperwidth)=(frametitle right.bg)
-}
+  color(\paperwidth)=(frametitle right.bg)}
 
-\pgfdeclareverticalshading{beamer at topshade}{2\paperwidth}{%
-  color(0pt)=(pgftransparent!100);
-  color(8pt)=(pgftransparent!0)
+\AtBeginDocument{
+  \pgfdeclareverticalshading{beamer at topshade}{\paperwidth}{%
+    color(0pt)=(bg);
+    color(4pt)=(black!50!bg)}
 }
 
-\pgfdeclarefading{beamer at topshadowmask}{\pgfuseshading{beamer at topshade}}
-
 \addtobeamertemplate{headline}
 {}
 {%
-  \vskip0pt
-  \begin{pgfpicture}
-    \pgfpathrectangle{\pgfpoint{0pt}{-4pt}}{\pgfpoint{\paperwidth}{4pt}}%
-    \pgfsetfading{beamer at topshadowmask}{}%
-    \pgfusepath{fill}%
-  \end{pgfpicture}
+  \vskip-0.2pt
+  \pgfuseshading{beamer at topshade}
   \vskip-2pt
 }
 
+
 \defbeamertemplate*{frametitle}{shadow theme}
 {%
   \nointerlineskip%
@@ -66,18 +63,10 @@
       \beamer at tempdim=\ht\beamer at tempbox%
       \advance\beamer at tempdim by 2pt%
       \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\beamer at tempdim}
-        \begin{pgfscope}
-          \pgfsetfillcolor{black}%
-          \pgfpathrectangle{\pgfpoint{0pt}{-4pt}}{\pgfpoint{\paperwidth}{8pt}}%
-          \pgfsetfading{beamer at topshadowmask}{}%
-          \pgfusepath{fill}%
-        \end{pgfscope}
-        \begin{pgfscope}
-          \usebeamercolor{frametitle right}%
-          \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer at tempdim}}%
-          \pgfusepath{clip}%
-          \pgftext[left,base]{\pgfuseshading{beamer at frametitleshade}}%
-        \end{pgfscope}
+        \usebeamercolor{frametitle right}
+        \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer at tempdim}}
+        \pgfusepath{clip}
+        \pgftext[left,base]{\pgfuseshading{beamer at frametitleshade}}
       \end{pgfpicture}
       \hskip-\paperwidth%
       \box\beamer at tempbox%
@@ -84,8 +73,13 @@
     }%
     \hskip-\Gm at rmargin%
   }%
-  \vskip-2pt
+  \nointerlineskip
+    \vskip-0.2pt
+    \hbox to\textwidth{\hskip-\Gm at lmargin\pgfuseshading{beamer at topshade}\hskip-\Gm at rmargin}
+    \vskip-2pt
 }
 
+
+
 \mode
 <all>



More information about the tex-live-commits mailing list