From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112295 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Question about \groupedcommand{}{} Date: Wed, 28 Jul 2021 10:43:53 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8154105082947838768==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24381"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Fabrice Couvreur To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 28 10:46:04 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8fCW-0006C1-Bl for gctc-ntg-context-518@m.gmane-mx.org; Wed, 28 Jul 2021 10:46:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9A36D280456; Wed, 28 Jul 2021 10:45:41 +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 3eXS4urMvOcS; Wed, 28 Jul 2021 10:45:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 06D9E28045A; Wed, 28 Jul 2021 10:45:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F2F34280456 for ; Wed, 28 Jul 2021 10:45: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 ZIAWWPZRPAHB for ; Wed, 28 Jul 2021 10:45:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.174; helo=mail-oi1-f174.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 61418280224 for ; Wed, 28 Jul 2021 10:45:35 +0200 (CEST) Original-Received: by mail-oi1-f174.google.com with SMTP id t128so2918077oig.1 for ; Wed, 28 Jul 2021 01:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=U6hW/x4PL2kog5cZzKYthdEchBqmhvVe5eLvK5YSkmI=; b=qWy5VvuDEJyTZ/xOeRdUDuDA8dkv2wR/z9Ozsv9fPW3YJrBkRXtZlyLAs0AewX7eYT a56YgWWiydaAli5OmXn9kgv+lx5T8UqIWe4ASaiPP+aoDriaCuZUga6MXz1msh1fDJOW 19lDkZ1hJU2QkEiaZae5+ju+hzdcuecdeyJEXLEtEgnUVhZSol3Ca0QmZ6AgY6phMmFA ZUUkx8dGHzdcdOYMCdcfP58TcdKY0juyzj1Yf12chO+wUNVh+BNuewuWPG/mEk+Heed7 Iq638O/O1mM/TTCODAYz2nIKOs7hOUjarGgl4bLjeoLl1OLberzVBaoIZcSyQcW9TjUQ Wyvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=U6hW/x4PL2kog5cZzKYthdEchBqmhvVe5eLvK5YSkmI=; b=OADNCQJp8LZNk9DX5lPSbbdLbXB+Iwc4P1eclXyDU7nkZo3O4ZIxazzWI+il2ENkeh LNbaX6navucdKiZldZEtIbgDeNKM3RUahtAFV8uub7JH6vvuaezHB3kwzodP7fvnnswn Xgelgv2SCUlaujE4wAkrfEwMiHw0GH5G4lg9xky57PzGW4Rhch9OKpJWdnePI3hPGzim Joryidq3EVZpgE0uR7lQP69QS9WGJattpArumL+HUXxS6/6RelW6n5w62/0Jf8AN5fON 8DqR9l46rLBB20O8Hw9xU/ngLBrIuMDGojWc63TAl7hKsiPLgDSSlDLfjPaRBm839C3v zAMA== X-Gm-Message-State: AOAM533+ETjzxCMc4psIZQxSOaXgl8hNnM/0UEyKf3bT+Hir3tbtmwxT 7c0mTLJUpz8QwZKedh1J/QgMnDE76o4V+GvHx7n6HvPJgij8vw== X-Google-Smtp-Source: ABdhPJzfNTwfGEBGIXl6YplF8aIDU7m+ksWFogrWbPIEjwKdpOpXbjakBoqAOmxjCR6mutNcNegcY2krgnzwL6xHVbs= X-Received: by 2002:aca:a98f:: with SMTP id s137mr17740808oie.122.1627461933477; Wed, 28 Jul 2021 01:45:33 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:112295 Archived-At: --===============8154105082947838768== Content-Type: multipart/alternative; boundary="0000000000006e334705c82b0219" --0000000000006e334705c82b0219 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Wolfgang, Thank you for this nice solution. Fabrice Le mar. 27 juil. 2021 =C3=A0 21:31, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a =C3=A9crit : > Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57: > > Hi, > > The name of the environment must always end with a dot both with a titl= e > > and without title. How to do ? > > Thanks > > Fabrice > > > > [...] > > > You can create simple dummy environments to test the parameters. > > \defineenumeration > [grouptest] > [ title=3Dyes, > text=3D{dummy text}, > titleleft=3D, > titleright=3D, > headcommand=3D\groupedcommand{[}{]}, > numbercommand=3D\groupedcommand{(}{)}, > titlecommand=3D\groupedcommand{<}{>}] > > \starttext > > \startgrouptest [title=3D{dummy title}] > \unknown > \stopgrouptest > > \startgrouptest > \unknown > \stopgrouptest > > \blank[2*line] > > \setupenumeration > [grouptest] > [number=3Dno] > > \startgrouptest [title=3D{dummy title}] > \unknown > \stopgrouptest > > \startgrouptest > \unknown > \stopgrouptest > > \stoptext > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --0000000000006e334705c82b0219 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Wolfgang,
Thank you for this nice solution.
Fabrice

Le=C2=A0mar. 27 ju= il. 2021 =C3=A0=C2=A021:31, Wolfgang Schuster via ntg-context <ntg-context@ntg.nl> a =C3=A9crit=C2= =A0:
Fabrice Cou= vreur via ntg-context schrieb am 27.07.2021 um 18:57:
> Hi,
> The name of the environment must always end with a dot both with a tit= le
> and without title. How to do ?
> Thanks
> Fabrice
>
> [...]


You can create simple dummy environments to test the parameters.

\defineenumeration
=C2=A0 =C2=A0[grouptest]
=C2=A0 =C2=A0[=C2=A0 =C2=A0 =C2=A0 =C2=A0 title=3Dyes,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0text=3D{dummy text},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 titleleft=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0titleright=3D,
=C2=A0 =C2=A0 =C2=A0 headcommand=3D\groupedcommand{[}{]},
=C2=A0 =C2=A0 numbercommand=3D\groupedcommand{(}{)},
=C2=A0 =C2=A0 =C2=A0titlecommand=3D\groupedcommand{<}{>}]

\starttext

\startgrouptest [title=3D{dummy title}]
\unknown
\stopgrouptest

\startgrouptest
\unknown
\stopgrouptest

\blank[2*line]

\setupenumeration
=C2=A0 =C2=A0[grouptest]
=C2=A0 =C2=A0[number=3Dno]

\startgrouptest [title=3D{dummy title}]
\unknown
\stopgrouptest

\startgrouptest
\unknown
\stopgrouptest

\stoptext

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

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000006e334705c82b0219-- --===============8154105082947838768== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8154105082947838768==--