From da8cfe6a9657c7273bc3b57ee20a83fa37036e2d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 17 May 2022 20:10:26 +0000 Subject: beamer (17may22) git-svn-id: svn://tug.org/texlive/trunk@63321 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/beamer/CHANGELOG.md | 12 ++++++++++- .../latex/beamer/beamerexample-conference-talk.pdf | Bin 343905 -> 343911 bytes .../beamerexample-lecture-beamer-version.pdf | Bin 547601 -> 547609 bytes .../beamer/beamerexample-lecture-print-version.pdf | Bin 441708 -> 441714 bytes .../doc/latex/beamer/beameruserguide.pdf | Bin 2251864 -> 2251679 bytes .../doc/latex/beamer/beameruserguide.tex | 2 +- Master/texmf-dist/tex/latex/beamer/beamer.cls | 11 +++++----- .../texmf-dist/tex/latex/beamer/beamerarticle.sty | 2 +- .../tex/latex/beamer/beamerbaseauxtemplates.sty | 11 +++++++--- .../tex/latex/beamer/beamerbaselocalstructure.sty | 8 ++++--- .../tex/latex/beamer/beamerbaseoverlay.sty | 24 ++++++++++++++++++++- .../tex/latex/beamer/beamerbasesection.sty | 8 ++++++- 12 files changed, 62 insertions(+), 16 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md b/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md index bf3bb51f4cb..9bfff6ad562 100644 --- a/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/beamer/CHANGELOG.md @@ -8,6 +8,15 @@ a major and minor version only. ## [Unreleased] +## [v3.67] + +### Changed +- beamer sets \@currentlabelname itself and no longer relies on nameref patches. + +### Fixed +- slide transitions if the new pdfmanagement is used +- name of transition replace in pdf is R not Replace + ## [v3.66] ### Fixed @@ -193,7 +202,8 @@ a major and minor version only. - Support for `noxcolor` with `beamerarticle` (see #483) - Treatment of mixed overlay/alert specifications -[Unreleased]: https://github.com/josephwright/beamer/compare/v3.66...HEAD +[Unreleased]: https://github.com/josephwright/beamer/compare/v3.67...HEAD +[v3.67]: https://github.com/josephwright/beamer/compare/v3.66...v3.67 [v3.66]: https://github.com/josephwright/beamer/compare/v3.65...v3.66 [v3.65]: https://github.com/josephwright/beamer/compare/v3.64...v3.65 [v3.64]: https://github.com/josephwright/beamer/compare/v3.63...v3.64 diff --git a/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf b/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf index 0fdd705324f..7aebaaeccfc 100644 Binary files a/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf and b/Master/texmf-dist/doc/latex/beamer/beamerexample-conference-talk.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf b/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf index 9e1b92e0996..5bad383bf65 100644 Binary files a/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf and b/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-beamer-version.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf b/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf index ba2c3f9bae5..54c13f97168 100644 Binary files a/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf and b/Master/texmf-dist/doc/latex/beamer/beamerexample-lecture-print-version.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf b/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf index f1462c75d54..633300470cd 100644 Binary files a/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf and b/Master/texmf-dist/doc/latex/beamer/beameruserguide.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex b/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex index c45081be5b7..b6ca2c0380d 100644 --- a/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex +++ b/Master/texmf-dist/doc/latex/beamer/beameruserguide.tex @@ -13,7 +13,7 @@ \documentclass{ltxdoc} -\def\beamerugversion{3.66} +\def\beamerugversion{3.67} \def\beamerugpgfversion{3.1.7} \def\beamerugxcolorversion{2.00} 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{\setbeamertemplate{bibliography item}{\insertbiblabel}}} \csappto{blx@filehook@postload@alphabetic.bbx}{% - \mode{\setbeamertemplate{bibliography item}{\insertbiblabel}}} + \mode{\setbeamertemplate{bibliography item}{\insertbiblabel}}} \csappto{blx@filehook@postload@authoryear.bbx}{% \mode{% \pretocmd{\bibsetup}{% @@ -509,7 +511,7 @@ \addtolength{\labelwidth}{2\labelsep}% \addtolength{\bibhang}{\labelsep}% }{}{}% - }} + }} \csappto{blx@filehook@postload@authortitle.bbx}{% \mode{% \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
{ @@ -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
{ 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% \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% \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% \ifbeamer@inlecture% -- cgit v1.2.3