ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alasdair McAndrew <amca01@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Some more ToC questions
Date: Wed, 26 Oct 2011 14:41:29 +1100	[thread overview]
Message-ID: <CAPGiC75jGKM9AguaxqiV60-XjF8B-Y4JOv5fkdUZ6MomTs4Y7Q@mail.gmail.com> (raw)


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

             reply	other threads:[~2011-10-26  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  3:41 Alasdair McAndrew [this message]
2011-10-26  8:02 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPGiC75jGKM9AguaxqiV60-XjF8B-Y4JOv5fkdUZ6MomTs4Y7Q@mail.gmail.com \
    --to=amca01@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).