From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79841 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Section Header and Enumerations Date: Mon, 10 Dec 2012 16:40:34 +0100 Message-ID: <5FED575D-62E0-4136-90D4-A0A8BD073476@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355154059 29104 80.91.229.3 (10 Dec 2012 15:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 15:40:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 10 16:41:11 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 1Ti5Td-00007H-5N for gctc-ntg-context-518@m.gmane.org; Mon, 10 Dec 2012 16:41:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9CE6E10236; Mon, 10 Dec 2012 16:40:52 +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 7nqMh5w2RV7T; Mon, 10 Dec 2012 16:40:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9076310218; Mon, 10 Dec 2012 16:40:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C82910218 for ; Mon, 10 Dec 2012 16:40:45 +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 QELaJpsJ1eM8 for ; Mon, 10 Dec 2012 16:40:40 +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 BFD4210205 for ; Mon, 10 Dec 2012 16:40:40 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBAFeb2O008165 for ; Mon, 10 Dec 2012 16:40:38 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so1408476bkc.14 for ; Mon, 10 Dec 2012 07:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=ztcT/n1pXYK1Cne8tt+42oTT8z+A/TiCzUxItdvzgeA=; b=qA7DejtKFlDwLbJrF51iEMEJppv6QYa4GLrfU3oUlJbWUQ3uhj71go5LMSC6oHvBfg QCAvk2nKtPnnpWEzQLJabe5KzWMOQFoar24cI2IAo00/TggLptxaUE0gBUmbya1BE5uC KQ5+GpqrF9qQmdzm4nqzBNphOuQm/xCov80jsyrdXEdoku57e5g6gXyuG1ltyOgFyyTF 41hOHm0pSP0y32nw5x7KfymCiC+YWVmTwx+EVeJv/lWwhJExzfe40CV2IN6gCL+J4fn2 GGnyyCVX9fJbn9bI8JW3EeFvsTnP2OcwJeJmXXwbzDzBMM6mFIVeyTTPf6RhuVGm1Cze iHdg== Original-Received: by 10.204.11.208 with SMTP id u16mr4774912bku.81.1355154037770; Mon, 10 Dec 2012 07:40:37 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf8659.pool.mediaWays.net. [77.191.134.89]) by mx.google.com with ESMTPS id u3sm14466568bkw.9.2012.12.10.07.40.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 07:40:36 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 06IxPECQV - ac2af68bbe6c - 20121210 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79841 Archived-At: Am 10.12.2012 um 16:26 schrieb Troy Henderson : > I would like for my section headers to have the following format: > = > Section 1 -- First Section > Section 2 -- Second Section > ... > = > and I would also like for enumeration lists, for example > = > \startitemize[n] > \item Foo > \item Bar > \stopitemize > = > to look like > = > 1-1 Foo > 1-2 Bar > = > where the "1-" is the section number in which the itemize resides. Provide a minimal example next time. \setuplabeltext[section=3DSection~] \setuphead [section] [sectionstopper=3D~=96~, distance=3D0pt] \setupitemgroup [itemize] [prefix=3Dyes, width=3D2em] \starttext \section{First Section} \startitemize[n] \item Foo \item Bar \stopitemize \section{Second Section} \startitemize[n] \item Foo \item Bar \stopitemize \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________