From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79177 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 13:54:39 +0100 Message-ID: References: <51A88879-82EA-4A10-89DB-4772C2691721@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0328817091==" X-Trace: ger.gmane.org 1352811292 13744 80.91.229.3 (13 Nov 2012 12:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 12:54:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 13 13:54:58 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 1TYG14-0006vB-Ha for gctc-ntg-context-518@m.gmane.org; Tue, 13 Nov 2012 13:54:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5C6B10269; Tue, 13 Nov 2012 13:54:48 +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 vWHzJ7biMC-s; Tue, 13 Nov 2012 13:54:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 213BD1024B; Tue, 13 Nov 2012 13:54:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 222971024B for ; Tue, 13 Nov 2012 13:54:42 +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 8H68BYy2xXQk for ; Tue, 13 Nov 2012 13:54:41 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 0B00510249 for ; Tue, 13 Nov 2012 13:54:41 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qADCsder018861 for ; Tue, 13 Nov 2012 13:54:40 +0100 Original-Received: by mail-ee0-f41.google.com with SMTP id c4so4916269eek.14 for ; Tue, 13 Nov 2012 04:54:39 -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=rJ/AeO2AJkawmZJS5H+SYfoJ5dlwLJHbdGdmuKBEuhE=; b=vF7FWujRVS8E4yCG7j6XnsvAwBAINS8HbpmmQosqGYNDEemaLwOytgR4eYdnCjrJGV doYHZjUTB0zR99SErdvVd7tTI0BAJdlislWhs0nMyPpjPL66N3l6omxqxNQf5MUoWaQf a7KzVyO1MxsA8NODLcBgEZsifNdn1I24r3zQsJF+TkFKXS9jvHpMoMkXujjQ96VgmRiw U+9qdGDNEUVBiWQQ7h9Dr/OW1+5Q9HtYiPhK58yjEDwa4et5QUC4gOj3l8Q+MbHw8F4v YzFS/LF3/0ZpSamEFTEDTEDD1pObrMQs9BvQSQsEikD7ROnKvh+1WUmeBVbvdLklJmJU Oz7Q== Original-Received: by 10.14.178.195 with SMTP id f43mr74885152eem.44.1352811279664; Tue, 13 Nov 2012 04:54:39 -0800 (PST) Original-Received: by 10.223.192.193 with HTTP; Tue, 13 Nov 2012 04:54:39 -0800 (PST) In-Reply-To: <51A88879-82EA-4A10-89DB-4772C2691721@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0RIn0SDUj - 0c0015aa544b - 20121113 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:79177 Archived-At: --===============0328817091== Content-Type: multipart/alternative; boundary=047d7b621c74c5c6b804ce5feb46 --047d7b621c74c5c6b804ce5feb46 Content-Type: text/plain; charset=UTF-8 On Tue, Nov 13, 2012 at 1:12 PM, Otared Kavian wrote: > > On 13 nov. 2012, at 11:48, luigi scarso wrote: > > > > Hm , > > is it save to mix \section and \startsection ..\stopsection ? > > > > -- > > luigi > > > > Hi Luigi, > > Thanks for your attention, but the fact that \section and > \start-\stop-section is used is of no importance regarding the way I am > seeking to reset the section numbers. In fact in my document, where I > noticed the problem, I use only \section, but I tried several > possibilities, including \start-\stop-section. > Some help at http://wiki.contextgarden.net/Titles \starttext \startsection[title={Section 1 }] \input ward \stopsection \startsection[title={Section 1 again},incrementnumber=no] % Here I want again the number 1 \input ward \stopsection \startsection[title={Section 1 again},incrementnumber=yes] % Here I want again the number 1 \input ward \stopsection \startsection[title={Section with no number},number=no] % Here I don't want numbers \input ward \stopsection \stoptext I think it's not safe to mix \section and \startsection \stopsection, because the tags can be messed. -- luigi --047d7b621c74c5c6b804ce5feb46 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, N= ov 13, 2012 at 1:12 PM, Otared Kavian <otared@gmail.com> wrot= e:

On 13 nov. 2012, at 11:48, luigi scarso <luigi.scarso@gmail.com> wrote:
>
> Hm ,
> is it save to mix \section and \startsection ..\stopsection ?
>
> --
> luigi
>

Hi Luigi,

Thanks for your attention, but the fact that \section and \start-\stop-sect= ion is used is of no importance regarding the way I am seeking to reset the= section numbers. In fact in my document, where I noticed the problem, I us= e only \section, but I tried several possibilities, including \start-\stop-= section.

Some help at
http://wiki.contextgarden.net/Titles
\starttext


\startsection[title=3D{Section 1 }]
\input ward<= br> \stopsection


\startsection[title=3D{Section 1 again},incrementnu= mber=3Dno] % Here I want again the number 1
\input ward
\stopsection<= br>
\startsection[title=3D{Section 1 again},incrementnumber=3Dyes] % Her= e I want again the number 1
\input ward
\stopsection


\startsection[title=3D{Section with = no number},number=3Dno] % Here I don't want numbers
\input ward
\= stopsection

\stoptext

I think it's not safe to mix \secti= on and \startsection \stopsection, because the tags can be messed.
--
luigi

--047d7b621c74c5c6b804ce5feb46-- --===============0328817091== 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 ___________________________________________________________________________________ --===============0328817091==--