From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47456 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: TOC question Date: Mon, 16 Feb 2009 19:22:39 +0100 Message-ID: <326847810902161022l635ee3fja3b535dbdc163c86@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0403530031==" X-Trace: ger.gmane.org 1234808719 5324 80.91.229.12 (16 Feb 2009 18:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2009 18:25:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 16 19:26:33 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LZ8Al-00022I-Hu for gctc-ntg-context-518@m.gmane.org; Mon, 16 Feb 2009 19:26:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D8C201FB14; Mon, 16 Feb 2009 19:24:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04162-03-7; Mon, 16 Feb 2009 19:23:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D10241FADF; Mon, 16 Feb 2009 19:23:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 085D41FB14 for ; Mon, 16 Feb 2009 19:23:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23050-04-14 for ; Mon, 16 Feb 2009 19:22:40 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 6DA771FA2B for ; Mon, 16 Feb 2009 19:22:40 +0100 (CET) Original-Received: from mail-ew0-f11.google.com (mail-ew0-f11.google.com [209.85.219.11]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1GIMdIx000935 for ; Mon, 16 Feb 2009 19:22:39 +0100 Original-Received: by ewy4 with SMTP id 4so2044540ewy.2 for ; Mon, 16 Feb 2009 10:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tryy6qR8HeKY0W1ZhWiBSFgyC2eKvB24AMEeweWNEd0=; b=KRB55FMm+UMcwRu1JOP021CvDmlmkkqfXbYHkUYCMZAp1Fxgar1SZU1NtzRkMTtj/v sYlEad/90bjq4o6NzDNhXly25R6UyKR4fcHyWVS4gfXV7nFwm09pdCJtybBFn08bd85F TlhvVOL7GqS0kJT2DQf89YNX6mX8BzXYIxDuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=G+WfCfFXFOVxxJyqIcyoJXU8PnNwAfK9kt9Q9d/ipxoLjqhll+A05b6VQ50vG9+NQX IAL5P+mxVGXIjJXSVcPJY4WM2kINoco+fvKaPHR5BRuQn8v7+WzGOTQ2Msak7MXDHpuf 4LWSyp08EkrJ/3fCUens/NpdYYwMWbeTFcxs8= Original-Received: by 10.210.44.19 with SMTP id r19mr1550401ebr.53.1234808559505; Mon, 16 Feb 2009 10:22:39 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.11; 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: 180776113 - 03b1d49d9bd8 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47456 Archived-At: --===============0403530031== Content-Type: multipart/alternative; boundary=001517478a2e8e121904630d4510 --001517478a2e8e121904630d4510 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, How do you get the chapter number in front of the chapter heading in the TOC, in the following example with \setuphead[chapter][number=no] ? \setuplist[chapter][% alternative=b, numbercommand={\headnumber[chapter]}, % this has no effect % criterium=local] criterium=chapter] \setuphead[chapter][% % number=yes] number=no] \starttext \placecontent[% level=chapter, % criterium=chapter, alternative=b] \dorecurse{2}{\chapter{Chapter #1}\dorecurse{20}{\input knuth\par}} \stoptext -- Best, Alan --001517478a2e8e121904630d4510 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
 
How do you get the chapter number in front of the chapter heading in t= he TOC,
in the following example with \setuphead[chapter][number=3Dno] ?
 
\setuplist[chapter][%
 alternative=3Db,
 numbercommand= =3D{\headnumber[chapter]},    % this has no effect
% = ;criterium=3Dlocal]
 criterium=3Dchapter]
 
\setuphead[c= hapter][%
% number=3Dyes]
 number=3Dno]
 
\starttext

 \placecontent[%
  level=3Dchapter,
%  cr= iterium=3Dchapter,
  alternative=3Db]
  
 = ;\dorecurse{2}{\chapter{Chapter #1}\dorecurse{20}{\input knuth\par}}

\stoptext

--
Best,
Alan

--001517478a2e8e121904630d4510-- --===============0403530031== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0403530031==--