Re: [NTG-context] put titles in toc
On Tue, 8 Sep 2015 20:55:04 +0200 Pablo Rodriguezwrote: > On 09/08/2015 08:25 PM, John Culleton wrote: > > 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: > > Hi John, > > I think this might do what you want: > > \definehead[titleintoc][chapter][number=no] > \starttext > \noheaderandfooterlines > \title{Contents} > \placelist[chapter,titleintoc] > \chapter{foo} > \input knuth.tex > \titleintoc{bar} > \input knuth.tex > \stoptext > > I hope it helps, > > > Pablo Simple elegant, works. Thanks for your help! -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] put titles in toc
On 09/08/2015 08:25 PM, John Culleton wrote: > 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: Hi John, I think this might do what you want: \definehead[titleintoc][chapter][number=no] \starttext \noheaderandfooterlines \title{Contents} \placelist[chapter,titleintoc] \chapter{foo} \input knuth.tex \titleintoc{bar} \input knuth.tex \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] put titles in toc
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___