ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Some more ToC questions
@ 2011-10-26  3:41 Alasdair McAndrew
  2011-10-26  8:02 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Alasdair McAndrew @ 2011-10-26  3:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1154 bytes --]

Thanks to the great expertise of folk on this mailgroup, I have my chapter
headings set so that each one comes out as

Chapter n
Name of Chapter

However, I have a few more questions.  First: if I use "completecontent" to
display the contents, how can I have the "Contents" title display without my
"Chapter" line?  That is, is there a way of turning off my chapter command
temporarily?  (I've found that "title" doesn't work here: If I use
"\title{Contents} \placecontent" I still get a "Chapter" line.)

Second: I'm writing out a book of student notes, and each chapter ends with
a set of exercises.  I'd like these exercises to be typeset as unnumbered
sections ("subject"s), and appear so in the ToC.  Like:

4.4  Second last section
4.5  Last section
Exercises

What is the best way of doing this (MkII)?  I've tried

\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise][headnumber=no]

but that doesn't work on its own, and when paired with
\definecombinedlist[content][exercise,chapter,section] wipes out the
contents completely.

Any advice (or even pointers to a web page) would be most welcome.

Thanks,
Alasdair

[-- Attachment #1.2: Type: text/html, Size: 1333 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-26  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-26  3:41 Some more ToC questions Alasdair McAndrew
2011-10-26  8:02 ` Wolfgang Schuster

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).