On 2012-07-18 Shiv Shankar Dayal <shivshankar.da...@gmail.com> wrote:
Hi Shiv! For your next posts please ∙ Provide a meaningful subject, not just “Need help”. E.g. “Local TOC after each chapter title” ∙ Provide a MWE, a minimal *working* example. A small code snippet that compiles and demonstrates you problem. That way you increase the chance of getting an answer by magnitudes. ∙ Be specific! “Does not work” doesn't say much. State clearly what you expect and what you got instead. E.g. TOC does not show up on the page, leads to compilation error: “Undefined control sequence”, TOC is not centred, etc. > I want a local TOC after each chapter title. How about this: \setuphead [chapter] [after=\placecontent] \starttext \startchapter [title=Foo] \startsection [title=First A] \input knuth \stopsection \startsection [title=First B] \input knuth \stopsection \stopchapter \startchapter [title=Bar] \startsection [title=Second A] \input knuth \stopsection \startsection [title=Second B] \input knuth \stopsection \input zapf \stopchapter \stoptext Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________