Configure pdfpc from latex

This commit is contained in:
Théophile Bastian 2024-12-05 13:09:51 +01:00
parent 12b419633b
commit 1e9098a7b7
3 changed files with 15 additions and 6 deletions

View file

@ -17,11 +17,6 @@ _setup:
$(CLEANED_PDF): $(MAIN_PDF) $(CLEANED_PDF): $(MAIN_PDF)
qpdf "$<" --linearize "$@" 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' && echo -e "\033[0;1;31mSOME FONTS NOT EMBEDDED\033[0m" || true
@ !(pdffonts "$@" | grep -q ' no') @ !(pdffonts "$@" | grep -q ' no')

View file

@ -21,6 +21,9 @@
\usepackage{tikz} % Alas. \usepackage{tikz} % Alas.
\usepackage[outline]{contour} \usepackage[outline]{contour}
\usepackage{trimclip} \usepackage{trimclip}
\usepackage{refcount}
\usepackage[overridenote]{pdfpc}
% Local sty files % Local sty files
\usepackage{include/my_listings} \usepackage{include/my_listings}
@ -29,6 +32,17 @@
\emergencystretch=1em \emergencystretch=1em
% PDFPC
\newcommand{\finalslidenum}{%
\number\numexpr\getrefnumber{lastslide}+1\relax%
}
\pdfpcsetup{
duration=45,
lastminutes=8,
enduserslide=\finalslidenum,
% ^^^ Title slide messing things up
}
% Tikz % Tikz
\usetikzlibrary{positioning} \usetikzlibrary{positioning}
\usetikzlibrary{fit} \usetikzlibrary{fit}

View file

@ -63,7 +63,7 @@ CORSE team}}}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
\begin{frame}[standout] \begin{frame}[standout,label=lastslide]
\Large{}Questions? \Large{}Questions?
\end{frame} \end{frame}