From: Youssef Cherem via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Youssef Cherem <ycherem@gmail.com>
Subject: placelist created by defineenumeration fails in numbered headings
Date: Thu, 20 Jan 2022 18:26:36 -0300 [thread overview]
Message-ID: <CAPENqt3orOxUx0QK-ZQF4s29k0eXfd4XDW99ferN0GgAdoHYqg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1231 bytes --]
That pretty much sums it up: if I change \title to \chapter, for example,
the list is generated only if I set the option criterium=chapter, for
example. Is criterium really necessary in this case?
```
\defineenumeration [Exercício] [alternative=top, before=\blank,
after=\blank, between=\blank]
\defineenumeration [Título] [alternative=left, headcolor=darkcyan,
width=2cm, text={Título}, before=\blank, after=\blank, between=\blank]
\setuplabeltext[Exercise=Exercício~,Título=Título~]
\setuplist[Exercício][width=6em]
\starttext
\title{defineenumeration}
\subject{Lista de exercícios}
\placelist[Exercício][label=Exercise]
\subject{Lista de títulos}
\placelist[Título][label=Título]
\Exercício[title=Título do exercício] Um exercício
O mesmo exercício.
\Exercício Outro exercício com {\tt start ... stop}
\subExercício Um subexercício.
\startExercício Um exercício. \stopExercício
\startsubExercício Um subexercício. \stopsubExercício
\Título Título 1
\Título Título 2
\subTítulo sub-Título 1
\subTítulo sub-Título 2
\startTítulo
Agora vai.
\stopTítulo
\stoptext
```
[-- Attachment #1.2: Type: text/html, Size: 3967 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
reply other threads:[~2022-01-20 21:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPENqt3orOxUx0QK-ZQF4s29k0eXfd4XDW99ferN0GgAdoHYqg@mail.gmail.com \
--to=ntg-context@ntg.nl \
--cc=ycherem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).