Is there a way to insert a document within a document? The inserted code is fully .tex compliant and could be compiled as a document on its own.
I envision an article document, where inside the document, I show multiple beamer documents. The purpose of this is to demonstrate various beamer features and how they affect the final beamer presentation.
I would guess the code would look something like this,
\documentclass[article]
\usepackage{latexinsert} % hypothetical package
\begin{document}
\begin[frame = single]{insert_environment} % hypothetical environment name
%frame around the inserted document compiled from LaTeX code
\documentclass[article]
\usepackage{amsmath}
\begin{document}
Hello, world!
\begin{align*}
a^2 + b^2 = c^2
\end{align*}
\end{document}
\end{insert_environment}
\end{document}
Thanks for your assistance.
docmute. It will allow you to have individually compilable tex documents which can be eitherinputed orincludeded into your main document. – R. Schumacher Sep 24 '12 at 0:17