From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79172 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Resetting numbers in section header Date: Tue, 13 Nov 2012 11:48:48 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2136413961==" X-Trace: ger.gmane.org 1352803742 12469 80.91.229.3 (13 Nov 2012 10:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 10:49:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 13 11:49:10 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 1TYE3H-0000SW-KP for gctc-ntg-context-518@m.gmane.org; Tue, 13 Nov 2012 11:49:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B90510266; Tue, 13 Nov 2012 11:48:57 +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 kgdInSCrVZeu; Tue, 13 Nov 2012 11:48:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0953110219; Tue, 13 Nov 2012 11:48:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CACC10219 for ; Tue, 13 Nov 2012 11:48:50 +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 M6+6-8yoVe2U for ; Tue, 13 Nov 2012 11:48:49 +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 651EC10209 for ; Tue, 13 Nov 2012 11:48:49 +0100 (CET) Original-Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qADAgjS4004082 for ; Tue, 13 Nov 2012 11:42:46 +0100 Original-Received: by mail-ea0-f169.google.com with SMTP id k11so3400201eaa.14 for ; Tue, 13 Nov 2012 02:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vd+fD/dlW/3wbr/uWom+UrkMEH7DBAYabHRVbhc+2+8=; b=RcHNw9MG/HSMjH31Q60weNz1dX3nDdrH6fR5QF3xp0t56oAqJ9/wfyNXBg4Lb0TwDa nhnfP4JiPR9BK4ILHKqWCapMa7kPOQPsn7UD77wlqiuHqjW0OsaI3Rz+MdBi3qTKYWl6 DDHf6tsbw3H2xEAkrmmbV0O9yHXZGlICD0oCP7WA6SOdavDkJs17PVWxCxEtIGh8oK/T RniJPshLqVDpybKjsTB5Ml/AIibZXL0XmB4MlhdT+I5dmxUjQL6j9Vbg5esqFL3wBlsg V18KU7CKWfb2akbMLChjpeVEviG8aqoiDBjvbyrsa8MfvqaZ/ZWFfNy0PmIT/EA6wfqD cXBA== Original-Received: by 10.14.193.136 with SMTP id k8mr73518170een.30.1352803728178; Tue, 13 Nov 2012 02:48:48 -0800 (PST) Original-Received: by 10.223.192.193 with HTTP; Tue, 13 Nov 2012 02:48:48 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0WImWGJrM - 4140404a163d - 20121113 (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.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:79172 Archived-At: --===============2136413961== Content-Type: multipart/alternative; boundary=047d7b343e36ab3cf204ce5e29a3 --047d7b343e36ab3cf204ce5e29a3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Nov 13, 2012 at 10:49 AM, Otared Kavian wrote: > 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=E2=80=A6 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 = again > 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 > Hm , is it save to mix \section and \startsection ..\stopsection ? --=20 luigi --047d7b343e36ab3cf204ce5e29a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, N= ov 13, 2012 at 10:49 AM, Otared Kavian <otared@gmail.com> wro= te:
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=E2=80=A6 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= 9;t want numbers
\input ward
\stopsection

\stoptext

Thanks in advance: OK
Hm ,
is it sav= e to mix \section and \startsection ..\stopsection ?

--
luigi
--047d7b343e36ab3cf204ce5e29a3-- --===============2136413961== 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 ___________________________________________________________________________________ --===============2136413961==--