From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79168 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Resetting numbers in section header Date: Tue, 13 Nov 2012 10:49:11 +0100 Message-ID: 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 1352800153 13907 80.91.229.3 (13 Nov 2012 09:49:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 09:49:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 13 10:49:24 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 1TYD7U-0003R7-BT for gctc-ntg-context-518@m.gmane.org; Tue, 13 Nov 2012 10:49:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E16C10249; Tue, 13 Nov 2012 10:49:14 +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 tkSKUgt-u+rz; Tue, 13 Nov 2012 10:49:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4C5F310206; Tue, 13 Nov 2012 10:49:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 511EB10206 for ; Tue, 13 Nov 2012 10:49:11 +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 bdx8vrss0Pjz for ; Tue, 13 Nov 2012 10:49:10 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id A2E6410202 for ; Tue, 13 Nov 2012 10:49:10 +0100 (CET) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAD9n9ti023506 for ; Tue, 13 Nov 2012 10:49:10 +0100 Original-Received: by mail-wi0-f179.google.com with SMTP id hm6so2484214wib.2 for ; Tue, 13 Nov 2012 01:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer; bh=rPUES52plOixYExtmtGJIBAMm4vTBFjxGApCeG4OkgE=; b=Id0e2vhBW09gZqzSvKsHy9MmnU56UzKO31PNwdKx7UiciamGaMjTIQY6WnhLtcPkDq 1Lp7UdV3cfXTApPgQ+RUV1z37R5uT0u2vHT3vDFqKKlr05U07srb4dk6gXee2jFeBREf eeCr/M+RF/FfqI5SLfwCml7N9Du+owjT4yQQ4x5VMusPIrLiUXviJhTeTVFYSRUV0bkj jty8WMezZVGjhiKB1gjJQ8QM+7lkFua9su/+X0cLDPWIr+BU8A3F+++Q0bTYEx9c0NGw UMQHYQQRy74Lkrp+4756eAGA8SR6uMkN47V7E7T3ORtI/toIM3KsYQNvADM6xJQw9Cpt KsQA== Original-Received: by 10.180.77.38 with SMTP id p6mr19224714wiw.1.1352800149816; Tue, 13 Nov 2012 01:49:09 -0800 (PST) Original-Received: from dhcp-193-51-32-162.math.uvsq.fr (dhcp-193-51-32-162.math.uvsq.fr. [193.51.32.162]) by mx.google.com with ESMTPS id dm3sm15668833wib.3.2012.11.13.01.49.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 01:49:08 -0800 (PST) X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; 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: 0NImVNaQ7 - 55d52aa2333c - 20121113 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:79168 Archived-At: Hi all, Assume for some reason I want a section to be numbered in a particular way:= I thought the command resetnumber=3Dyes would do that, but it seems that I= am wrong=85 or this option is now obsolete. Can anyone have a look at the following example and give a hint? \starttext = \section{Section 1} \input ward \startsection[title=3D{Section 1 again},resetnumber=3Dyes] % Here I want ag= ain the number 1 \input ward \stopsection \setuphead[section][number=3Dyes] \section{Section 3} \input ward \startsection[title=3D{Section with no number},number=3Dno] % Here I don't = want numbers \input ward \stopsection \stoptext Thanks in advance: OK ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________