From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74546 Path: news.gmane.org!not-for-mail From: Alasdair McAndrew Newsgroups: gmane.comp.tex.context Subject: "Turning off" special chapter headings Date: Fri, 17 Feb 2012 11:48:26 +1100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1188300466==" X-Trace: dough.gmane.org 1329439735 12636 80.91.229.3 (17 Feb 2012 00:48:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 00:48:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 17 01:48: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 1RyC0I-0001Rn-6x for gctc-ntg-context-518@m.gmane.org; Fri, 17 Feb 2012 01:48:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77CE9CB283; Fri, 17 Feb 2012 01:48:49 +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 kVBg-5wnXdkp; Fri, 17 Feb 2012 01:48:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D58E5CB27E; Fri, 17 Feb 2012 01:48:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C651BCB27E for ; Fri, 17 Feb 2012 01:48:41 +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 ZLYcNLv23CYP for ; Fri, 17 Feb 2012 01:48:28 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 2B357CB27A for ; Fri, 17 Feb 2012 01:48:28 +0100 (CET) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1H0mRA5002591 for ; Fri, 17 Feb 2012 01:48:27 +0100 Original-Received: by lamf4 with SMTP id f4so4152102lam.14 for ; Thu, 16 Feb 2012 16:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=O8JhFPWlaKKLHtOab1uBQb3KeL77PiX6HmPATlUhSAg=; b=tXXg4smSeMe3+i93QQmBrp32CjxAxqDzAK860G1K3bapQkwvzddLLhEiYkreAX76sI wtfiJzH/RjBogMZnUwMu9suDfZs3EkWbxOiO21fbyyVcD96GizXM1Asxh2nz/+L0Etg8 B8Zgthc/ciiQy31CqzMm3J/omEey1sFE3H2+c= Original-Received: by 10.112.87.225 with SMTP id bb1mr1780049lbb.59.1329439706082; Thu, 16 Feb 2012 16:48:26 -0800 (PST) Original-Received: by 10.112.81.202 with HTTP; Thu, 16 Feb 2012 16:48:26 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; 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: 0eGyMMrKh - 2399cd5c0406 - 20120217 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:74546 Archived-At: --===============1188300466== Content-Type: multipart/alternative; boundary=f46d040169e36e6d3b04b91e4ded --f46d040169e36e6d3b04b91e4ded Content-Type: text/plain; charset=ISO-8859-1 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 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 --f46d040169e36e6d3b04b91e4ded Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm using the following:

\def\chap#1#2{\vbox{Ch= apter #1\crlf\framed[frame=3Doff,topframe=3Don]{#2}}}
\setuphead[= chapter][command=3D\chap,style=3Dbfd,after=3D{\blank[1cm]}]

<= /div>
for my chapter headings. =A0But one chapter: "Answers to Exercises&quo= t; I want unnumbered, without the "Chapter" text, and also in the= table of contents.

Can anybody point me to the si= mplest way of=A0achieving=A0this? =A0(I've tried various combinations o= f \setuphead, \definehead, but nothing so far has given me what I want.)

Thanks,
Alasdair

--
B= log: http://amca0= 1.wordpress.com
Web:=A0 http://sites.google.com/site/amca01/
Facebook: http://www.facebook.com/alasdair.mcandrew
--f46d040169e36e6d3b04b91e4ded-- --===============1188300466== 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 ___________________________________________________________________________________ --===============1188300466==--