Command/chapter

From ConTeXt wiki

\chapter

Syntax

\chapter[...,...,...]{...}
[...,...,...] REFERENCE
{...} CONTENT

Description

A chapter is one of the predefined heads.

comment

You can define heads yourself with \definehead. Change the chapter's appearance with \setuphead]


Example


\setuphead[chapter][page=no]

\starttext

\chapter{Once Upon A Time}

This is the simplest form of using a chapter.



\chapter[mykey]{Once Upon A Time 2}

But what if you want to refer to this chapter at another time? 
Give it a key! Before the chapter put something between brackets. 
That's your key. Now you can refer to it. See the next chapter,
\in{chapter}[next].



\chapter[next]{After A While}

As we said earlier in chapter \in[mykey], we ...

As this example shows, use $\backslash$in[...] to refer to a chapter with 
that name.

\stoptext

produces

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: