From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74548 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: "Turning off" special chapter headings Date: Fri, 17 Feb 2012 06:05:19 +0100 Message-ID: <91DF89E4-F62F-4A62-ACFB-19D48C63F102@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/mixed; boundary="===============2018930397==" X-Trace: dough.gmane.org 1329455155 533 80.91.229.3 (17 Feb 2012 05:05:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 05:05:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 17 06:05:50 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RyG0y-0002PS-6k for gctc-ntg-context-518@m.gmane.org; Fri, 17 Feb 2012 06:05:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DCC7CB235; Fri, 17 Feb 2012 06:05:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y0mVArPtQYtI; Fri, 17 Feb 2012 06:05:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB503CB239; Fri, 17 Feb 2012 06:05:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91A57CB239 for ; Fri, 17 Feb 2012 06:05:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Oqt1bp2Qs1Km for ; Fri, 17 Feb 2012 06:05:25 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 6B61BCB235 for ; Fri, 17 Feb 2012 06:05:25 +0100 (CET) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1H55OxS030256 for ; Fri, 17 Feb 2012 06:05:24 +0100 Original-Received: by wera13 with SMTP id a13so2237341wer.14 for ; Thu, 16 Feb 2012 21:05:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=lr3I/oa+HieV+1FJ7Afw2AXdvSuGjrAus2qc06Idol8=; b=TtRluq0YuiabM/8/VnuB33UgHmCd9ruZdn8m6CS278A7N6q3J3t8fG7GR5y3SMWdiZ K4RxiY0xAmClq8DT3rMtB1HHo6Mz4skNR2LNG3mQYOQaWPFhHckxl0EVeI69sQ1HKN47 di+HXhtWMkmYfOR9Fw/+wBKVb43jG+xIFdEx4= Original-Received: by 10.216.131.27 with SMTP id l27mr2501252wei.32.1329455124147; Thu, 16 Feb 2012 21:05:24 -0800 (PST) Original-Received: from [192.168.0.10] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPS id da8sm5031723wib.6.2012.02.16.21.05.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Feb 2012 21:05:22 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGyR5olu - dad4718de651 - 20120217 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74548 Archived-At: --===============2018930397== Content-Type: multipart/alternative; boundary="Apple-Mail=_197D3372-FBDA-49DE-88D3-2786B67A4E6E" --Apple-Mail=_197D3372-FBDA-49DE-88D3-2786B67A4E6E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi, Didn't you see my answer? As suggested below, you can use = \chapter[title=3D{Answer to all the questions},number=3Dno]. On 16 f=E9vr. 2012, at 08:59, Otared Kavian wrote: > Hi Alasdair, >=20 > Is this what you want? > %%%% begin > \starttext >=20 > \completecontent >=20 > \chapter{Chapter one} >=20 > \section{First section} >=20 > \section{Second section} >=20 > \chapter{Chapter two} >=20 > \section{First section} >=20 > \section{Second section} >=20 > \chapter[title=3D{Answer to all the questions},number=3Dno] >=20 > \stoptext > %%%%% end >=20 > Best regards: OK Best regards: OK On 17 f=E9vr. 2012, at 01:48, Alasdair McAndrew wrote: > I'm using the following: >=20 > \def\chap#1#2{\vbox{Chapter = #1\crlf\framed[frame=3Doff,topframe=3Don]{#2}}} > \setuphead[chapter][command=3D\chap,style=3Dbfd,after=3D{\blank[1cm]}] >=20 > for my chapter headings. But one chapter: "Answers to Exercises" I = want unnumbered, without the "Chapter" text, and also in the table of = contents. >=20 > Can anybody point me to the simplest way of achieving this? (I've = tried various combinations of \setuphead, \definehead, but nothing so = far has given me what I want.) >=20 > Thanks, > Alasdair >=20 > --=20 > Blog: http://amca01.wordpress.com > Web: http://sites.google.com/site/amca01/ > Facebook: http://www.facebook.com/alasdair.mcandrew > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_197D3372-FBDA-49DE-88D3-2786B67A4E6E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Hi = Alasdair,

Is this what you want?
%%%% = begin
\starttext

\completecontent<= /div>

\chapter{Chapter = one}

\section{First = section}

\section{Second = section}

\chapter{Chapter = two}

\section{First = section}

\section{Second = section}

\chapter[title=3D{Answer to all the = questions},number=3Dno]

\stoptext
%%%%%= end

Best regards: = OK


Best = regards: OK

On 17 f=E9vr. 2012, at 01:48, = Alasdair McAndrew wrote:

I'm using = the following:

\def\chap#1#2{\vbox{Chapter = #1\crlf\framed[frame=3Doff,topframe=3Don]{#2}}}
\setuphead[chapt= er][command=3D\chap,style=3Dbfd,after=3D{\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 = contents.

Can anybody point me to the simplest = way of achieving this?  (I've tried various combinations = of \setuphead, \definehead, but nothing so far has given me what I = want.)

Thanks,
Alasdair

-- =
Blog: http://amca01.wordpress.com
Web:  http://sites.google.com/site/amca01/
Facebook: http://www.facebook.com/alasdair.mcandrew
= __________________________________________________________________________= _________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_197D3372-FBDA-49DE-88D3-2786B67A4E6E-- --===============2018930397== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2018930397==--