From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87203 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Subsection number independant of section Date: Fri, 2 May 2014 14:43:59 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0045970018==" X-Trace: ger.gmane.org 1399034667 1695 80.91.229.3 (2 May 2014 12:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2014 12:44:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 02 14:44:22 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WgCpC-0004BB-2w for gctc-ntg-context-518@m.gmane.org; Fri, 02 May 2014 14:44:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63DDE10284 for ; Fri, 2 May 2014 14:44:21 +0200 (CEST) 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 9Ez8BQd6zzlT for ; Fri, 2 May 2014 14:44:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3B5F21024F for ; Fri, 2 May 2014 14:44:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C784101EA for ; Fri, 2 May 2014 14:44:12 +0200 (CEST) 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 v4TrdbfPMOFV for ; Fri, 2 May 2014 14:44:10 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 3A82B101E1 for ; Fri, 2 May 2014 14:44:00 +0200 (CEST) Original-Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s42D4uwj007329 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 2 May 2014 15:04:56 +0200 Original-Received: by mail-wg0-f46.google.com with SMTP id n12so2553261wgh.5 for ; Fri, 02 May 2014 05:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZYqko5vf1e2oU4E2DPqnUgngDDk1GSmYTznCx4zBKEY=; b=GY9Paa9malMghUDpZJaoVCakVgy+ejSRaACDuNxDDvG9jMvKqE4SWq2+MPfwUZaLxr ADqZOEpk41JWA6zld/tfonGk/n5sAfiRkLCgn/zfLET3woc9CJN3dEXFOxDRCn4lyELR WGC/hm1mMU1lLm4tA8Z1YJDgHc07F4Zwbsm8XJfQv9ocDW8tLyvqeodnVdVDR9T4WqoL np5Uv1UKyRtuT4alS3o6BZnmxHmf73eCH9cRq3xnaTo6mRMU4iM7gomLE+1yH6GUyyvK sfZ7YcaQXvcSIngEMlvJ7vTugaHsRy+KpX8rAxVEry+2AG2ttc+AVGsER5E8XK4azCbx RwAQ== X-Received: by 10.180.105.72 with SMTP id gk8mr2845140wib.32.1399034639231; Fri, 02 May 2014 05:43:59 -0700 (PDT) Original-Received: by 10.227.1.70 with HTTP; Fri, 2 May 2014 05:43:59 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LV14UpX - 9bf392c4be0e - 20140502 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:87203 Archived-At: --===============0045970018== Content-Type: multipart/alternative; boundary=f46d0442685ab3311f04f86a223d --f46d0442685ab3311f04f86a223d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I would get a dial like this : A. Section one 1. Subsection one With the code below, I get : A. Section one A. A. Subsection one \setupsection [section] [conversion=3DCharacter] \setuplabeltext [section=3D{{},{.}}, subsection=3D{{},{.}}] \setupsection [subsection] [previousnumber=3Dno] \setupbodyfont[pagella,11pt] \starttext \section{D=C3=A9finitions} \subsection{Approche de la loi binomiale} \stoptext Why ? Regards, Fabrice --f46d0442685ab3311f04f86a223d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,<= /span>
I would get a dial
like this :

A. Section one
1. Subsection= one

With the code<= /span> below, I get :

A. Section one
A. A. Subsect= ion one

\setupsection
=C2=A0 [sec= tion]
=C2=A0 [conversion=3DCharacter]


\setuplabeltext
=C2=A0 [section=3D{{},{.}},
=C2=A0=C2=A0 subs= ection=3D{{},{.}}]


\setupsection
=C2=A0 [subsection]
=C2= =A0 [previousnumber=3Dno]

\setupbodyfont[pagella,11pt]

\start= text
\section{D=C3=A9finitions}
\subsection{Approche de la loi binomiale}
\stoptext

Why ?
Regards,
Fabrice
--f46d0442685ab3311f04f86a223d-- --===============0045970018== 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 ___________________________________________________________________________________ --===============0045970018==--