diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-18 22:36:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-18 22:36:53 +0000 |
commit | ac52c731712b8871bb99e63035680ea98bfa1445 (patch) | |
tree | d180b79f81de94326eec568e170fa9634ca7cecd /Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty | |
parent | 9fe86978e3c05cc8ffe90251487f8240f3765402 (diff) |
beamertheme-focus (18jan19)
git-svn-id: svn://tug.org/texlive/trunk@49748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty index 3f05f338e0e..c8fb6d55bc9 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or @@ -18,8 +20,21 @@ \mode<presentation> -\RequirePackage{appendixnumberbeamer}% Don't number appendix frames. -\RequirePackage{etoolbox}% \BeforeBeginEnvironment +\RequirePackage{appendixnumberbeamer} % Don't number appendix frames. +% Fix hyperref warning caused by \appendix +% (https://tex.stackexchange.com/questions/192686/hyperref-warning-caused-by-beamer-appendix). +\newcommand*{\bkmtranslateto}{\languagename} +\newcommand*{\bkmtranslate}[1]{% + \ifcsname tr@@@\bkmtranslateto @#1\endcsname + \csname tr@@@\bkmtranslateto @#1\endcsname + \else + #1% + \fi +} +\pdfstringdefDisableCommands{\let\translate\bkmtranslate} +\RequirePackage{bookmark} + +\RequirePackage{etoolbox} % \BeforeBeginEnvironment. \RequirePackage{tikz} |