[NTG-context] put titles in toc

John Culleton John at wexfordpress.com
Tue Sep 8 20:25:57 CEST 2015


In thew frontmatter there are several titles
headings that i want to see in the TOC
Here is a
stripped down version of my file:
------------------------------------------
\setuphead[chapter]
[header=high,footer=chapter,page=yes,
alternative=middle,
align=normal,
number=yes,
]
%%
\definelist[title]
\definelist[chapter]
\setuplist[chapter][style=bold]
\setuplist[title][style=bold]
\setupcombinedlist[content][chapter,title][level=title,alternative
d,aligntitle=yes] 
\starttext
\noheaderandfooterlines
\title{Contents}
\placecontent
\page[yes]
\chapter{foo}
\input knuth.tex
\page[yes]
\title{bar}
\input knuth.tex
\stoptext

Any sugestions?
-- 
John Culleton
Wexford Press
Book layout, typesetting and Indexing
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html


More information about the ntg-context mailing list