From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92550 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Sectioning and structure Date: Sun, 13 Sep 2015 10:02:53 +0200 Message-ID: References: <55ED9FDE.4020600@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1920819559==" X-Trace: ger.gmane.org 1442131421 19203 80.91.229.3 (13 Sep 2015 08:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2015 08:03:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 13 10:03:31 2015 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 1Zb2G2-00060S-44 for gctc-ntg-context-518@m.gmane.org; Sun, 13 Sep 2015 10:03:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5274E1022A for ; Sun, 13 Sep 2015 10:03:29 +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 dnkrNf3VNP9D for ; Sun, 13 Sep 2015 10:03:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BBADD10235 for ; Sun, 13 Sep 2015 10:03:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5ADAA101FD for ; Sun, 13 Sep 2015 10:02:57 +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 jkJRpFqXXLKA for ; Sun, 13 Sep 2015 10:02:56 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 18189101FB for ; Sun, 13 Sep 2015 10:02:56 +0200 (CEST) Original-Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) by filter3-utr.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8D82rqc023711 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 13 Sep 2015 10:02:54 +0200 Original-Received: by ioii196 with SMTP id i196so137771807ioi.3 for ; Sun, 13 Sep 2015 01:02:53 -0700 (PDT) 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=Oy0/RCX+xscB291u0AgELJq+wD4+nlJ0uFcKLev54CI=; b=Oumny6m9+2l5VQHlZ46hrThvEGgFtnCd2ppZzxcEJQVd6HhmunFB41NHR11qr8NXri OhV0GmGCwNai7KlJIRjS22dd/qv5S5dpm7XR2FbFpCQk7fyA4+jb87FSk4+eF+95YpWi bZAyJBj6fIzsW12EwK5UVtbJmTkAVz54FVnV8yys5JNYVKEI3aqfe6ZGsGWXInWb42W9 6f0Nlk5lQSXkdkCb8BGnzA9ZVa4YSW/IBA1UyGhvLwdrPMgRJnEXNCO8EGJJumJ9daE3 /ZnTRkBfA3JRPtSBEV7QKz1SS0NOmQrRjLgurRUQ0VoyV1Kk5l8r8QLQihwRBPih7Oqw n7wA== X-Received: by 10.107.156.14 with SMTP id f14mr15890821ioe.32.1442131373542; Sun, 13 Sep 2015 01:02:53 -0700 (PDT) Original-Received: by 10.64.227.14 with HTTP; Sun, 13 Sep 2015 01:02:53 -0700 (PDT) In-Reply-To: <55ED9FDE.4020600@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c06::22d; country=US; region=Iowa; city=Council Bluffs; latitude=41.2619; longitude=-95.8608; http://maps.google.com/maps?q=41.2619,-95.8608&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Pgw2SGS - 0405c229d73c - 20150913 (trained as not-spam) Received-SPF: pass (filter3-utr.mf.surf.net: domain of fabrice1.couvreur@gmail.com designates 2607:f8b0:4001:c06::22d as permitted sender) receiver=filter3-utr.mf.surf.net; client-ip=2607:f8b0:4001:c06::22d; envelope-from=; helo=mail-io0-x22d.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:92550 Archived-At: --===============1920819559== Content-Type: multipart/alternative; boundary=001a1140c2dc3d5703051f9c6073 --001a1140c2dc3d5703051f9c6073 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Wolfgang, Is this the best approach ? Thank you. Fabrice \mainlanguage[fr] \setupinteraction [state=3Dstart, style=3D, color=3D, contrastcolor=3D] \setuplist [chapter] [after=3D{\blank[line]}] \setupcombinedlist [content] [aligntitle=3Dyes, alternative=3Dc, interaction=3Dall] \setuphead [part] [sectionresetset=3D, conversion=3DRomannumerals, placehead=3Dyes, bodypartlabel=3Dchapter] \setuphead [chapter] [sectionresetset=3D, conversion=3D, number=3Dno, placehead=3Dyes, bodypartlabel=3Dpart, sectionsegments=3Dchater:chapter] \setuphead [section] [sectionsegments=3Dsection:section] \starttext \placecontent \startpart [title=3D{Rep=C3=A9rage et calculs dans le plan}] \startchapter [title=3D{Activit=C3=A9s d'approche}] \startsection [title=3D{Activit=C3=A9 1}] \startsection [title=3DActivit=C3=A9 2] \startchapter [title=3D{Cours-M=C3=A9thodes}] \startsection [title=3D{Coordonn=C3=A9es d'un point dans un rep=C3=A8re}] \startsection [title=3D{Coordonn=C3=A9es du milieu d'un segment}] \startchapter [title=3D{S'entra=C3=AEner}] \startsection [title=3D{Coordonn=C3=A9es d'un point dans un rep=C3=A8re}] \startsection [title=3D{Coordonn=C3=A9es du milieu d'un segment}] \stoptext 2015-09-07 16:31 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 7. September 2015 15:59 > Hi, > I'm about to write a book using a structure. The desire is to get this > like contents of the table of contents : > > You can=E2=80=99t put parts in chapters but it=E2=80=99s possible to chan= ge the labels for > them, i.e. you can show =E2=80=9CChapter =E2=80=9D for parts and = =E2=80=9CPart for > chapters. > > Wolfgang > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --001a1140c2dc3d5703051f9c6073 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Wolfgang,
Is this the
best approach ?
Thank you.
Fabrice


