chg: Bump themes, bump readme, change location

pull/5/head
Raphaël Vinot 2019-05-27 13:42:34 +02:00
parent 8c8c25cf38
commit 254c73548a
8 changed files with 79 additions and 59 deletions

View File

@ -82,6 +82,8 @@ bash build.sh
The output directory will contain all the generated PDF files and the PDF file called `misp-training.pdf` which is the complete handout of all the slides. The output directory will contain all the generated PDF files and the PDF file called `misp-training.pdf` which is the complete handout of all the slides.
**Note**: In case the rendering is somewhat broken, it might be related to latex using the styles installed systemwide in `/usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus`. Removing this directory will solve the problem.
## License, Attribution and Funding ## License, Attribution and Funding
All the materials are dual-licensed under GNU Affero General Public License version 3 or later and All the materials are dual-licensed under GNU Affero General Public License version 3 or later and

1
build.sh Normal file → Executable file
View File

@ -9,6 +9,7 @@ for slide in ${slidedecks[@]}; do
cd ${slide} cd ${slide}
if test -f "slide_nl.tex"; then if test -f "slide_nl.tex"; then
pdflatex slide_nl.tex pdflatex slide_nl.tex
pdflatex slide_nl.tex
fi fi
pdflatex slide.tex pdflatex slide.tex
pdflatex slide.tex pdflatex slide.tex

View File

@ -1 +1 @@
MISP Training @ CIRCL \\ \small{20190520} MISP Training @ Malta \\ \small{20190529-30}

View File

@ -1,5 +1,7 @@
% Copyright (C) 2018 Pasquale Claudio Africa. % Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
% 2018 Sebastian Friedl. % A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
% %
% This file is part of beamerthemefocus. % This file is part of beamerthemefocus.
% %

View File

@ -1,5 +1,7 @@
% Copyright (C) 2018 Pasquale Claudio Africa. % Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
% 2018 Sebastian Friedl. % A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
% %
% This file is part of beamerthemefocus. % This file is part of beamerthemefocus.
% %

View File

@ -1,5 +1,7 @@
% Copyright (C) 2018 Pasquale Claudio Africa. % Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
% 2018 Sebastian Friedl. % A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
% %
% This file is part of beamerthemefocus. % This file is part of beamerthemefocus.
% %
@ -34,10 +36,12 @@
% STRUCTURE FRAME TEMPLATE DEFINITIONS. ---------------------------------------- % STRUCTURE FRAME TEMPLATE DEFINITIONS. ----------------------------------------
% Title page. % Title page.
\defbeamertemplate*{title page}{focus}{% \defbeamertemplate*{title page}{focus}{%
{\usebeamercolor{frametitle}\colorlet{focus@@temp}{bg}% {%
\usebeamercolor{frametitle}\colorlet{focus@@temp}{bg}%
\begin{tikzpicture}[overlay, remember picture] \begin{tikzpicture}[overlay, remember picture]
\fill[color=focus@@temp] (current page.north west) rectangle ([shift = {(0, -0.45\paperheight)}] current page.north east); \fill[color=focus@@temp] (current page.north west) rectangle ([shift = {(0, -0.45\paperheight)}] current page.north east);
\end{tikzpicture}} \end{tikzpicture}
}
\vspace{-1.65\baselineskip} \vspace{-1.65\baselineskip}
\begin{minipage}[b][0.35\paperheight]{\textwidth} \begin{minipage}[b][0.35\paperheight]{\textwidth}
@ -60,6 +64,10 @@
\inserttitlegraphic \inserttitlegraphic
}} }}
\begin{minipage}[t]{\textwidth}
\usebeamerfont{author}
\insertauthor
\end{minipage}
\vspace*{\baselineskip} \vspace*{\baselineskip}
\begin{minipage}[t]{\textwidth} \begin{minipage}[t]{\textwidth}
@ -72,18 +80,7 @@
\usebeamerfont{date}{\insertdate} \usebeamerfont{date}{\insertdate}
\end{minipage} \end{minipage}
\vspace*{0pt plus 100fill}
\vspace*{\baselineskip}
\vspace*{\baselineskip}
\vspace*{\baselineskip}
\vspace*{\baselineskip}
\begin{minipage}[t]{\textwidth}
\usebeamerfont{author}
\insertauthor
\end{minipage}
\vspace*{5\baselineskip}
\addtocounter{framenumber}{-1} \addtocounter{framenumber}{-1}
} }
@ -97,18 +94,17 @@
\end{tikzpicture}% \end{tikzpicture}%
} }
\vspace{-2\baselineskip} \vspace{-2.5\baselineskip}
\begin{minipage}[b][0.45\paperheight]{\textwidth} \begin{minipage}[b][0.45\paperheight]{\textwidth}
\usebeamerfont{sectiontitle} \usebeamerfont{sectiontitle}
\usebeamercolor[fg]{frametitle} \usebeamercolor[fg]{frametitle}
\let\hyperlink\@secondoftwo\insertsection \let\hyperlink\@secondoftwo\insertsection
\end{minipage} \end{minipage}
\begin{minipage}[t][0.55\paperheight]{\textwidth} \vspace*{0pt plus 100fill}
\end{minipage}
} }
\AtBeginSection{% \AtBeginSection[]{%
\begin{frame}[plain, noframenumbering]{} \begin{frame}[plain, noframenumbering]{}
\sectionpage \sectionpage
\end{frame}% \end{frame}%

View File

@ -1,5 +1,7 @@
% Copyright (C) 2018 Pasquale Claudio Africa. % Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
% 2018 Sebastian Friedl. % A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
% %
% This file is part of beamerthemefocus. % This file is part of beamerthemefocus.
% %
@ -19,7 +21,20 @@
\mode<presentation> \mode<presentation>
\RequirePackage{appendixnumberbeamer} % Don't number appendix frames. \RequirePackage{appendixnumberbeamer} % Don't number appendix frames.
\RequirePackage{etoolbox}% \BeforeBeginEnvironment % 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} \RequirePackage{tikz}

View File

@ -1,5 +1,7 @@
% Copyright (C) 2018 Pasquale Claudio Africa. % Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
% 2018 Sebastian Friedl. % A full list of contributors can be found at
%
% https://github.com/elauksap/focus-beamertheme
% %
% This file is part of beamerthemefocus. % This file is part of beamerthemefocus.
% %
@ -17,7 +19,7 @@
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>. % along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemefocus}[2018/08/09 v2.2 Focus Beamer theme] \ProvidesPackage{beamerthemefocus}[2019/01/18 v2.3 Focus Beamer theme]
\mode<presentation> \mode<presentation>