Most or all papers have a final paragraph in the introduction that describes the sections that are present. I'd like to generate it automatically, I guess this should be possible because it is mostly like an index, but in fact I have no idea about how this could be done (therefore I can't provide a mwe, I'm very sorry for this).
My guess is that it should be possible to add a description for each section, something like:
\section{Preliminaries}
\label{sec:preliminaries}
\description{we introduce the concepts that will be relevant along the paper}
What I would like is to insert at the end of the introduction something like this:
\descriptions{}
Which should expand to:
The structure of the paper is as follows: In Section 2 we introduce the concepts that will be relevant along the paper. In Section 3 we...
This is pretty much like the table of contents (TOC) that you would find in any book, this is prose and not a table and there is one additional field, but in short it's the same. Seems feasible.
Pointers to what should I check are also welcome, I really have no idea. I don't know how those TOCs are generated either.
PD: I'd prefer not to destroy the possibility of having a regular TOC additionally to this, i.e. I'd prefer not to modify the commands for the TOC (but maybe duplicate some of them).
PD: I found this package, but I get an error (\l@paragraph undefined) http://texblog.org/2008/07/13/define-your-own-list-of/


\usepackage{morewrites}, but beyond 7 sections I get a similar error ("no room for a new \read"). I also added a counter, which may interfere (showing how fragile and crappy LaTeX is in fact...). I'll try to find a solution, I simply wanted to add this comment here now because I may very well not find any. – Trylks Sep 08 '14 at 14:41\AtBeginDocumentand\AtEndDocument. I've updated the gist accordingly. I'll try to have a MWE soon... – Trylks Sep 08 '14 at 15:56