Am 2018-06-10 um 13:35 schrieb Hans Hagen <j.ha...@xs4all.nl>:

> On 6/10/2018 11:55 AM, Henning Hraban Ramm wrote:
>> Might there be a solution to this problem?
>> I.e. how to insert ToC entries in an itemize?
> 
> Well, don't expect a solution without a MWE ... anyway

The MWE was in my first mail (May 3rd).
Thank you anyway!

> 
> \starttext
> 
> \define[3]\ChapterTocEntry{%
> \startitem
>   \structurelistuservariable{author}: #1/#2/#3
> \stopitem
> }
> 
> \definelist[chapter][%
>   alternative=command,
>   interaction=all,
>   criterium=all,
>   before=,
>   after=,
>   command=\ChapterTocEntry]

So I was missing alternative=command.

If you consider my attached MWE one problem remains:
The usual space between items is missing between the last manual item and the 
ToC list:

...
\startitem Test entry \stopitem
%\blank[1em]

\placelist[chapter]
...

I can fix it with the blank, but I’d like to understand.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

Attachment: toctest.tex
Description: Binary data

___________________________________________________________________________________
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 via email to