diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-17 20:10:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-17 20:10:26 +0000 |
commit | da8cfe6a9657c7273bc3b57ee20a83fa37036e2d (patch) | |
tree | 717ee1e6734e779ac00f8a850506576d751a3cfb /Master/texmf-dist/tex | |
parent | bcf9eb7b3ed19eab26283585e9fe6b8c2bf7fac0 (diff) |
beamer (17may22)
git-svn-id: svn://tug.org/texlive/trunk@63321 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
6 files changed, 50 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamer.cls b/Master/texmf-dist/tex/latex/beamer/beamer.cls index 7b07f7b6fe7..7e5b5581213 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamer.cls +++ b/Master/texmf-dist/tex/latex/beamer/beamer.cls @@ -12,7 +12,7 @@ % See the file doc/licenses/LICENSE for more details. \ProvidesClass{beamer} - [2022/02/08 v3.66 A class for typesetting presentations] + [2022/05/17 v3.67 A class for typesetting presentations] % Setup modes and check for article option % Also loads packages required by both beamer and beamerarticle @@ -171,8 +171,8 @@ \lccode`\~=\count@ \catcode\count@=\active \lowercase{\def~{\kern1ex}}}}} - -\DeclareOptionBeamer{onlytextwidth}{\beamer@onlytextwidthtrue} + +\DeclareOptionBeamer{onlytextwidth}{\beamer@onlytextwidthtrue} % obsolete options \DeclareOptionBeamer{notes}[show]{\csname beamer@notesaction@#1\endcsname} @@ -274,7 +274,7 @@ \AtBeginDocument{\PreloadUnicodePage{0}}% \AtBeginDocument{\PreloadUnicodePage{1}}% } - \else + \else \def\beamer@loaducs{% \RequirePackage{ucs}% \AtBeginDocument{\PreloadUnicodePage{0}}% @@ -368,7 +368,8 @@ % Normally loaded by hyperref but to be on the safe side ... \RequirePackage{atbegshi} - +% suppress the nameref beamer patches as they are now done by beamer: +\def\NR@nopatch@beamer{} \RequirePackage[implicit=false]{hyperref} \hypersetup{pdfcreator={LaTeX with Beamer class}} diff --git a/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty b/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty index 9e398a50e0f..c56dbc55a3b 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerarticle.sty @@ -12,7 +12,7 @@ % See the file doc/licenses/LICENSE for more details. \ProvidesPackage{beamerarticle} - [2022/02/08 v3.66 beamer input in article mode] + [2022/05/17 v3.67 beamer input in article mode] % Setup modes and check for article option % Also loads packages required by both beamer and beamerarticle diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty index c77970cd314..b3638febe56 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty @@ -190,8 +190,8 @@ % prevents the period to be printed with the first/last section option \ifnum\beamer@tempcount>\beamer@toclastsection \else - \ifnum\beamer@tempcount>0 - \inserttocsectionnumber. + \ifnum\beamer@tempcount>0 + \inserttocsectionnumber. \fi\fi% \inserttocsection\par% } @@ -854,7 +854,12 @@ \defbeamertemplate{theorem end}{numbered} {\end{\inserttheoremblockenv}} - +\AtBeginDocument{% + \addtobeamertemplate{theorem begin}{% + \expandafter\GetTitleString\expandafter{\inserttheoremaddition}% + \let\@currentlabelname\GetTitleStringResult}{}% + } + \defbeamertemplate{theorem begin}{normal font} { \normalfont diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty index d2b08184edf..59dcb77a899 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty @@ -305,6 +305,8 @@ \def\enddescription{\ifhmode\unskip\fi\endlist% \usebeamertemplate{description body end}} \long\def\beamer@descriptionitem#1{% + \GetTitleString{#1}% + \let\@currentlabelname\GetTitleStringResult \def\insertdescriptionitem{#1}% \hfil\hspace\labelsep{\usebeamertemplate**{description item}}} @@ -495,12 +497,12 @@ {\ifcsundef{abx@field@title}{}{\ifpunct{}{\midsentence\newunitpunct}}% \newblock\unspace\usebeamercolor[fg]{bibliography entry note}}{}{}} {}} - + % Adding patches to some biblatex styles \csappto{blx@filehook@postload@numeric.bbx}{% \mode<presentation>{\setbeamertemplate{bibliography item}{\insertbiblabel}}} \csappto{blx@filehook@postload@alphabetic.bbx}{% - \mode<presentation>{\setbeamertemplate{bibliography item}{\insertbiblabel}}} + \mode<presentation>{\setbeamertemplate{bibliography item}{\insertbiblabel}}} \csappto{blx@filehook@postload@authoryear.bbx}{% \mode<presentation>{% \pretocmd{\bibsetup}{% @@ -509,7 +511,7 @@ \addtolength{\labelwidth}{2\labelsep}% \addtolength{\bibhang}{\labelsep}% }{}{}% - }} + }} \csappto{blx@filehook@postload@authortitle.bbx}{% \mode<presentation>{% \pretocmd{\bibsetup}{% diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty index 46cc607dde7..8ad4f3daa83 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty @@ -741,6 +741,7 @@ \edef\beamer@temp{{pdfpagetransition={#2 \beamer@transdir\space\beamer@dur}}}% \expandafter\hypersetup\beamer@temp} + \mode <article> { @@ -759,7 +760,7 @@ \newcommand<>{\transfade}[1][]{\only#2{\beamer@dotrans[{#1}]{Fade}}} \newcommand<>{\transglitter}[1][]{\only#2{\beamer@dotrans[{#1}]{Glitter}}} \newcommand<>{\transpush}[1][]{\only#2{\beamer@dotrans[{#1}]{Push}}} - \newcommand<>{\transreplace}[1][]{\only#2{\beamer@dotrans[{#1}]{Replace}}} + \newcommand<>{\transreplace}[1][]{\only#2{\beamer@dotrans[{#1}]{R}}} \newcommand<>{\transsplitverticalin}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /V /M /I}}} \newcommand<>{\transsplitverticalout}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /V /M /O}}} \newcommand<>{\transsplithorizontalin}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /H /M /I}}} @@ -771,6 +772,27 @@ \newcommand<>{\transduration}[1]{\only#2{\hypersetup{pdfpageduration={#1}}}} +\@ifundefined{IfPDFManagementActiveTF}{} + { + \IfPDFManagementActiveTF + { + \renewcommand\beamer@dotrans[2][]{% + \hypersetup{pdfpagetransition={style=#2,#1}}% + } + \renewcommand<>{\transblindshorizontal}[1][]{\only#2{\beamer@dotrans[{#1,direction=H}]{Blinds}}} + \renewcommand<>{\transblindsvertical}[1][]{\only#2{\beamer@dotrans[{#1,direction=V}]{Blinds}}} + \renewcommand<>{\transboxin}[1][]{\only#2{\beamer@dotrans[{#1,motion=I}]{Box}}} + \renewcommand<>{\transboxout}[1][]{\only#2{\beamer@dotrans[{#1,motion=O}]{Box}}} + \renewcommand<>{\transsplitverticalin}[1][]{\only#2{\beamer@dotrans[{#1,direction=V,motion=I}]{Split}}} + \renewcommand<>{\transsplitverticalout}[1][]{\only#2{\beamer@dotrans[{#1,direction=V,motion=O}]{Split}}} + \renewcommand<>{\transsplithorizontalin}[1][]{\only#2{\beamer@dotrans[{#1,direction=H,motion=I}]{Split}}} + \renewcommand<>{\transsplithorizontalout}[1][]{\only#2{\beamer@dotrans[{#1,direction=H,motion=O}]{Split}}} + \renewcommand<>{\transreplace}[1][]{\only#2{\beamer@dotrans[{#1}]{R}}} + } + {} + } + + \mode <article> { diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index b28b9ea853f..82ef80b26ce 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty @@ -178,6 +178,8 @@ \long\def\beamer@@ssection*#1{\beamer@section[{#1}]{}} \long\def\beamer@@@section#1{\beamer@section[{#1}]{#1}} \long\def\beamer@section[#1]#2{% + \GetTitleString{#1}% + \let\@currentlabelname\GetTitleStringResult \beamer@savemode% \mode<all>% \ifbeamer@inlecture @@ -202,7 +204,7 @@ \def\insertsubsection{}% \def\insertsubsubsection{}% % Deal with a defective patch in metropolis theme - \def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}% + \def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}% \edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}% \def\insertsubsectionhead{}% \def\insertsubsubsectionhead{}% @@ -254,6 +256,8 @@ \long\def\beamer@@ssubsection*#1{\beamer@subsection[{#1}]{}} \def\beamer@@@subsection#1{\beamer@subsection[{#1}]{#1}} \def\beamer@subsection[#1]#2{% + \GetTitleString{#1}% + \let\@currentlabelname\GetTitleStringResult \beamer@savemode% \mode<all>% \ifbeamer@inlecture% @@ -319,6 +323,8 @@ \long\def\beamer@@ssubsubsection*#1{\beamer@subsubsection[{#1}]{}} \def\beamer@@@subsubsection#1{\beamer@subsubsection[{#1}]{#1}} \def\beamer@subsubsection[#1]#2{% + \GetTitleString{#1}% + \let\@currentlabelname\GetTitleStringResult \beamer@savemode% \mode<all>% \ifbeamer@inlecture% |