I am editing a novel in memoir class that requires a table of contents for the whole book (introduction, preface, chronology, bibliography, etcetera) and another independent table of contents for just the original novel (author's preface, chapters). I have been trying to use the shorttoc for the book material and the regular toc for the original novel material, but I cannot get the introduction and whatnot to appear in the shorttoc alone.
This is the structure that I want:
\shorttoc
Introduction
Note on the Text
Chronology
Novel
\toc
Author's Preface
Book One
Chapter One
Etcetera
Bibliography
I am not married to the shorttoc approach, so any solution would be welcome, especially if there is a way to create two completely independent tables of contents where I could just \addcontenstline to one or the other or both.
Update: Using Caramdir's solution, I can get the two tables of contents to appear, but I cannot get them to populate. Here is my code. The individual \addcontents lines are in the included files, but I have also tried them in the main file with the same results:
\documentclass{memoir}
\title{The Napoleon of Notting Hill}
\author{G. K. Chesterton}
\date{2012}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ccicons}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{titletoc}
\begin{document}
\frontmatter
\pagestyle{empty}
\include{maintitle}
\newpage
\include{license}
\newpage
\include{dedication}
\newpage
\pagestyle{simple}
\startcontents
\printcontents{}{-1}{\chapter*{Table of Contents}}
\newpage
\include{introduction}
\newpage
\include{chronology}
\newpage
\mainmatter
\include{title}
\endcontents
\newpage
\startcontents
\printcontents{}{-1}{\chapter*{Contents}}
\include{chapterx} %etcerera
\endcontents
\endmatter
\nobibintoc
\include{bibliography}
\end{document}
Caramdir - The solution at Two independent TOCs would work as well, but neither solution will populate for me. I even cut the code straight from each into a test file, compiled twice, and still got empty headers. I am using ScribTeX to compile online. Might this have something to do with it?


titletocnor ScribTeX. – Caramdir Apr 02 '12 at 23:13