From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95582 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Change the color of the number of subsection Date: Wed, 27 Jul 2016 12:32:14 +0200 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="===============8504180247766431072==" X-Trace: ger.gmane.org 1469615582 16424 80.91.229.3 (27 Jul 2016 10:33:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2016 10:33:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 27 12:32:52 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 1bSM8x-0000wY-0Q for gctc-ntg-context-518@m.gmane.org; Wed, 27 Jul 2016 12:32:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 72B3C132D0; Wed, 27 Jul 2016 12:32:30 +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 NTvVuRSNYqzs; Wed, 27 Jul 2016 12:32:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CFBD3132CC; Wed, 27 Jul 2016 12:32:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C8FD132CC for ; Wed, 27 Jul 2016 12:32:27 +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 5tmZ0TgSdYcZ for ; Wed, 27 Jul 2016 12:32:26 +0200 (CEST) Original-Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) (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 46FCA132CA for ; Wed, 27 Jul 2016 12:32:16 +0200 (CEST) Original-Received: by mail-it0-f44.google.com with SMTP id f6so44765171ith.0 for ; Wed, 27 Jul 2016 03:32:16 -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=wBAKA1TxOYbVdk07pm9UBlYjfUxZTXO0kcT6+Cxb5MY=; b=LLQuMIAM3O371H7wVHu2ln7JsM2/nwKcsP2gXAnL33vBkjHR7e5L2xTBeApDel6IHO 1hXHpOOZMqYzjakoEDykEqo1bp32TukrtBv3KWtvJ44HgiEHvBkL3jCcuaV7JKOVhurA ymBJUjk/rEXhYRlCTWzxIUkVft1lPeUowA7qtvo6AMvzXVkh5Sg53hF57bPhtQ3lTvjh x87kFQnnVQrzbHgoN3m+DYr3fySMQ5Ufitz257CNWBY53Ninr2TMPMu0qRMqeAa0AaMy +5wGTJXh7P4cvm7j9V/QalIJorZsFQ3+INbn0rCRfTNKFBowiC47YsT43bsZNjW9eo7D PJBA== 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=wBAKA1TxOYbVdk07pm9UBlYjfUxZTXO0kcT6+Cxb5MY=; b=XdQ670dVfRwODgXVC6jyt4uocy5p7jMYE414ap3kD8e5/V/Whc8eP+omnIzdjSoaG+ WLJwgpXw0DrC77/f56HNoWgaisbF3ypsDD0qfnnzZy8fkFsoUvjRng1hfjCfu7uhokfz yuRbaSEjFfW37QhnPtIdzMqESFwyU7e4fx+WQq4gwjRw+1TBf02VmVavsy4nflHXuFbj sjeM9cw+kKu9pjy+d1+d07n5VLDwtV2r30QgTLKCjuH5mXzDJt4uWiH6RtPMwq/j5ICe NqFAVa72B5sukaG5yOffsYi/AL0y7H5XuzwI4eeHFQdZDmkw5Bpd+B+QJz2hy6UZ99Xr ZzyA== X-Gm-Message-State: AEkoouuRtPB7kuoBzysTHhKUte4RHu89z/Aj1I9CInRe+P+0y6OU0djpqf3wTVuxPEzx2vCOacb1wJvwCYsl2w== X-Received: by 10.36.36.15 with SMTP id f15mr32676941ita.43.1469615534795; Wed, 27 Jul 2016 03:32:14 -0700 (PDT) Original-Received: by 10.64.212.204 with HTTP; Wed, 27 Jul 2016 03:32:14 -0700 (PDT) In-Reply-To: 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:95582 Archived-At: --===============8504180247766431072== Content-Type: multipart/alternative; boundary=001a1146fcfee86f2105389b87fe --001a1146fcfee86f2105389b87fe Content-Type: text/plain; charset=UTF-8 Hi Henri, Thank you, it works. What's weird is that I used \setuphead [subsection][... ] once unsuccessfully probably a mistake on my part. Fabrice 2016-07-27 12:23 GMT+02:00 Henri Menke : > Hi Fabrice, > > use \setuphead (see below). > > Cheers, Henri > > --- > > \starttext > > \setuphead > [subsection] > [ > sectionsegments=subsection:subsection, > color=darkred, > ] > > \startsubsection[title={Recherche d'une fonction sous contraintes}] > \stopsubsection > > \stoptext > > On 07/27/2016 11:24 AM, Fabrice Couvreur wrote: > > Hello, > > With this > > > > \startsubsection > > [title={\darkred Recherche d'une fonction sous contraintes}, > > sectionsegments=subsection:subsection, > > numbercommand={\darkred}] > > > > it does not work. > > Thanks > > Fabrice > > > > > > > ___________________________________________________________________________________ > > 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 > > > ___________________________________________________________________________________ > > > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ --001a1146fcfee86f2105389b87fe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Henri,
Thank you, it wor= ks. What's weird is that = I used \setuphead [subsection][...] once unsuccessfully probably a mista= ke on my part.
Fabrice=

2016-07-27 12:23 GMT+02:00 Henri Menke <henrimenke@gmail.com= >:
Hi Fabrice,

use \setuphead (see below).

Cheers, Henri

---

\starttext

\setuphead
=C2=A0 [subsection]
=C2=A0 [
=C2=A0 =C2=A0 sectionsegments=3Dsubsection:subsection,
=C2=A0 =C2=A0 color=3Ddarkred,
=C2=A0 ]

\startsubsection[title=3D{Recherche d'une fonction sous contraintes}] \stopsubsection

\stoptext

On 07/27/2016 11:24 AM, Fabrice Couvreur wrote:
> Hello,
> With this
>
> \startsubsection
>=C2=A0 =C2=A0 [title=3D{\darkred Recherche d'une fonction sous cont= raintes},
>=C2=A0 =C2=A0 =C2=A0sectionsegments=3Dsubsection:subsection,
>=C2=A0 =C2=A0 =C2=A0numbercommand=3D{\darkred}]
>
> it does not work.
> Thanks
> Fabrice
>
>
> __________________________________________________________= _________________________
> 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=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net > archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ______________________________________________________________________= _____________
>

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

--001a1146fcfee86f2105389b87fe-- --===============8504180247766431072== 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= --===============8504180247766431072==--