From 1e9098a7b7a756adff311807286518228b84c311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Thu, 5 Dec 2024 13:09:51 +0100 Subject: [PATCH] Configure pdfpc from latex --- slides/Makefile | 5 ----- slides/include/packages.tex | 14 ++++++++++++++ slides/main.tex | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/slides/Makefile b/slides/Makefile index ae3d23b..065f407 100644 --- a/slides/Makefile +++ b/slides/Makefile @@ -17,11 +17,6 @@ _setup: $(CLEANED_PDF): $(MAIN_PDF) qpdf "$<" --linearize "$@" - exiftool -all:all= \ - -Version="$(shell bin/version.sh)" \ - -Author="Théophile Bastian" \ - -Title="Performance study: identifying bottlenecks by means of sensitivity analysis" \ - "$@" @ pdffonts "$@" | grep -q ' no' && echo -e "\033[0;1;31mSOME FONTS NOT EMBEDDED\033[0m" || true @ !(pdffonts "$@" | grep -q ' no') diff --git a/slides/include/packages.tex b/slides/include/packages.tex index 2add70d..d6a7cae 100644 --- a/slides/include/packages.tex +++ b/slides/include/packages.tex @@ -21,6 +21,9 @@ \usepackage{tikz} % Alas. \usepackage[outline]{contour} \usepackage{trimclip} +\usepackage{refcount} + +\usepackage[overridenote]{pdfpc} % Local sty files \usepackage{include/my_listings} @@ -29,6 +32,17 @@ \emergencystretch=1em +% PDFPC +\newcommand{\finalslidenum}{% + \number\numexpr\getrefnumber{lastslide}+1\relax% +} +\pdfpcsetup{ + duration=45, + lastminutes=8, + enduserslide=\finalslidenum, + % ^^^ Title slide messing things up +} + % Tikz \usetikzlibrary{positioning} \usetikzlibrary{fit} diff --git a/slides/main.tex b/slides/main.tex index 42da737..f0d1230 100644 --- a/slides/main.tex +++ b/slides/main.tex @@ -63,7 +63,7 @@ CORSE team}}} \end{itemize} \end{frame} -\begin{frame}[standout] +\begin{frame}[standout,label=lastslide] \Large{}Questions? \end{frame}