From 5d4433a719284d1b3231a85dd510054c12a43014 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Thu, 19 Apr 2018 16:37:00 +0200
Subject: add generic support for print version

All presentations can be built in print form if the file

    .lxformat_print

exists in the main directory. If this file does not exist, the
regular beamer format will be generated.

IMPORTANT: The print version of the files are named the same as
           the beamer version!

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 tailpres.tex | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

(limited to 'tailpres.tex')

diff --git a/tailpres.tex b/tailpres.tex
index 3788c79..83b56f1 100644
--- a/tailpres.tex
+++ b/tailpres.tex
@@ -1,18 +1,7 @@
-\begin{frame}[fragile]
-  \begin{columns}
-    \column[c]{.50\textwidth}
-Thank you for your attention.
-\newline
-\newline
-\begin{block}{Linutronix GmbH}
-Bahnhofstra\ss{}e 3
+\newif\ifformatbeamer
 
-88690 Uhldingen-M\"uhlhofen
-\end{block}
-    \column[c]{.50\textwidth}
-\vskip1cm
-\includegraphics[height=0.9\textwidth]{/usr/share/lx/logo/frau_auf_logo}
-  \end{columns}
-\end{frame}
-
-\end{document}
+\ifformatbeamer
+\input{tailbeamer}
+\else
+\input{tailprint}
+\fi
-- 
cgit v1.2.3

