[NTG-context] Question on how to simple numbered sections or other headings

josephcanedo at gmail.com josephcanedo at gmail.com
Sun Oct 25 20:04:01 CET 2015

Thanks a lot, very concise. I was wondering if the \stopchapter (or more generally \stop<head>) were needed ? In my document I write in some instances:


Bla bla 


etc ….

and it seems to work fine (but perhaps pure luck or is the \startsubsection implictly ends the previous one).

Best regards


Sent from Windows Mail

From: Alan BRASLAU
Sent: ‎Sunday‎, ‎October‎ ‎25‎, ‎2015 ‎6‎:‎00‎ ‎PM
To: josephcanedo at gmail.com
Cc: ntg-context at ntg.nl


\setuplabeltext [chapter=Chapitre ] % with trailing space; blank by default

   Some text.

   Some more text.



On Sun, 25 Oct 2015 17:32:30 +0100
"Thomas A. Schmitz" <thomas.schmitz at uni-bonn.de> wrote:

> Is that what you're looking for?
> \define[2]\MyChapterTitle%
> {#2: #1}
> \setuphead[chapter]
>    [command=\MyChapterTitle]
> \starttext
> \startchapter [title=Some Title]
> Some text.
> \stoptext
> When you define a command, #1 is your chapter/section/whatever
> number, #2 is your title.
> (For future reference: please make minimal examples when asking a
> question.)
> Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20151025/7ca01a6f/attachment-0001.html>

More information about the ntg-context mailing list