From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109998 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Title in enumeration not working? Date: Mon, 21 Dec 2020 15:11:32 +0100 Message-ID: <68E70DD3-0399-4568-90AC-F137C5119D92@gmail.com> References: <09928968-A788-4A19-A1E1-10F7A0122588@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Content-Type: multipart/mixed; boundary="===============7779128106348407871==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38553"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 21 15:15:23 2020 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 1krLy7-0009w6-7I for gctc-ntg-context-518@m.gmane-mx.org; Mon, 21 Dec 2020 15:15:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1D4BF1C1562; Mon, 21 Dec 2020 15:11:38 +0100 (CET) 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 WAdZaiq_GXjJ; Mon, 21 Dec 2020 15:11:37 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C1041C1575; Mon, 21 Dec 2020 15:11:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9D3EC1C1569 for ; Mon, 21 Dec 2020 15:11:36 +0100 (CET) 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 SuOBV297f6w0 for ; Mon, 21 Dec 2020 15:11:35 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.45; helo=mail-ej1-f45.google.com; envelope-from=otared@gmail.com; receiver= Original-Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 CFCBB1C1562 for ; Mon, 21 Dec 2020 15:11:35 +0100 (CET) Original-Received: by mail-ej1-f45.google.com with SMTP id jx16so13603758ejb.10 for ; Mon, 21 Dec 2020 06:11:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=546P+KGdy5k8oG1TPPHCEa4wBk3C2MrDh6ISnx188NU=; b=RrzjL+9zjgcOEB2eqmVeR8/f37ZnnfAl091dnysQifFsMjTznMzJMaRySvnfP1CQ42 A94q7TzC1UwDCjwb30oF+2BD/rjkLEurO1ul+tyOlFnbKwn28YuvNpVarxFufC2uPZ0e cRqGfIWkDE9UslFvcBzyeZJcbwDzT+28V7EdDkm9dY5O9oNv83/5oKjyUEnlt49eJ0zf PiljHDbLt+xTCWZxrTTkDfrNOpXE/4QVm9Wme3eo3TcAUSzZFKZaoGFBdXTJ4dX/eG8F qqZpHVfrQfgtmQ0DAWMeARnMZ6Dtf2iVjfbVZkW/ii7n3EK81AwZWAmoBH2o9a9H/DrD iyag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=546P+KGdy5k8oG1TPPHCEa4wBk3C2MrDh6ISnx188NU=; b=HSQzcydexrwwsXvuY9qgJZKy7jab8kFI93kCR+VyqWRyM+6Y54M1FEL1NjLYSVfCtj Jx4K9CKY8tUE8+neXME5/+jXyjVCj1B/Je/Vo6vY1UzdDIHoiSW3R6d03yx4BVllCV8T yN59ELQo9eOYKJCWzxia/dS+2F/p8Q3vT0V5VaSUWVsVbCaKgsptATTg+z7Yupc5p9yJ PBOFUNjg7godRPEHc11+s77VzbAjM1ge5xM9ctfUyQBIp1ABUU1Vsie3/Gypejxo5gyJ p8qZgEczW1tziOOt2Tan4F2Dgn/ElGGfmNGwFuw55+o9jBg7197rXTPsHHRUHSWLDjlw Yupg== X-Gm-Message-State: AOAM531dNXPLfJ4zKCTp8QOOGrm6NfcAIKYZ4SRJN5LCg1xa7INSnnAd K0YZfFvlxYAyY905TF3LlrqdD05iuoE= X-Google-Smtp-Source: ABdhPJw9JjFrdZcewDkDE3b4tpuG4ChPtXQaidlWVPEjCLRvOYArljVpGYJeF9HwQI3v1KIUUwER3A== X-Received: by 2002:a17:907:6e9:: with SMTP id yh9mr15582318ejb.131.1608559895204; Mon, 21 Dec 2020 06:11:35 -0800 (PST) Original-Received: from [192.168.0.15] (lns-bzn-28-82-250-169-67.adsl.proxad.net. [82.250.169.67]) by smtp.gmail.com with ESMTPSA id lo5sm8652472ejb.97.2020.12.21.06.11.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2020 06:11:34 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.17) 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:109998 Archived-At: --===============7779128106348407871== Content-Type: multipart/alternative; boundary="Apple-Mail=_689DD4DB-A0D7-4A2A-9C93-4CEBCB710A71" --Apple-Mail=_689DD4DB-A0D7-4A2A-9C93-4CEBCB710A71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Mikael, Indeed you are right about the fact that=20 > \startexample[title=3D{Title}] > ... > \stopexample is more logical and also more convenient.=20 Sorry for not having checked your example in mkiv, where this structure = works as intended. So it might be a small buglet in LMTX. Best regards: Otared > On 21 Dec 2020, at 14:06, Mikael Sundqvist wrote: >=20 > Hi Otared, >=20 > Thank you for your suggestion. I would say yes and no. >=20 > I want the result one gets from what you write, but I prefer the = syntax >=20 > \startexample[title=3D{Title}] > ... > \stopexample >=20 > and that has been working before. Reading in setup-en.pdf, it also = looks to me as if that should work. >=20 > Best, >=20 > Mikael >=20 > On Mon, Dec 21, 2020 at 11:47 AM Otared Kavian > wrote: > Hi Mickael, >=20 > Maybe this is what you want: >=20 > \defineenumeration[example] > [text=3DExample, > title=3Dyes, > titleleft=3D, > titleright=3D{.}, > ] >=20 > \starttext > \startexample{Title}=20 > This is a test. > \stopexample > \stoptext >=20 > Of course is you say > text=3D, > then you get only =C2=AB Title =C2=BB and a number in front of it. >=20 > Best regards: OK >=20 > > On 21 Dec 2020, at 11:05, Mikael Sundqvist > wrote: > >=20 > > Hi, > >=20 > > Has anything changed with titles and enumerations? I expected a = title "Title" with the following setup. > >=20 > > \defineenumeration[example][ > > text=3DExample, > > title=3Dyes, > > ] > >=20 > > \starttext > > \startexample[title=3D{Title}] > > This is a test. > > \stopexample > > \stoptext > >=20 > > But it does not show up. > >=20 > > /Mikael > >=20 > >=20 > > = __________________________________________________________________________= _________ > > If your question is of interest to others as well, please add an = entry to the Wiki! > >=20 > > 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 > > = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_689DD4DB-A0D7-4A2A-9C93-4CEBCB710A71 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Mikael,

