To help structuring a large document, I'd like to summarise the key points at the start of a section (or sub(sub)section or chapter) using bullet points and include them in the table of content page. If possible, I would also like to enable/disable the summary (in the section and in the toc). Is there already a package that allows for that or can someone give some ideas for some commands to use?
The final result should look like:
Table of Content
Introduction..........1
* some text introducing the topic
* more text
Background............5
* Background section blah, blah
Chapter 1............10
* ...
...
Introduction
* some text introducing the topic
* more text
This is the text for the actual introduction. Summary bullet
points are show because "draft" flag is set.
More intro text here...
Background
...
Chapter 1
...
I found a similar question being asked here, but when I try to include a itemize environment (e.g. in chapterinfo), I get an error message:
Chapter 1. ) ! Incomplete \iffalse; all text was ignored after line 56. \fi
It would be nice if someone could provide hints for how to make this section-type agnostic (i.e. not using chapterinfo, sectioninfo) and more importantly how to make this an environment, i.e. by using something like:
\section{Introduction}
\begin{summary}
\item some text introducing the topic
\item more text
\end{summary}
The fact that the summary doesn't isn't actually also appearing in the text isn't much of a problem for me.


\documentclassand ends at\end{document}including all necessary packages to recreate your issues/results. And welcome to TeX.SX! – Skillmon Sep 02 '17 at 08:02