Submitted preprint version
In general LaTeX will produce only one output document. This paradigm shifts when harnessing the power of the so-called shell escape. We will show how to produce multiple output documents with differing content from one single source document. The principle is developed step by step illustrating a typical application in academic teaching.
Focusing on mathematical problems we then explore two ways of automating calculations by integrating free software into the LaTeX run.