Indeed you = are right about the fact that 

\startexample[title=3D{Title}]
...
\stopexample

is more logical and also more convenient. 
Sorry for not having checked your example in mkiv, where this = structure works as intended.
So it might be a small = buglet in LMTX.

Best regards: Otared

On 21 = Dec 2020, at 14:06, Mikael Sundqvist <mickep@gmail.com> = wrote:

Hi Otared,

Thank you for your suggestion. I would = say yes and no.

I want the result one gets from what you write, but I prefer = the syntax

\startexample[title=3D{Title}]
...
\stopexample

and that has been working before. = Reading in setup-en.pdf, it also looks to me as if that should = work.

Best,

Mikael

On Mon, Dec = 21, 2020 at 11:47 AM Otared Kavian <otared@gmail.com> wrote:
Hi Mickael,

Maybe this is what you want:

\defineenumeration[example]
        [text=3DExample,
        title=3Dyes,
        titleleft=3D,
        titleright=3D{.},
        ]

\starttext
\startexample{Title}
This is a test.
\stopexample
\stoptext

Of course is you say
        text=3D,
then you get only =C2=AB Title =C2=BB and a number in front of it.

Best regards: OK

> On 21 Dec 2020, at 11:05, Mikael Sundqvist <mickep@gmail.com> wrote:
>
> Hi,
>
> Has anything changed with titles and enumerations? I expected a = title "Title" with the following setup.
>
> \defineenumeration[example][
>   text=3DExample,
>   title=3Dyes,
> ]
>
> \starttext
> \startexample[title=3D{Title}]
> This is a test.
> \stopexample
> \stoptext
>
> But it does not show up.
>
> /Mikael
>
>
> = __________________________________________________________________________= _________
> 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
> = __________________________________________________________________________= _________

= __________________________________________________________________________= _________
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
= __________________________________________________________________________= _________
= __________________________________________________________________________= _________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_689DD4DB-A0D7-4A2A-9C93-4CEBCB710A71-- --===============7779128106348407871== 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== --===============7779128106348407871==--