Helge Hafting wrote: > The problem here is that \pagestyle{scrheadings} happens early, > before \usepackage{scrpage2}. The latter comes from the .layout file.
There would be more cases where we'd need to insert something in the preamble earlier (from textclass level). Think of the recent problems with memoir/setspace, where we'd need to place \DisemulatePackage{setspace} before \usepackage{setspace}. Currently, that's simply not possible. Jürgen