* unnumbered chapters
@ 2010-09-27 14:07 Alan BRASLAU
0 siblings, 0 replies; only message in thread
From: Alan BRASLAU @ 2010-09-27 14:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
A standard (wiki, manual) means of obtaining an unnumbered chapter
is to use \title, but this does not create an entry into the toc.
So one can create a new head, as in:
\definehead [unnumberedchapter] [chapter]
\setuphead [unnumberedchapter] [number=no]
\definecombinedlist [content] [unnumberedchapter,chapter,section]
\setuplist [unnumberedchapter] [headnumber=no]
Bof! (pardon my French, as they say in polite circles)
Much easier (or cleaner if you wish), using the structured syntax, is:
\startchapter [number=no,incrementnumber=no,
title={Conclusions}]
\stopchapter
(The {} are not necessary, but I believe that this may make things more
readable, given the practice to enclose typeset text within curly braces.)
A problem occurs, though, if we use labels, as in:
\setuplabeltext [chapter={Chapter }] % with trailing space; blank by default
(which Hans *never, ever* uses, by the way...)
We then get:
Chapter 1 First
Chapter 2 Second
Chapter Conclusions
I think that the macros are missing a "label=no" option.
Unless, that is, I am missing something obvious.
Alan
___________________________________________________________________________________
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] only message in thread
only message in thread, other threads:[~2010-09-27 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-27 14:07 unnumbered chapters Alan BRASLAU
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).