From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95445 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Set Contents Date: Thu, 14 Jul 2016 00:28:24 +0200 Message-ID: References: <57866A39.40708@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8020399976846185317==" X-Trace: ger.gmane.org 1468448951 16981 80.91.229.3 (13 Jul 2016 22:29:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 22:29:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 14 00:29:00 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bNSeJ-00029n-6t for gctc-ntg-context-518@m.gmane.org; Thu, 14 Jul 2016 00:28:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6420C11BF5; Thu, 14 Jul 2016 00:28:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KC1PFPrvUzac; Thu, 14 Jul 2016 00:28:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A4F3611BFA; Thu, 14 Jul 2016 00:28:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EC6EC11BF8 for ; Thu, 14 Jul 2016 00:28:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id grYRH7TxIHvf for ; Thu, 14 Jul 2016 00:28:37 +0200 (CEST) Original-Received: from mail-it0-f49.google.com (mail-it0-f49.google.com [209.85.214.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C7C4211BF5 for ; Thu, 14 Jul 2016 00:28:26 +0200 (CEST) Original-Received: by mail-it0-f49.google.com with SMTP id f6so56079044ith.0 for ; Wed, 13 Jul 2016 15:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WXMZBxMHAeLsccyxIhuO4yd0kjrJw+09reaEt34w/LY=; b=iyEl6vHS0Yq1jdCQq1A3KoUaupCA+hbgr/sHW0PoyCGGnFqGe92UEE+T/bh+RCxvhb 0qMO3TE+cGoacKMS91vAiWvO+YMhvAy/19bbCwRYyt2/3k1k0wnMACRzRjADwfCfDIya KuSTJtRH5i97r3Y+T1bfWekrQ37d2wQXVSIiWjFJ7vZbB182bEh/dC0eSWvvBWcbTDwv 0svBZGnGU8SZuHJnwEu94TyyCyhPbH15cjpD5Cv57ApHeaoc/ujkgU2xCWDRLWYY9Xex AQf4JUsvmVdnRrlNmBmOlEHwIVcF5OI/7oqEokLLHZQxaTVQZ8wGuGQf8BtAqaCzoqT0 HQWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=WXMZBxMHAeLsccyxIhuO4yd0kjrJw+09reaEt34w/LY=; b=msNYrdcQxqjFpw/5WjTcSKaArn27iFpj0ZjVWK1Vpq+KQm4WopGdnSPvZXgyx9WeOm spGY5mFIh/RGhCRcU12BBobf7B7B1tbn/DJAu5EtfVsd5Q7nzbqvKKgx5+YkvdHloclc 0QGP8szFjaCsmc4xqfk0Tz520Fyd5MYWNb5mb8s+sTRJNlwct/fFN9UoioHo9dIfkpQe 2K/T6U0DXjgXFq7PfNRuSnhPuNdwAhXaQjknFA7qd3LCtp16wGTwCGTfmxE9mFCkpOG6 w7GANeiHy6mvS79h8loY9t3TKG9vC0qyA8gKen0Ln+esaKxTeAH0IT9kDfCvaDCixUbJ pffA== X-Gm-Message-State: ALyK8tJXoIwGenlZSgId93Ehr32lmn7c7MWiO/TmhB4m7tq5JO+TD+HZxVuUynTMMo25cf0Ccz8qz/PWFg0fyA== X-Received: by 10.36.36.149 with SMTP id f143mr24941990ita.43.1468448905223; Wed, 13 Jul 2016 15:28:25 -0700 (PDT) Original-Received: by 10.64.10.2 with HTTP; Wed, 13 Jul 2016 15:28:24 -0700 (PDT) In-Reply-To: <57866A39.40708@gmail.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:95445 Archived-At: --===============8020399976846185317== Content-Type: multipart/alternative; boundary=001a1146f05a5de61e05378be75c --001a1146f05a5de61e05378be75c Content-Type: text/plain; charset=UTF-8 Hi Wolfgang, thank you for the answer (There is much to know !). I would also have this: > > I First chapter > Activity > 1.1 Second section > 1.2 Third section \setupheadnumber[section][0] Fabrice 2016-07-13 18:20 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 13. Juli 2016 um 17:09 > Hello, > I wish that in the table of contents and only one, the number of chapters > are I, II, III, IV ... > > When you change a different conversion for the chapter numbers only in the > ToC use this: > > \defineconversionset[chapterconversion][n,R][n] > > \setuplist > [chapter] > [numberconversionset=chapterconversion] > > but when you want it in the entire document use this: > > \defineconversionset[chapterconversion][n,R][n] > > \setuphead > [chapter] > [sectionconversionset=chapterconversion] > > 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 > > ___________________________________________________________________________________ > --001a1146f05a5de61e05378be75c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Wol= fgang,
thank you= for the answer (There is much to know !).

I would also have this:

I= First chapter
=C2=A0=C2=A0 Activ= ity
=C2=A0=C2=A0 1.1 Second secti= on
=C2=A0=C2=A0 1.2 Third section=

\setupheadnumber[section][0]

Fabrice

2016-07-13 18:20 GMT= +02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
13.=20 Juli 2016 um 17:09
Hello,
I wish=20 that in the table of contents and only one, the number o= f chapters are I, II, III, IV ...

When you change a different conversion for the chapter numbers only in=20 the ToC use this:

\defineconversionset[chapterconversion][n,R][n]

=C2=A0=C2=A0=C2=A0 \setuplist
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [chapter]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [numberconversionset=3Dchapterconvers= ion]

but when you want it in the entire document use this:

\defineconversionset[chapterconversion][n,R][n]

=C2=A0=C2=A0=C2=A0 \setuphead
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [chapter]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [sectionconversionset=3Dchapterconver= sion]

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
___________________________________________________________________________= ________

--001a1146f05a5de61e05378be75c-- --===============8020399976846185317== 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= --===============8020399976846185317==--