--- /dev/null
+example-presentation
--- /dev/null
+TARGET_BASE_NAME := $(shell cat BASENAME)
+
+TARGET_PR = $(TARGET_BASE_NAME).pr
+TARGET_HO = $(TARGET_BASE_NAME).ho
+TARGET_HO2 = $(TARGET_BASE_NAME).ho2
+
+TARGET = $(TARGET_BASE_NAME)
+
+# IMAGE_MC_V1 = smb3-mc-samba
+# IMAGE_MC_V2 = smb3-mc-samba-v2
+# IMAGE_MC_DAEMONS_N1 = smb3-mc-daemons-n1
+# IMAGE_MC_DAEMONS_N1A = smb3-mc-daemons-n1a
+# IMAGE_MC_DAEMONS_N2 = smb3-mc-daemons-n2
+# IMAGE_MC_DAEMONS_N3 = smb3-mc-daemons-n3
+# IMAGE_RDMA_V2 = smb3-rdma-samba-v2
+# IMAGE_CTDB_3N = design-ctdb-three-nodes
+# IMAGE_CTDB_DAEMONS = ctdb-design-daemons
+# IMAGE_SAMBA_LAYERS = samba-layers
+# IMAGE_SAMBA_RELEASES = samba-release-stream
+#
+# DIAIMAGES_BASE := $(IMAGE_MC_V1) \
+# $(IMAGE_MC_V2) \
+# $(IMAGE_MC_DAEMONS_N1) \
+# $(IMAGE_MC_DAEMONS_N1A) \
+# $(IMAGE_MC_DAEMONS_N2) \
+# $(IMAGE_MC_DAEMONS_N3) \
+# $(IMAGE_RDMA_V2) \
+# $(IMAGE_CTDB_3N) \
+# $(IMAGE_CTDB_DAEMONS) \
+# $(IMAGE_SAMBA_LAYERS) \
+# $(IMAGE_SAMBA_RELEASES)
+
+DIAIMAGES_BASE :=
+
+DIAIMAGES := $(foreach image, $(DIAIMAGES_BASE), $(image).dia)
+DIAIMAGES_PNG := $(foreach image, $(DIAIMAGES_BASE), $(image).png)
+DIAIMAGES_SVG := $(foreach image, $(DIAIMAGES_BASE), $(image).svg)
+DIAIMAGES_FIG := $(foreach image, $(DIAIMAGES_BASE), $(image).fig)
+
+#IMAGES = $(DIAIMAGES_PNG) \
+# regedit.png \
+# ctdb-status.png \
+# ctdb-status-1.png \
+# ctdb-ip.png \
+# ctdb-ip-1.png \
+# smbstatus.png
+
+IMAGES = $(DIAIMAGES_PNG)
+
+CMN_DEPS = Makefile $(IMAGES)
+
+CMN_DEPS_WIKI = $(CMN_DEPS) document.part1.wiki document.part2.wiki document.part3.wiki content.wiki info.wiki
+
+CMN_DEPS_TEX = $(CMN_DEPS) beamercolorthemeobnoxsamba.sty beamerouterthemeobnoxinfolines.sty beamerthemeObnoxSamba.sty content.tex
+
+COMMON_DEPS = $(CMN_DEPS)
+
+VIEWER = evince
+SHOW = yes
+
+.SUFFIXES: .tex .pdf .dia .png .fig .svg .wiki
+
+.PHONY: all
+
+all: pr
+
+
+.PHONY: pr $(TARGET_PR)
+
+pr: $(TARGET_PR)
+
+$(TARGET_PR): $(TARGET_PR).pdf
+ if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
+
+$(TARGET_PR).pdf: $(CMN_DEPS) pr.pdf
+ cp pr.pdf $@
+
+pr.pdf: $(CMN_DEPS_TEX) pr.tex
+
+pr.tex: $(CMN_DEPS_WIKI) pr.wiki
+
+pr.wiki: $(CMN_DEPS_WIKI) pr.class.wiki
+ cat document.part1.wiki pr.class.wiki document.part2.wiki info.wiki document.part3.wiki > $@
+
+
+.PHONY: ho $(TARGET_HO)
+
+ho: $(TARGET_HO)
+
+$(TARGET_HO): $(TARGET_HO).pdf
+ if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
+
+$(TARGET_HO).pdf: $(CMN_DEPS) ho.pdf
+ cp ho.pdf $@
+
+ho.pdf: $(CMN_DEPS_TEX) ho.tex
+
+ho.tex: $(CMN_DEPS_WIKI) ho.wiki
+
+ho.wiki: $(CMN_DEPS_WIKI) ho.class.wiki
+ cat document.part1.wiki ho.class.wiki document.part2.wiki info.wiki document.part3.wiki > $@
+
+
+.PHONY: ho2 $(TARGET_HO2)
+
+ho2: $(TARGET_HO2)
+
+$(TARGET_HO2): $(TARGET_HO2).pdf
+ if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
+
+$(TARGET_HO2).pdf: $(CMN_DEPS) ho2.pdf
+ cp ho2.pdf $@
+
+ho2.pdf: $(CMN_DEPS_TEX) ho2.tex
+
+ho2.tex: $(CMN_DEPS_WIKI) ho2.wiki
+
+ho2.wiki: $(CMN_DEPS_WIKI) ho2.class.wiki
+ cat document.part1.wiki ho2.class.wiki document.part2.wiki info.wiki document.part3.wiki > $@
+
+
+content.tex: content.wiki
+
+
+.wiki.tex:
+ wiki2beamer $< > $@
+
+.tex.pdf:
+ pdflatex $<
+ pdflatex $<
+ #if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@ ; fi &
+
+.dia.png:
+ @dia -e $@ -s x1280 $<
+
+.dia.fig:
+ @dia -e $@ $<
+
+.dia.svg:
+ @dia -e $@ $<
+
+
+.PHONY: png fig svg images
+
+png: $(DIAIMAGES_PNG)
+
+fig: $(DIAIMAGES_FIG)
+
+svg: $(DIAIMAGES_SVG)
+
+images: $(IMAGES)
+
+
+.PHONY: archive
+
+archive: $(TARGET).tar.gz
+
+$(TARGET).tar.gz: $(TARGET).tar
+ @echo "Creating $@"
+ @rm -f $(TARGET).tar.gz
+ @gzip $(TARGET).tar
+
+
+# make $(TARGET).tar phony - it vanishes by gzipping...
+.PHONY: $(TARGET).tar
+
+$(TARGET).tar: pr ho ho2
+ @echo "Creating $@"
+ @git archive --prefix=$(TARGET)/ HEAD > $@
+ @rm -rf $(TARGET)
+ @mkdir $(TARGET)
+ @cp $(TARGET_PR).pdf $(TARGET)
+ @cp $(TARGET_HO).pdf $(TARGET)
+ @cp $(TARGET_HO2).pdf $(TARGET)
+ @tar rf $@ $(TARGET)/$(TARGET_PR).pdf
+ @tar rf $@ $(TARGET)/$(TARGET_HO).pdf
+ @tar rf $@ $(TARGET)/$(TARGET_HO2).pdf
+
+
+
+.PHONY: clean
+
+clean:
+ @git clean -f
--- /dev/null
+% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+
+\mode<presentation>
+
+% color definitions
+
+\definecolor{darkred}{rgb}{0.8,0,0}
+
+\definecolor{rhgrey}{RGB}{204,204,204}
+\definecolor{rhgrey1}{RGB}{190,190,190}
+\definecolor{rhgrey2}{RGB}{224,224,224}
+\definecolor{rhred}{RGB}{204,0,0}
+\definecolor{rhred2}{RGB}{173,35,57}
+\definecolor{rhred3}{RGB}{151,37,55}
+\definecolor{rhred4}{RGB}{138,10,7}
+
+
+%\setbeamercolor{section in toc}{fg=black,bg=white}
+\setbeamercolor{section in toc}{fg=black}
+\setbeamercolor{alerted text}{fg=darkred!80!gray}
+%\setbeamercolor*{palette primary}{fg=darkred!60!black,bg=gray!30!white}
+\setbeamercolor*{palette primary}{fg=darkred!60!black}
+%\setbeamercolor*{palette secondary}{fg=darkred!70!black,bg=gray!15!white}
+\setbeamercolor*{palette secondary}{fg=darkred!70!black}
+%\setbeamercolor*{palette tertiary}{bg=darkred!80!black,fg=gray!10!white}
+\setbeamercolor*{palette tertiary}{bg=darkred!80!black,fg=gray!10!white}
+%\setbeamercolor*{palette quaternary}{fg=darkred,bg=gray!5!white}
+\setbeamercolor*{palette quaternary}{fg=darkred}
+
+\setbeamercolor*{sidebar}{fg=darkred,bg=gray!15!white}
+
+\setbeamercolor*{palette sidebar primary}{fg=darkred!10!black}
+\setbeamercolor*{palette sidebar secondary}{fg=white}
+\setbeamercolor*{palette sidebar tertiary}{fg=darkred!50!black}
+\setbeamercolor*{palette sidebar quaternary}{fg=gray!10!white}
+
+%\setbeamercolor*{titlelike}{parent=palette primary}
+\setbeamercolor{titlelike}{parent=palette primary,fg=darkred}
+%\setbeamercolor{frametitle}{bg=gray!10!white}
+%\setbeamercolor{frametitle right}{bg=gray!60!white}
+%%\setbeamercolor{frametitle}{bg=white}
+%%\setbeamercolor{frametitle right}{bg=white}
+
+
+\setbeamercolor{structure}{fg=rhred4}
+\setbeamercolor{local structure}{fg=rhgrey1}
+\setbeamercolor{alerted text}{fg=rhred}
+
+\setbeamercolor*{separation line}{}
+\setbeamercolor*{fine separation line}{}
+
+\setbeamercolor{title}{bg=}
+\mode
+<all>
--- /dev/null
+% Copyright 2011 by Michael Adam <obnox@samba.org>
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\mode<presentation>
+
+%\setbeamercolor*{author in head/foot}{parent=palette tertiary}
+%\setbeamercolor*{author in head/foot}{parent=palette primary,bg=white}
+\setbeamercolor*{author in head/foot}{parent=palette primary}
+\setbeamercolor*{title in head/foot}{parent=palette secondary}
+\setbeamercolor*{date in head/foot}{parent=palette primary}
+
+\setbeamercolor*{logo in head/foot}{parent=palette tertiary}
+\setbeamercolor*{logo in head/foot}{parent=palette primary}
+
+\pgfdeclareimage[width=16mm]{Samba-Logo}{Samba_Logo_4c-grey-bbbbbb-256}
+\pgfdeclareimage[width=16mm]{RedHat-Logo}{Logo_RH_RGB_Default}
+\pgfdeclareimage[width=\paperwidth,height=\paperheight]{Samba-BG}{samba_bg}
+
+%%%%\defbeamertemplate*{footline}{obnoxinfolines theme}
+%%\defbeamertemplate*{headline}{obnoxinfolines theme}
+%%{
+%% \leavevmode%
+%% \hbox{%
+%% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
+%% \usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
+%% \end{beamercolorbox}%
+%% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
+%% \usebeamerfont{title in head/foot}\insertshorttitle
+%% \end{beamercolorbox}%
+%% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
+%% \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
+%% \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
+%% \end{beamercolorbox}}%
+%% \vskip0pt%
+%%}
+
+%% %%\defbeamertemplate*{headline}{obnoxinfolines theme}
+%% \defbeamertemplate*{footline}{obnoxinfolines theme}
+%% {
+%% \leavevmode%
+%% \hbox{%
+%% \begin{beamercolorbox}[wd=.5\paperwidth,ht=5ex,dp=1ex,left]{xy}%
+%% \hspace*{2ex} \hbox{\pgfuseimage{Samba-Logo}}
+%% \end{beamercolorbox}%
+%% \begin{beamercolorbox}[wd=.5\paperwidth,ht=5ex,dp=1ex,right]{xy}%
+%% \hbox{\pgfuseimage{sernet}}
+%% \hspace*{2ex}\end{beamercolorbox}}%
+%% \vskip0pt%
+%% }
+
+%%\defbeamertemplate*{headline}{obnoxinfolines theme}
+\defbeamertemplate*{footline}{obnoxinfolines theme}
+{
+ \leavevmode%
+ \hbox{%
+ \begin{beamercolorbox}[wd=.2\paperwidth,ht=5ex,dp=1ex,left]{xy}%
+ \hspace*{2ex} \hbox{\pgfuseimage{Samba-Logo}}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.3\paperwidth,ht=5ex,dp=1ex,center]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\scriptsize\insertshortauthor{}\hspace*{2ex}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.3\paperwidth,ht=5ex,dp=1ex,center]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\scriptsize%
+ \insertshorttitle{} (\insertframenumber{}/\inserttotalframenumber)\hspace*{2ex}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.2\paperwidth,ht=5ex,dp=1ex,right]{xy}%
+ \hbox{\pgfuseimage{RedHat-Logo}}
+ \hspace*{2ex}\end{beamercolorbox}}%
+ \vskip0pt%
+}
+
+
+%%\addtobeamertemplate{frametitle}{
+%% \begin{textblock*}{\paperwidth}(-4mm,0pt)
+%% \includegraphics[width=\paperwidth,height=1cm]{samba_bg_cut}
+%% \end{textblock*}
+%%}
+%%
+%%\addtobeamertemplate{footline}{
+%% \begin{textblock*}{\paperwidth}(0pt,0pt)
+%% \includegraphics[width=\paperwidth,height=0.5cm]{samba_bg_cut}
+%% \end{textblock*}
+%%}
+
+
+%%\setbeamersize{text margin left=1em,text margin right=1em}
+
+\usepackage{textpos}
+
+\addtobeamertemplate{title page}
+{
+ \begin{textblock*}{\paperwidth}(-3em,0pt)
+ \pgfuseimage{Samba-BG}
+ %\includegraphics[width=\paperwidth,height=\paperheight]{samba_bg.png}
+ \end{textblock*}
+}
+
+%\setbeamertemplate{background canvas}{\pgfuseimage{Samba-BG}}
+
+\mode
+<all>
--- /dev/null
+% Copyright 2011 by Michael Adam <obnox@samba.org>
+% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+
+\mode<presentation>
+
+\useoutertheme{obnoxinfolines}
+\usecolortheme{obnoxsamba}
+
+\setbeamertemplate{navigation symbols}{}
+
+%%\useinnertheme[shadow=true]{rounded}
+\useinnertheme{rectangles}
+% centered squares:
+%\setbeamertemplate{itemize item}{\rule[0.7ex]{0.7ex}{0.7ex}}
+\setbeamertemplate{itemize item}{\rule[0.5ex]{0.5ex}{0.5ex}}
+%\setbeamertemplate{itemize subitem}{\small\rule[0.6ex]{0.6ex}{0.6ex}}
+\setbeamertemplate{itemize subitem}{\small\rule[0.5ex]{0.5ex}{0.5ex}}
+\setbeamertemplate{itemize subsubitem}{\small\rule[0.5ex]{0.5ex}{0.5ex}}
+
+
+\setbeamerfont{block title}{size={}}
+%\setbeamercolor{titlelike}{parent=structure,bg=white}
+\setbeamercolor{titlelike}{parent=structure}
+
+
+
+% blocks
+\setbeamercolor{block title}{fg=white,bg=rhred4!90}
+\setbeamercolor{block title alerted}{use=alerted text,use=block title,fg=alerted text.fg!30!block title.fg,bg=block title.bg}
+\setbeamercolor{block title example}{use=example text,use=block title,fg=example text.fg!30!block title.fg,bg=block title.bg}
+
+\setbeamercolor{block body}{parent=normal text,bg=rhgrey2!50}
+\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,use=block body,fg=alerted text.fg!50!fg,bg=block body.bg}
+\setbeamercolor{block body example}{parent=normal text,use=block title example,use=block body,fg=example text.fg!40!fg,bg=block body.bg}
+
+\setbeamertemplate{blocks}[rounded]
+% blocks
+
+\newenvironment{sambabg}{
+ \setbeamertemplate{background canvas}%
+ {\includegraphics[width=\paperwidth,height=\paperheight]{samba_bg.png}}
+}
+{
+}
+
+\newcommand{\Sambabg}[1]{
+ \begin{sambabg}%
+ #1%
+ \end{sambabg}%
+}
+
+\renewcommand{\sectionpage}{\usebeamertemplate*{section page}}
+
+\newcommand{\fancySectionOpens}{
+\AtBeginSection[]%
+{
+ \Sambabg{\frame{\sectionpage}}
+}
+}
+
+%\fancySectionOpens
+
+
+%\newcommand{\fancyPartOpens}{
+%\AtBeginPart%
+%{
+% \Sambabg{\frame{\partpage}}
+%}
+%}
+
+%\fancyPartOpens
+
+\mode<all>
--- /dev/null
+%
+% colors:
+% _blue_text text_
+% _red_text text_
+%
+
+==== Example Slide ====
+
--- /dev/null
+<[autotemplate]
--- /dev/null
+%documentclass={beamer}
+usepackage=[utf8]{inputenc}
+%usepackage={listings}
+%usepackage={wasysym}
+usetheme={ObnoxSamba}
+usepackage={pgf}
+usepackage={multimedia}
+%%%\usepackage{verbatim}
+setbeamercovered={dynamic}
+%setbeamercovered={transparent}
+titleframe=True
+% note: currently a custom mod to wiki2beamer
+titleframeopts=[plain]
+% default info:
+title=[shrt ttl]{Long Title \\ \ }
+subtitle={Event}
+date={custom date}
+author={The Author}
+institute={Affiliation}
+% custom info can follow here:
--- /dev/null
+[autotemplate]>
+
+>>>content.wiki<<<
--- /dev/null
+documentclass=[handout]{beamer}
+usepackage={pgfpages}
--- /dev/null
+documentclass=[handout]{beamer}
+usepackage={pgfpages}
+pgfpagesuselayout={2 on 1}
--- /dev/null
+title=[Title]{Long Title\\ \ }
+subtitle={Subtitle}
+date={Put date here}
+author={Michael Adam}
+institute={Company / Org}
--- /dev/null
+documentclass={beamer}