If I understand correctly, the question is how to generate two copies of the presentation simultaneously. To do this, you use some low-level tex commands and several files.
In Presentation.tex
you might have
%&pdftex
\relax
\immediate\write18{pdflatex -synctex=1 PresentationWithBG.tex}
\relax
\immediate\write18{pdflatex -synctex=1 PresentationWithoutBG.tex}
\end
That is the only file you will actually have to run latex on, which you do with pdftex --shell-escape Presentation.tex
. But you will also need the following.
In PresentationWithBG.tex
(note that you don't actually need \usebackgroundtemplate
before each frame):
\documentclass{beamer}
\setbeamercolor{background canvas}{bg=}
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{<your_background_fig>}}
\input{PresentationContent}
In PresentationWithoutBG.tex
:
\documentclass{beamer}
\input{PresentationContent}
In PresentationContent.tex
:
\begin{document}
[All your actual presentation goes here...]
\end{document}
When you run pdftex --shell-escape Presentation.tex
, you'll get PresentationWithBG.pdf
and PresentationWithoutBG.pdf
.
Note that %&pdftex
in Presentation.tex
makes sure that whichever version of TeX is running switches into the right mode. You could actually run it with pdflatex
.