This works. Now I want to make the chapter titles larger but my experiments using style have failed. There must be a different way to do this. If I understand bodyfont correctly, it is used for the text of the document, not for the titles. In my case, the body is in a serif font and the titles are sanserif.
Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -----Original Message----- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Saturday, February 12, 2011 1:56 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Table of Contents issues Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the documentation affect the chapter > titles and the page numbers but nothing I've found allows me to control the > title of the ToC. What am I overlooking? > > I would also like for the unnumbered "chapter" titles, such as introduction > or preface, to align with the other chapter titles, not with their numbers. > Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext Wolfgang ____________________________________________________________________________ _______ 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 ____________________________________________________________________________ _______ ___________________________________________________________________________________ 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 ___________________________________________________________________________________