I'm writing a thesis using the Memoir class. I'm showing Parts, Chapters, Sections, and Subsections in my TOC. I'd like the entries for the Subsections to be inline, as shown in the attached image. That is to say, I don't want each Subsection entry on a separate line, but rather would like to flow them along in a little paragraph beneath each Section entry.
I have made this work in a manual, error-prone way, and would like to make it automatic.
The manual way I'm using is with the \chapterprecistoc command after each \section command, as follows:
Code: Select all
\section{Conocimiento, ciencia y filosofía}
\chapterprecistoc{\tocref{sub:Epistemologia-y-el-analisis-tradicional-del-conocimiento} | \tocref{sub:Ciencia} | \tocref{sub:Filosofia-y-ciencia} | \tocref{sub:Epistemologia-naturalista-y-complejidad}}
Code: Select all
\newcommand{\tocref}[1]{\titleref{#1}~\pageref{#1}}
Any help would be tremendously appreciated.
Thanks, greetings,
Andrew