Files
fsr_generator/templates/fsr_presentation.tex.j2
Tobias Wiese 6f5325678f cleanup of the presentation generation process
Clean up some bash scripts, that are used for the generation of the
presentation.

Some improvements:
* Only ssh to fsmi-login if not already running on a fsmi host.
* Use the defined postgresql service instead of manually specifing the host
* Fix bugs that could occure when having spaces in filenames
* Find the fslogo.png in the root when generating the presentation

Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
2021-04-28 01:36:32 +02:00

41 lines
1004 B
Django/Jinja

\documentclass[aspectratio=169, smaller]{beamer}
\mode<beamer> {
%\setbeameroption{show notes on second screen=right}
%\setbeameroption{show only notes}
}
{% raw %}
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
{% endraw %}
\usepackage{pgfpages}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{fancyvrb}
\usetheme[width=3cm]{Berkeley}
\usecolortheme{sidebartab}
\setbeamertemplate{navigation symbols}{}
\title{Fachschaftsrat Mathe/Info}
\author{Redeleitung: {{redeleitung.name}} \\Protokoll: {{protokoll.name}} }
\date{ {{date.strftime("%d.%m.%Y")}} }
\logo{\includegraphics[width=17mm]{../../fslogo}}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
{% for top in to %}
\section{ {{top.title}} }
\begin{frame}{% if top.body and top.body|length > 500 %}[allowframebreaks]{%endif%}
\frametitle{ {{top.title}} }
{{top.body|j2replace|wiki2latex if top.body}}
\end{frame}
{% endfor %}
\end{document}