Prepare creation of index-texfiles.
TODO: Fix dependency formulation.