ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Is there some ways to group sections in a given chapter together in toc?
       [not found] <68bfdc900808311102g7b24e661ma47bee6c12bb4faa@mail.gmail.com>
@ 2008-09-01 10:04 ` Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2008-09-01 10:04 UTC (permalink / raw)
  To: Yue Wang, mailing list for ConTeXt users

Yue Wang wrote:
> Hi, Hans:
> 
> I am designing a Table Of Contents now. Here is what it should like:
> 
> Table of Contents (with zapfino font, of course~)
> 
> chapter 1  chapter2  chapter3
> sec1.1       sec2.1     sec 3.1
> sec1.2       sec2.1     sec 3.2
> sec1.3                       sec 3.3
> sec1.4
> 
> I think I should create a frame for each chapter and its sections.
> However, whether the inbetween key or the command key is hard to add a
> command before chapter1 (use before key) and after sec1.4 (cannot use
> after key for chapter 1) at the same time to group them all together.
> 
> Is this design possible in ConTeXt? How can I do this? Thank you!

best direct such questions to the list

\starttext

\placelist[section][criterium=chapter,number=2]

\chapter{first}
\section{a}
\section{b}
\chapter{second}
\section{c}
\section{d}

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-01 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <68bfdc900808311102g7b24e661ma47bee6c12bb4faa@mail.gmail.com>
2008-09-01 10:04 ` Is there some ways to group sections in a given chapter together in toc? Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).