[NTG-context] Unnumbered subject in TOC, numbered exercises in text

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Nov 30 13:19:39 CET 2015


> Sytse Knypstra <mailto:sytse.knypstra at home.nl>
> 30. November 2015 um 13:06
> Dear list,


>
> In the following minimal example I would like to have:
> 
- the headings of \special in the toc, unnumbered

> - in the text, the numbers of the exercises preceded by the chapter 
> number

> The first goal is achieved when uncommenting the two options under 
> \setuphead,

> the latter is achieved when uncommenting only the second option.
> How can I realize both simultaneously ?


> Thank you in advance,
>
> 

Sytse
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
\definehead[special][subject]

Please use a different name because \special is a existing TeX command 
(but not used by ConTeXt MkIV).
> \setuphead[special]

>      [

> %    number=no,
> 
%    incrementnumber=yes,

>     ]
Use only "incrementnumber=list".

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20151130/7a73dc25/attachment.html>


More information about the ntg-context mailing list