texlive[61684] Master/texmf-dist: beamer (21jan22)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 21 23:48:59 CET 2022


Revision: 61684
          http://tug.org/svn/texlive?view=revision&revision=61684
Author:   karl
Date:     2022-01-21 23:48:59 +0100 (Fri, 21 Jan 2022)
Log Message:
-----------
beamer (21jan22)

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/beamerug-frames.tex
    trunk/Master/texmf-dist/doc/latex/beamer/beamerug-localstructure.tex
    trunk/Master/texmf-dist/doc/latex/beamer/beamerug-nonpresentation.tex
    trunk/Master/texmf-dist/doc/latex/beamer/beamerug-notes.tex
    trunk/Master/texmf-dist/doc/latex/beamer/beamerug-overlays.tex
    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/beamerbaseframe.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
    trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemesidebar.sty
    trunk/Master/texmf-dist/tex/latex/beamer/multimedia.sty

Modified: trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md	2022-01-21 22:48:59 UTC (rev 61684)
@@ -8,6 +8,27 @@
 
 ## [Unreleased]
 
+## [v3.65]
+
+### Added
+
+- adding new `onlytextwidth` class option to use this key for all `columns` environments by default (see #731)
+- adding new stretchable frame option `s` (see #696)
+- adding user-accessible commands for `\beamersidebarwidth` and `\beamerheadheight` (see #537)
+- allow custom values for `aspectratio` option (see #549)
+
+### Fixed
+
+- using `gray` colormodel for the delcarartion of fadings (workaround for #718)
+- fixed bullet colour of alerted items for custom item colour (see #735)
+- workaround to make miniframes clickable in xelatex (see #332)
+- added missing encoding value to multimedia sound macro (see #607)
+- imporoved problem with shadow of blocks without title (see #647)
+- reduced artefacts in poppler based viewers for shadow blocks (see #647)
+- workaround to make `\framezoom` clickable in xelatex (see #619)
+- exclude invisible frames from being counted (see #592)
+- fixed cut off miniframes for 8pt and 9pt (see #752)
+
 ## [v3.64]
 
 ### Added
@@ -165,7 +186,8 @@
 - Support for `noxcolor` with `beamerarticle` (see #483)
 - Treatment of mixed overlay/alert specifications
 
-[Unreleased]: https://github.com/josephwright/beamer/compare/v3.64...HEAD
+[Unreleased]: https://github.com/josephwright/beamer/compare/v3.65...HEAD
+[v3.65]: https://github.com/josephwright/beamer/compare/v3.64...v3.65
 [v3.64]: https://github.com/josephwright/beamer/compare/v3.63...v3.64
 [v3.63]: https://github.com/josephwright/beamer/compare/v3.62...v3.63
 [v3.62]: https://github.com/josephwright/beamer/compare/v3.61...v3.62

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/beamerug-frames.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beamerug-frames.tex	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beamerug-frames.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -146,6 +146,8 @@
   \item
     \declare{|b|}, \declare{|c|}, \declare{|t|} will cause the frame to be vertically aligned at the bottom/center/top. This overrides the global placement policy, which is governed by the class options |t| and |c|.
   \item
+    \declare{|s|} will cause the content of the frame to be distributed vertically across the whole frame. For a reasonable usage of the option, the user has to add ``stretchable'' material to the frame content, e.g. |\vfill| or similar macros.
+  \item
     \declare{|noframenumbering|} tells \beamer\ not to step the |framenumber| counter for this frame.
   \item
     \declare{|fragile|\opt{|=singleslide|}} tells \beamer\ that the frame contents is ``fragile.'' This means that the frame contains text that is not ``interpreted as usual.'' For example, this applies to verbatim text, which is, obviously, interpreted somewhat differently from normal text.
@@ -293,8 +295,100 @@
 \item some frame contents.
 \end{enumerate}
 
-A frame need not have all of these components. Usually, the first three components are automatically setup by the theme you are using.
+A frame need not have all of these components. Usually, the first three components are automatically setup by the theme you are using. 
+Figure \ref{fig:framelayers} shows an overview of the order in which the different components are drawn.
 
+\begin{figure}[htbp]
+% the following code is based on https://gist.githubusercontent.com/loopspace/c37dd788b217f2e963587278c3532f73/raw/f6e4708f36f661193ea7aed3cba7d389226658cc/beamerframe.tex
+\begin{tikzpicture}[z={(0.97,0)},x={(.55,.4)}]
+
+% colour palette generated by mycolor.space to match beamer's beamer at blendedblue
+\definecolor{fc_col1}{HTML}{3333b3}
+\definecolor{fc_col2}{HTML}{b1a3d9}
+\definecolor{fc_col3}{HTML}{fffade}
+\definecolor{fc_col4}{HTML}{68baa5}
+\definecolor{fc_col5}{HTML}{ae0000}
+
+\colorlet{base}{fc_col3}
+\colorlet{background canvas}{base}
+\colorlet{logo bg}{fc_col1}
+\colorlet{sidebar left}{fc_col4}
+\colorlet{sidebar right}{fc_col4}
+\colorlet{section in sidebar}{fc_col5}
+\colorlet{logo fg}{white}
+\colorlet{footline}{fc_col2}
+\colorlet{navigation symbols}{fc_col1}
+
+\pgfmathsetmacro{\bepgw}{12.8}
+\pgfmathsetmacro{\bepgh}{9.6}
+\newcommand{\component}[3][1]{%
+\path (#2) [draw,<-,thick] -- (#2 |- 0,-\bepgh-#1,0) node[below,text width=2cm,align=center] (#3) {#3};
+\stepcounter{zlayer}}
+\newcounter{zlayer}
+\setcounter{zlayer}{0}
+\def\zlayer{\the\value{zlayer}}
+
+\foreach \z in {0,...,10} {
+  \draw[gray,ultra thick] (0,-\bepgh,\z) -- (\bepgw,-\bepgh,\z) -- (\bepgw,0,\z);
+}
+
+% background canvas
+\fill[background canvas] (0,0,\zlayer) -- ++(\bepgw,0,0) -- ++(0,-\bepgh,0) -- ++(-\bepgw,0,0) -- cycle;
+\component[1]{1,-\bepgh,\zlayer}{background canvas}
+
+% background
+\draw[gray] \foreach \x in {0,...,\bepgw} \foreach \y in {0,...,\bepgh} {(\x,0,\zlayer) -- (\x,-\bepgh,\zlayer) (0,-\y,\zlayer) -- (\bepgw,-\y,\zlayer)};
+\component[2]{1,-\bepgh,\zlayer}{background}
+
+% left sidebar
+\fill[sidebar left] (0,0,\zlayer) -- ++(2,0,0) -- ++(0,-\bepgh,0) -- ++(-2,0,0) -- cycle;
+\component[3]{1,-\bepgh,\zlayer}{sidebar canvas left}
+
+% section in sidebar
+\node[yslant=.7,right,align=left,text=section in sidebar,font=\sffamily] at (0,-.45*\bepgh,\zlayer) (a section in sidebar) {First slide \\ Second slide \\ Third slide};
+\component[1]{1,-\bepgh,\zlayer}{section in sidebar}
+
+% right sidebar
+\fill[sidebar right] (\bepgw,0,\zlayer) -- ++(-2,0,0) -- ++(0,-\bepgh,0) -- ++(2,0,0) -- cycle;
+\component[2]{1,-\bepgh,\zlayer}{sidebar canvas right}
+
+% section in right sidebar
+\node[yslant=.7,left,align=right,text=section in sidebar,font=\sffamily] at (\bepgw,-.45*\bepgh,\zlayer) (a section in right sidebar) {First slide \\ Second slide \\ Third slide};
+\component[3]{1,-\bepgh,\zlayer}{section in right sidebar}
+
+%navigation
+\node[yslant=.7,above left,align=right,text=navigation symbols,font=\sffamily] at (\bepgw,-\bepgh,\zlayer) (navigation) {Navigation symbols};
+\component[1]{1,-\bepgh,\zlayer}{navigation symbols}
+
+% logo
+\fill[logo bg] (0,0,\zlayer) -- ++(2,0,0) -- ++(0,-2,0) -- ++(-2,0,0) -- cycle;
+\node[yslant=.7,text=logo fg,align=right,font=\sffamily] at (1,-1,\zlayer) {your\\ logo\\ here};
+\component[2]{1,-\bepgh,\zlayer}{logo}
+
+% headline
+\fill[footline] (0,0,\zlayer) -- ++(\bepgw,0,0) -- ++(0,-1,0) -- ++(-\bepgw,0,0) -- cycle;
+\node[yslant=.7,text=logo fg,align=left,font=\sffamily] at (1.5,-0.5,\zlayer) {Headline};
+\component[3]{1,-\bepgh,\zlayer}{headline}
+
+% content
+\node[yslant=.7,left,align=left,text=black,font=\sffamily] at (3,-.45*\bepgh,\zlayer) (a section in right sidebar) {Content};
+\component[1]{1,-\bepgh,\zlayer}{frame content}
+
+% footline
+\fill[footline] (0,-\bepgh,\zlayer) -- ++(\bepgw,0,0) -- ++(0,.5,0) -- ++(-\bepgw,0,0) -- cycle;
+\component[2]{1,-\bepgh,\zlayer}{footline}
+
+\addtocounter{zlayer}{-1}
+
+\foreach \z in {0,...,\zlayer} {
+  \draw[gray,ultra thick] (0,-\bepgh,\z) -- (0,0,\z) -- (\bepgw,0,\z);
+}
+
+\end{tikzpicture}
+\caption{Diagram of the order in which the different frame components are drawn (Image originally created by \href{https://tex.stackexchange.com/a/27302}{Andrew Stacey})}
+\label{fig:framelayers}
+\end{figure}
+
 \subsubsection{The Headline and Footline}
 
 The headline of a frame is the area at the top of the frame. If it is not empty, it should show some information that helps the audience orientate itself during your talk. Likewise, the footline is the area at the bottom of the frame.
@@ -530,6 +624,8 @@
 
 Internally, the sidebars are typeset by showing them as part of the headline. The \beamer\ class keeps track of six dimensions, three for each side: the variables |\beamer at leftsidebar| and |\beamer at rightsidebar| store the (horizontal) sizes of the side bars, the variables |\beamer at leftmargin| and |\beamer at rightmargin| store the distance between sidebar and text, and the macros |\Gm at lmargin| and |\Gm at rmargin| store the distance from the edge of the paper to the edge of the text. Thus the sum |\beamer at leftsidebar| and |\beamer at leftmargin| is exactly |\Gm at lmargin|. Thus, if you wish to put some text right next to the left sidebar, you might write |\hskip-\beamer at leftmargin| to get there.
 
+For convenience, the width of the sidebar and the height of its headline are accessible through the macros |\beamersidebarwidth| and |\beamerheadheight|, respectively. 
+
 \begin{element}{sidebar left}\yes\yes\yes
   \colorfontparents{sidebar}
   The template is used to typeset the left sidebar. As mentioned above, the size of the left sidebar is set using the command
@@ -1152,6 +1248,17 @@
   Sets aspect ratio to 3:2, and frame size to 135\,mm by 90\,mm.
 \end{classoption}
 
+\begin{classoption}{aspectratio=xxxx}
+  Allows the user to set their own aspect ratio. For the height of the resulting frame, the default value of 96\,mm is used and the width will be calculated accordingly to match the desired aspect ratio.
+  
+  The custom aspect ratio allows for two to four digits and will be interpreted as shown in the following examples:
+  \begin{itemize}
+    \item two digits: |aspectratio=42| as 4:2
+    \item three digits: |aspectratio=137| as 13:7 (e.g. always in landscape format)
+    \item four digits: |aspectratio=1024| as 10:24
+  \end{itemize} 
+\end{classoption}
+
 Aside from using these options, you should refrain from changing the ``paper size.'' However, you \emph{can} change the size of the left and right margins, which default to 1\,cm. To change them, you should use the following command:
 
 \begin{command}{\setbeamersize\marg{options}}
@@ -1197,3 +1304,5 @@
 This command will create a frame containing four slides. The first will contain the text ``This is slide number~1,'' the second ``This is slide number~2,'' the third ``This is slide number~4,'' and the fourth ``This is slide number~5.''
 
 A useful specification is just |<0>|, which causes the frame to have no slides at all. For example, |\begin{frame}<handout:0>| causes the frame to be suppressed in the handout version, but to be shown normally in all other versions. Another useful specification is |<beamer>|, which causes the frame to be shown normally in |beamer| mode, but to be suppressed in all other versions.
+
+Frames which are hidden with |<0>| behave like the |noframenumbering| option and will not be counted for the number of frames (this only applies if no mode is specified, e.g. not for |<all:0>|). 

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerug-localstructure.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beamerug-localstructure.tex	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beamerug-localstructure.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -948,7 +948,9 @@
   \item
     \declare{|c|} will cause the columns to be centered vertically relative to each other. Default, unless the global option |t| is used.
   \item
-    \declare{|onlytextwidth|} is the same as |totalwidth=\textwidth|.
+    \declare{|onlytextwidth|} is the same as |totalwidth=\textwidth|. This option can also be set for the whole document with the |onlytextwidth| class option:
+    \begin{classoption}{onlytextwidth}
+    \end{classoption}
   \item
     \declare{|t|} will cause the first lines of the columns to be aligned. Default if global option |t| is used.
   \item

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerug-nonpresentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beamerug-nonpresentation.tex	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beamerug-nonpresentation.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -271,35 +271,20 @@
 \end{itemize}
 
 \begin{center}
-	\begin{pgfpicture}
-	  \pgftransformshift{\pgfpoint{0cm}{0cm}}
-	  \pgfnode{rectangle}{center}{|all|}{allnode}{}
-	  \pgftransformshift{\pgfpoint{-2cm}{-1.25cm}}
-	  \pgfnode{rectangle}{center}{|presentation|}{presentationnode}{}
-	  \pgftransformshift{\pgfpoint{4cm}{0cm}}
-	  \pgfnode{rectangle}{center}{|article|}{articlenode}{}
-	  \pgftransformshift{\pgfpoint{-7cm}{-1.5cm}}
-	  \pgfnode{rectangle}{center}{|beamer|}{beamernode}{}    
-	  \pgftransformshift{\pgfpoint{2cm}{0cm}}
-	  \pgfnode{rectangle}{center}{|second|}{secondnode}{}
-	  \pgftransformshift{\pgfpoint{2cm}{0cm}}        
-	  \pgfnode{rectangle}{center}{|handout|}{handoutnode}{}
-	  \pgftransformshift{\pgfpoint{2cm}{0cm}}
-	  \pgfnode{rectangle}{center}{|trans|}{transnode}{}
-	  \pgfpathmoveto{\pgfpointanchor{allnode}{south west}}
-	  \pgfpathlineto{\pgfpointanchor{presentationnode}{north}}
-	  \pgfpathmoveto{\pgfpointanchor{allnode}{south east}}
-	  \pgfpathlineto{\pgfpointanchor{articlenode}{north}}    
-	  \pgfpathmoveto{\pgfpointanchor{presentationnode}{south west}}
-	  \pgfpathlineto{\pgfpointanchor{beamernode}{north}}
-	  \pgfpathmoveto{\pgfpointadd{\pgfpointanchor{presentationnode}{south}}{\pgfpoint{-0.3cm}{0cm}}}
-	  \pgfpathlineto{\pgfpointanchor{secondnode}{north}}
-	  \pgfpathmoveto{\pgfpointadd{\pgfpointanchor{presentationnode}{south}}{\pgfpoint{0.3cm}{0cm}}}
-	  \pgfpathlineto{\pgfpointanchor{handoutnode}{north}}
-	  \pgfpathmoveto{\pgfpointanchor{presentationnode}{south east}}
-	  \pgfpathlineto{\pgfpointanchor{transnode}{north}}            
-	  \pgfusepath{stroke}    
-	\end{pgfpicture}
+  \begin{tikzpicture}[
+    every node/.style={draw,anchor=base,font=\ttfamily\strut},
+    level 1/.style={sibling distance=50mm},
+    level 2/.style={sibling distance=20mm}
+  ]
+    \node {all}
+      child {node {presentation}
+        child {node {beamer}}
+        child {node {second}}
+        child {node {handout}}
+        child {node {trans}}
+      }
+      child {node {article}};
+  \end{tikzpicture}
 \end{center}
 
 Depending on the current mode, you may wish to have certain text inserted only in that mode. For example, you might wish a certain frame or a certain table to be left out of your article version. In some situations, you can use the |\only| command for this purpose. However, the command |\mode|, which is described in the following, is much more powerful than |\only|.

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerug-notes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beamerug-notes.tex	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beamerug-notes.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -101,7 +101,7 @@
     \itemoption{plain}{}
     Just inserts the note text, no fancy hints.
     \itemoption{lined}{\oarg{number}}
-    Instead of printing the note text, this option fills the note page with lines on which the audience can write their own notes on. \meta{number} specifies how many lines will be shown, the default is 6 lines.
+    Instead of printing the note text, this option fills the note page with lines on which the audience can write their own notes on. \meta{number} specifies how many lines will be shown, the default is 6 lines. For a more sophisticated interface, the \href{https://www.ctan.org/pkg/handoutwithnotes}{|handoutwithnotes|} package can be used.
   \end{templateoptions}
   The following two inserts are useful for note pages:
   \begin{itemize}

Modified: trunk/Master/texmf-dist/doc/latex/beamer/beamerug-overlays.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamer/beamerug-overlays.tex	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beamerug-overlays.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -545,6 +545,13 @@
 \end{verbatim}
 \end{command}
 
+In a similar way |\NewDocumentCommand|, |\NewDocumentEnvironment| etc. can be used to define overlay aware commands and environments. The overlay argument can be specified via |d<>| (without default value) or |D<>{}| (with default value) type arguments.
+
+\example
+\begin{verbatim}
+\NewDocumentCommand{\makeblue}{D<>{.-} m}{{\color<#1>{blue}#2}}
+\end{verbatim}
+
 The following two commands can be used to ensure that a certain counter is automatically reset on subsequent slides of a frame. This is necessary for example for the equation count. You might want this count to be increased from frame to frame, but certainly not from overlay slide to overlay slide. For equation counters and footnote counters (you should not use footnotes), these commands have already been invoked.
 
 \begin{command}{\resetcounteronoverlays\marg{counter name}}

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	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex	2022-01-21 22:48:59 UTC (rev 61684)
@@ -13,7 +13,7 @@
 
 \documentclass{ltxdoc}
 
-\def\beamerugversion{3.64}
+\def\beamerugversion{3.65}
 \def\beamerugpgfversion{3.1.7}
 \def\beamerugxcolorversion{2.00}
 
@@ -28,8 +28,8 @@
 \usepackage[pdfborder={0 0 0},bookmarksnumbered]{hyperref}
 \usepackage[left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry}
 \usepackage{translator}
+\usepackage{tikz}
 
-
 \input{beamerug-macros}
 
 \makeindex

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamer.cls	2022-01-21 22:48:59 UTC (rev 61684)
@@ -12,7 +12,7 @@
 % See the file doc/licenses/LICENSE for more details.
 
 \ProvidesClass{beamer}
-  [2021/10/18 v3.64 A class for typesetting presentations]
+  [2022/01/21 v3.65 A class for typesetting presentations]
 
 % Setup modes and check for article option
 % Also loads packages required by both beamer and beamerarticle
@@ -88,6 +88,7 @@
 \newif\ifbeamer at frameswithnotesonly
 \newif\ifbeamer at ignorenonframe
 \newif\ifbeamer at autopdfinfo
+\newif\ifbeamer at onlytextwidth
 
 % Option management
 \RequirePackage{beamerbaseoptions}
@@ -107,6 +108,7 @@
 \beamer at frameswithnotesonlyfalse
 \beamer at ignorenonframefalse
 \beamer at autopdfinfotrue
+\beamer at onlytextwidthfalse
 
 \DeclareOptionBeamer{usepdftitle}[true]{\csname beamer at autopdfinfo#1\endcsname}
 \DeclareOptionBeamer{envcountsect}{\beamer at countsecttrue}
@@ -169,6 +171,8 @@
       \lccode`\~=\count@
       \catcode\count@=\active
       \lowercase{\def~{\kern1ex}}}}}
+      
+\DeclareOptionBeamer{onlytextwidth}{\beamer at onlytextwidthtrue}      
 
 % obsolete options
 \DeclareOptionBeamer{notes}[show]{\csname beamer at notesaction@#1\endcsname}
@@ -322,6 +326,14 @@
   \else\ifnum#1=141 %
     \setlength\beamer at paperwidth{14.85cm}%
     \setlength\beamer at paperheight{10.50cm}%
+  \else
+    \setlength\beamer at paperheight{9.60cm}%
+    \ifnum#1<1000%
+      \pgfmathparse{(#1-mod(#1,10))/10.0/mod(#1,10)}%
+    \else%
+      \pgfmathparse{(#1-mod(#1,100))/100.0/mod(#1,100)}%
+    \fi%
+    \setlength\beamer at paperwidth{\pgfmathresult\beamer at paperheight}%
   \fi\fi\fi\fi\fi\fi\fi\fi
 }
 
@@ -338,6 +350,9 @@
 % Process Options
 %
 
+% before processing beamer options for \pgfmathparse
+\RequirePackage{pgfcore}
+
 \ExecuteOptionsBeamer{c}
 \ProcessOptionsBeamer
 
@@ -348,7 +363,6 @@
 \beamer at filterclassoptions
 
 % Low-level graphic drawing and advanced color support.
-\RequirePackage{pgfcore}
 \RequirePackage{xxcolor}
 
 % Normally loaded by hyperref but to be on the safe side ...

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -12,7 +12,7 @@
 % See the file doc/licenses/LICENSE for more details.
 
 \ProvidesPackage{beamerarticle}
-  [2021/10/18 v3.64 beamer input in article mode]
+  [2022/01/21 v3.65 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	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -142,7 +142,7 @@
       color(0bp)=(pgftransparent!0);
       color(8bp)=(pgftransparent!100)
     }%
-    \pgfdeclarehorizontalshading{bmb at shadowhorz\the\bmb at boxheight}{\bmb at boxheight-6bp}
+    \pgfdeclarehorizontalshading{bmb at shadowhorz\the\bmb at boxheight}{\bmb at boxheight-5.5bp}
     {%
       color(0bp)=(pgftransparent!0);
       color(8bp)=(pgftransparent!100)
@@ -152,24 +152,31 @@
       color(0bp)=(pgftransparent!100);
       color(8bp)=(pgftransparent!0)
     }%
-    \pgfdeclarefading{bmb at shadowmask\the\bmb at boxwidth\the\bmb at boxheight}
-    {%
-      \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\the\bmb at boxwidth}}
-        \pgftext[base, at=\pgfpoint{\bmb at boxwidth+4bp}{8bp}]{\pgfuseshading{bmb at shadowhorz\the\bmb at boxheight}}
-        %
-        % 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}%
-      \hskip4bp%      
-    }%
+    \begingroup%
+      \selectcolormodel{gray}
+      \pgfdeclarefading{bmb at shadowmask\the\bmb at boxwidth\the\bmb at boxheight}
+      {%
+        \begin{pgfpicture}
+          \pgftext[at=\pgfpoint{4bp}{4bp}]{\pgfuseshading{bmb at shadowball}}% bottom left shadow
+          \ifdim\bmb at boxheight>9.5bp%
+            \pgftext[at=\pgfpoint{\bmb at boxwidth}{8bp}]{\pgfuseshading{bmb at shadowballlarge}}% bottom right shadow
+            \pgftext[at=\pgfpoint{\bmb at boxwidth+4bp}{\bmb at boxheight+2bp}]{\pgfuseshading{bmb at shadowball}}% top right shadow
+            \pgftext[base, at=\pgfpoint{\bmb at boxwidth+4bp}{7.5bp}]{\pgfuseshading{bmb at shadowhorz\the\bmb at boxheight}}% right edge shadow
+          \else%
+            \pgftext[at=\pgfpoint{\bmb at boxwidth}{4bp}]{\pgfuseshading{bmb at shadowball}}% right shadow
+          \fi%
+          \pgftext[left, at=\pgfpoint{4bp}{4bp}]{\pgfuseshading{bmb at shadowvert\the\bmb at boxwidth}}% bottom edge
+          %
+          % clipping is needed because shadow is typeset on top of box
+          \begin{pgfscope}
+            \pgfsetcolor{black}
+            \pgfpathrectangle{\pgfpoint{4bp}{8.1bp}}{\pgfpoint{\bmb at boxwidth}{\bmb at boxheight-2bp}}
+            \pgfusepath{fill}
+          \end{pgfscope}
+        \end{pgfpicture}%
+        \hskip4bp%      
+      }%
+    \endgroup%
   \fi%
   \bmb at temp=\bmb at width%
   \bmb at dima=\bmb at temp\advance\bmb at dima by2.2bp%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -84,23 +84,23 @@
   \beamer at thc@prepcolor%
   \beamer at thc@docolor{#2}%
   \ifx\beamer at thc@fg\@empty%
-    \@namelet{\string\color@ temp at fg}{\string\color@ fg}%
+    \colorlet{temp at fg}{fg}%
   \else%
     \colorlet{temp at fg}{\csname beamer at thc@fg\endcsname}%
   \fi%
   \ifx\beamer at thc@bg\@empty%
-    \@namelet{\string\color@ temp at bg}{\string\color@ bg}%
+    \colorlet{temp at bg}{bg}%
   \else%
     \colorlet{temp at bg}{\csname beamer at thc@bg\endcsname}%
   \fi%
-  \@namelet{\string\color@ parent.fg}{\string\color@ fg}%
-  \@namelet{\string\color@ parent.bg}{\string\color@ bg}%
-  \@namelet{\string\color@ fg}{\string\color@ temp at fg}%
-  \@namelet{\string\color@ bg}{\string\color@ temp at bg}%
-  \begingroup%
-    \global\@namelet{\string\color@ #2.fg}{\string\color@ temp at fg}%
-    \global\@namelet{\string\color@ #2.bg}{\string\color@ temp at bg}%
-  \endgroup%
+  \colorlet{parent.fg}{fg}%
+  \colorlet{parent.bg}{bg}%
+  \colorlet{fg}{temp at fg}%
+  \colorlet{bg}{temp at bg}%
+  \globalcolorstrue
+  \colorlet{#2.fg}{temp at fg}%
+  \colorlet{#2.bg}{temp at bg}%
+  \globalcolorsfalse
   \def\beamer at temp{#1}%
   \ifx\beamer at temp\@empty%
   \else%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -270,6 +270,12 @@
   \beamer at frametopskipautobreak=\beamer at frametopskip\relax%
   \beamer at framebottomskipautobreak=\beamer at framebottomskip\relax%
 }
+\define at key{beamerframe}{s}[true]{% stretch
+  \beamer at frametopskip=0pt\relax%
+  \beamer at framebottomskip=0pt plus 0.001fill\relax%
+  \beamer at frametopskipautobreak=\beamer at frametopskip\relax%
+  \beamer at framebottomskipautobreak=\beamer at framebottomskip\relax%
+}
 
 \newif\ifbeamer at noframenumbering
 
@@ -405,6 +411,8 @@
   \def\beamer at defaultospec{#2}%
   \@ifnextchar[{\beamer@@@@frame<#1>}{\beamer@@@@frame<#1>[]}}
 
+\def\beamer at testzero{0}
+
 \newdimen\framewidth
 \def\beamer at frame<#1>{
   \@ifnextchar[{\beamer@@@frame<#1>}{\beamer@@@frame<#1>[]}}
@@ -434,12 +442,14 @@
   \setkeys{beamerframe}{environment=frame}%
   \setkeys{beamerframe}{#2}%
   \beamer at frametemplate%
-  \ifbeamer at noframenumbering%
-    \ifbeamer at isfragile%Fragile frames will be processed twice
-      \stepcounter{framenumber}%
+  \ifbeamer at isfragile%Fragile frames will be processed twice
+    \stepcounter{framenumber}%do not set \label here - it interferes with AtBegin*
+  \else%  
+    \ifx\beamer at whichframes\beamer at testzero\else
+      \ifbeamer at noframenumbering\else%
+        \stepcounter{framenumber}%do not set \label here - it interferes with AtBegin*
+      \fi%
     \fi%
-  \else%
-    \stepcounter{framenumber}%do not set \label here - it interferes with AtBegin*
   \fi%
   {\let\@elt\beamer at savecounter\beamer at overlaycounterresets}
   \gdef\beamer at framestartpage{}%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -205,19 +205,24 @@
 
 \newenvironment<>{columns}[1][]{%
   \begin{actionenv}#2%
-  \def\beamer at colentrycode{%
-    \hbox to\textwidth\bgroup%
-    \leavevmode%
-    \hskip-\beamer at leftmargin%
-    \nobreak%
-    \beamer at tempdim=\textwidth%
-    \advance\beamer at tempdim by\beamer at leftmargin%
-    \advance\beamer at tempdim by\beamer at rightmargin%
-    \hbox to\beamer at tempdim\bgroup%
-    \hbox{}\hfill\ignorespaces}%
-  \def\beamer at colexitcode{\egroup%
-    \nobreak%
-    \hskip-\beamer at rightmargin\egroup}%
+  \ifbeamer at onlytextwidth
+    \def\beamer at colentrycode{\hbox to\textwidth\bgroup\ignorespaces}%
+    \def\beamer at colexitcode{\unskip\egroup}
+  \else%
+    \def\beamer at colentrycode{%
+      \hbox to\textwidth\bgroup%
+      \leavevmode%
+      \hskip-\beamer at leftmargin%
+      \nobreak%
+      \beamer at tempdim=\textwidth%
+      \advance\beamer at tempdim by\beamer at leftmargin%
+      \advance\beamer at tempdim by\beamer at rightmargin%
+      \hbox to\beamer at tempdim\bgroup%
+      \hbox{}\hfill\ignorespaces}%
+    \def\beamer at colexitcode{\egroup%
+      \nobreak%
+      \hskip-\beamer at rightmargin\egroup}%
+  \fi%
   \ifbeamer at centered\setkeys{beamer at col}{c}\else\setkeys{beamer at col}{t}\fi%
   \setkeys{beamer at col}{#1}%
   \par%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -50,8 +50,23 @@
   \setkeys{beamerzoom}{#3}%
   \only<#1>{%
     {\hypersetup{pdfhighlight={/P},pdfborder={0 0 \beamer at zoomborderwidth}}%
-    \global\setbox\@tempboxa=\vbox{\hyperlink{\beamer at labelzoomed}{\vbox to #7{\hbox
-          to#6{\hfil}\vfil}}}}%
+    \global\setbox\@tempboxa=\vbox{\hyperlink{\beamer at labelzoomed}{%
+      \expandafter\ifx\csname XeTeXrevision\endcsname\relax
+        \vbox to #7{%
+          \hbox to#6{\hfil}%
+          \vfil%
+        }%      
+      \else%
+        \begingroup%
+          \normalsize%
+          \begin{pgfpicture}{0pt}{0pt}{#6}{#7}%
+            \pgfsetfillopacity{0}
+            \pgftext[x=0cm,y=3pt]{.}
+            \pgftext[x=#6,y=\dimexpr#7-\baselineskip+3pt]{.}    
+          \end{pgfpicture}%
+        \endgroup%
+      \fi%    
+    }}}%
     \ht\@tempboxa=0pt%
     \wd\@tempboxa=0pt%
     \dp\@tempboxa=0pt%

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -210,10 +210,11 @@
 
 % Alerted text
 
-\defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}}
+\defbeamertemplate*{alerted text begin}{default}{%
+  \setbeamercolor{local structure}{parent=alerted text}%
+  \setbeamercolor{item}{fg=alerted text.fg}%
+}
 
-
-
 % Structured text
 
 % empyt defaults

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -18,16 +18,26 @@
   {mini frame,mini frame in current section,mini frame in current subsection}
 {}
 
+\newcommand{\beamer at xelatex@fixminiframes}{%
+  \expandafter\ifx\csname XeTeXrevision\endcsname\relax
+  \else
+    \pgfsetfillopacity{0}
+    \pgftext[x=0cm,y=0.0cm]{.}
+    \pgftext[x=0.1cm,y=0.1cm]{.}    
+  \fi
+}
+
 \defbeamertemplate*{mini frame}{default}
 {%
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{fill,stroke}
+    \beamer at xelatex@fixminiframes
   \end{pgfpicture}%
 }
 [action]
 {
-  \setbeamersize{mini frame size=.14cm,mini frame offset=.03cm}
+  \setbeamersize{mini frame size=.14cm,mini frame offset=-0.01cm}
 }
 
 \defbeamertemplate*{mini frame in current section}{default}
@@ -35,6 +45,7 @@
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{stroke}
+    \beamer at xelatex@fixminiframes
   \end{pgfpicture}%
 }
 
@@ -43,6 +54,7 @@
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{stroke}
+    \beamer at xelatex@fixminiframes
   \end{pgfpicture}%
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemesidebar.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemesidebar.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/beamerouterthemesidebar.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -11,7 +11,9 @@
 
 \let\beamer at storesize\@currsize
 \newdimen\beamer at sidebarwidth
+\def\beamersidebarwidth{\beamer at sidebarwidth}
 \newdimen\beamer at headheight
+\def\beamerheadheight{\beamer at headheight}
 \usebeamerfont{frametitle}
 \beamer at sidebarwidth=2.5\baselineskip
 \beamer at headheight=2.5\baselineskip

Modified: trunk/Master/texmf-dist/tex/latex/beamer/multimedia.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamer/multimedia.sty	2022-01-21 22:48:27 UTC (rev 61683)
+++ trunk/Master/texmf-dist/tex/latex/beamer/multimedia.sty	2022-01-21 22:48:59 UTC (rev 61684)
@@ -231,7 +231,7 @@
     \else%
       \ifmm at inline%
         \beamer at pdfobj stream
-        attr {/Type /Sound \mm at r\space \mm at c\space \mm at b\space}
+        attr {/Type /Sound \mm at r\space \mm at c\space \mm at b\space \mm at e\space}
         file {#3}%
         \beamer at pdfrefobj \beamer at pdflastobj%
       \else



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