[NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
I'm using the following: \def\chap#1#2{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]}] for my chapter headings. But one chapter: Answers to Exercises I want unnumbered, without the Chapter text, and also in the table of

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Otared Kavian
Hi, Didn't you see my answer? As suggested below, you can use \chapter[title={Answer to all the questions},number=no]. On 16 févr. 2012, at 08:59, Otared Kavian wrote: Hi Alasdair, Is this what you want? begin \starttext \completecontent \chapter{Chapter one} \section{First

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
Thanks for your suggestion, but it didn't seem to work. I just discovered the answer myself and that was to create a new chapter command: \def\uchap#1#2{#2} and then follow as per the wiki: \definehead[ans][chapter] \setuphead[ans][command=\uchap,number=no]