On 4/22/20 2:44 AM, jbf wrote:
A simple question, but I have not found an answer to it as yet:
\completecontent does everything it is supposed to, including providing the title 'Contents' on the ToC page, but it also gives me as the first line in the ToC:
Contents 0
In fact the ToC appears on page 1, but regardless of the page it is appearing on, is there a way I can prevent that line from being produced as part of the ToC? I assume it would be something I need to do in the following setup:
\setupcombinedlist [content] [list={chapter,section,title,subject,subsection}] \setuplist[chapter][style=normal,alternative=b, before=]
Hi Julian, \completecontent is similar to simply use: \title{Contents} \placelist[content] If you include title in \setupcombinedlist[content], you are requesting that all titles are included in the TOC. A workaround could be to create a special title command for the TOC, such as in: \definehead [toctitle] [title] And then use the following instead of \completecontent: \toctitle{Contents} \placelist[content] This should avoid the problem. I hope ith helps, Pablo -- http://www.ousia.tk