ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* placelist created by defineenumeration fails in numbered headings
@ 2022-01-20 21:26 Youssef Cherem via ntg-context
  0 siblings, 0 replies; only message in thread
From: Youssef Cherem via ntg-context @ 2022-01-20 21:26 UTC (permalink / raw)
  To: ntg-context; +Cc: Youssef Cherem


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-20 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 21:26 placelist created by defineenumeration fails in numbered headings Youssef Cherem via ntg-context

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).