= \mainlanguage[fr]

\setupinteraction
=C2=A0 [state=3Dstart,=C2=A0= =C2=A0
=C2=A0=C2=A0 style=3D,
=C2=A0=C2=A0 color=3D,
=C2=A0=C2=A0= contrastcolor=3D]

\setuplist
=C2=A0 [chapter]
=C2=A0 [after= =3D{\blank[line]}]

\setupcombinedlist
=C2=A0 [content]
=C2=A0 = [aligntitle=3Dyes,
=C2=A0=C2=A0 alternative=3Dc,
=C2=A0 interaction= =3Dall]

\setuphead [part]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 [sectionresetset=3D,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 conversion=3DRomannumerals,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 placehead=3Dyes,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 bodypartlabel=3Dchapter]

\setuphead [chapter]
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 [sectionresetset=3D,
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 conversion=3D,
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 number=3Dno,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 placehead=3Dyes,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 bodypartlabel=3Dpart,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 sectionsegments=3Dchater:chapter]

\setuphead [section]
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [sectionsegments=3Dsection:section]=


\starttext

\placecontent

\startpart
=C2=A0=C2= =A0 [title=3D{Rep=C3=A9rage et calculs dans le plan}]

\startchapter<= br>=C2=A0=C2=A0 [title=3D{Activit=C3=A9s d'approche}]

\startsect= ion
=C2=A0 [title=3D{Activit=C3=A9 1}]

\startsection
=C2=A0 [t= itle=3DActivit=C3=A9 2]
=C2=A0

\startchapter
=C2=A0=C2=A0 [ti= tle=3D{Cours-M=C3=A9thodes}]

\startsection
=C2=A0 [title=3D{Coord= onn=C3=A9es d'un point dans un rep=C3=A8re}]

\startsection
= =C2=A0 [title=3D{Coordonn=C3=A9es du milieu d'un segment}]

\star= tchapter
=C2=A0=C2=A0 [title=3D{S'entra=C3=AEner}]

\startsect= ion
=C2=A0 [title=3D{Coordonn=C3=A9es d'un point dans un rep=C3=A8re= }]

\startsection
=C2=A0 [title=3D{Coordonn=C3=A9es du milieu d= 9;un segment}]

\stoptext

2015-09-07 16:31 GMT+02:00 Wolfgang S= chuster <schuster.wolfgang@gmail.com>:
7.=20 September 2015 15:59
Hi,
I'= m about to write a book using a structure.
The desire is to get= this like contents of the=20 table of contents :
You can=E2=80=99t put parts in chapters but it=E2=80=99s possible to change= the labels=20 for them, i.e. you can show =E2=80=9CChapter <number>=E2=80=9D for pa= rts and =E2=80=9CPart <number> for chapters.

Wolfgang

_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a1140c2dc3d5703051f9c6073-- --===============1920819559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1920819559==--