From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110097 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Sundqvist Newsgroups: gmane.comp.tex.context Subject: Re: Title in enumeration not working? Date: Wed, 30 Dec 2020 19:04:32 +0100 Message-ID: References: <09928968-A788-4A19-A1E1-10F7A0122588@gmail.com> <68E70DD3-0399-4568-90AC-F137C5119D92@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3291344947574143300==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32258"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 30 19:05:25 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 1kufqe-0008HL-Gr for gctc-ntg-context-518@m.gmane-mx.org; Wed, 30 Dec 2020 19:05:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 552791C1755; Wed, 30 Dec 2020 19:05:05 +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 q1wfgrVRpkQU; Wed, 30 Dec 2020 19:05:03 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D96D1C1761; Wed, 30 Dec 2020 19:05:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 506611C1750 for ; Wed, 30 Dec 2020 19:05:02 +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 Mio0HhshB_8c for ; Wed, 30 Dec 2020 19:04:58 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.53; helo=mail-ed1-f53.google.com; envelope-from=mickep@gmail.com; receiver= Original-Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 C93C81C16CF for ; Wed, 30 Dec 2020 19:04:58 +0100 (CET) Original-Received: by mail-ed1-f53.google.com with SMTP id p22so16103330edu.11 for ; Wed, 30 Dec 2020 10:04:58 -0800 (PST) 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=dDNo6CqFwnJIBzTUJ3/5eoARQgwu2qzQIqEMujZWcnA=; b=eB7Nen/UAcJvbNbOCMGwLR8EaDngocLneC8CxIINIJC0kpQw4R4h6RuyEz2V9/UT/N haxZzrMHpQsV7ncDRlssh566pl0Q34P4KXWK9RmpO12hM3OPaIFqMH78zyE3wQT+hEOC uJ9BDwclGjMERn4rvVAxKSkzGB7/g+YBzYIbHmmHgU+cBMHCjSxZySZClNlaL/GO0npt /zhauQSYdTUbTFTzuHs8abc2Jo7NVD+l9tbtD+eAwx73Hupl9jOqfZlQLWMRTzpJTA3p th7EV/EOmygseZi+NcWV0n+57+mxaWWEBFSlqvgLEXbtrw/hi9mdLhtlawJJC/k0yqHU uqLA== 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=dDNo6CqFwnJIBzTUJ3/5eoARQgwu2qzQIqEMujZWcnA=; b=O6jWXillwcZ+F2sspzclDARm3hcLb/1wSn6nOz+Wv8BWpVETSl8FhYrWs5eLnsN80w 6jyCFUVlc3wRqqFafu1Vr45KK44s2R1vEkbZUfz/TVqPUISlu65VWxOqq4QTDW536iA1 xDlHEL4vLD1afPHMCEMG+a8CyWUmJs5U7KMvXTL2xadxWr+h2PcnMZN5OtkTMA7k7Gsz CbG+E7lp3mbBufEHIyXH08/QaitbzBH4g38aaBiPl9sF3v5f2K/fEbx4HLNeYNKGBxLf OIHpEUfam3pYAfOWq8JqMVMXJHyhJ4gFmLLi3MH7cgmbjFaiKhvaQF/JeKw/qmzLNrph U13Q== X-Gm-Message-State: AOAM531Z6h97/h6E6eHLAxkqKnzF/P5iMIiqaJ+tpKZjtEqhtGXIZ2ZH WECqQNhcRO0rbzxlViVpR6BwKNCOnQfYg4F8EKOoijAqtax37g== X-Google-Smtp-Source: ABdhPJxQ3tSFAKlGr/xbiaOYdaT0sOPA8FS/BPudQMJzIs5Q90fb3nwenbCEyhmEPNl4/nRqrv6Bc3X1DM7vltjTQxg= X-Received: by 2002:a50:d552:: with SMTP id f18mr46644397edj.168.1609351498150; Wed, 30 Dec 2020 10:04:58 -0800 (PST) In-Reply-To: <68E70DD3-0399-4568-90AC-F137C5119D92@gmail.com> 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:110097 Archived-At: --===============3291344947574143300== Content-Type: multipart/alternative; boundary="0000000000005db70a05b7b258b8" --0000000000005db70a05b7b258b8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for the fix, Hans (version 2020.12.30 16:45 looks fine!) /Mikael On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian wrote: > 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 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 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 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 t= o >> 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 > > _________________________________________________________________________= __________ > --0000000000005db70a05b7b258b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Thanks for the fix, Hans (versi= on=C2=A02020.12.30 16:45 looks fine!)

/Mikael

On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian <otared@gmail.com> wrote:
Hi Mi= kael,

Indeed you are right about the fact that=C2=A0

\star= texample[title=3D{Title}]
...
\stopexample
<= /blockquote>
is more logical and also more convenient.=C2=A0<= /div>
Sorry for not having checked your example in mkiv, where this str= ucture works as intended.
So it might be a small buglet in LMTX.<= /div>

Best regards: Otared

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

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. Re= ading 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]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [text=3DExample,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 title=3Dyes,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 titleleft=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 titleright=3D{.},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ]

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

Of course is you say
=C2=A0 =C2=A0 =C2=A0 =C2=A0 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][
>=C2=A0 =C2=A0text=3DExample,
>=C2=A0 =C2=A0title=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/listin= fo/ntg-context
> webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.= net
> archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
> 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-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
___________________________________________________________________________= ________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add a= n entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/li= stinfo/ntg-context
webpage =C2=A0: http://www.pragma-ade.nl / http://context.aanhet.net
archive = =C2=A0: https://bitbucket.org/phg/context-mirror/commits/
wiki = =C2=A0=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-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
___________________________________________________________________________= ________
--0000000000005db70a05b7b258b8-- --===============3291344947574143300== 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== --===============3291344947574143300==--