[NTG-context] ToC as itemize

Henning Hraban Ramm texml at fiee.net
Sun Jun 10 14:03:08 CEST 2018

Am 2018-06-10 um 13:35 schrieb Hans Hagen <j.hagen at 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


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

Greetlings, Hraban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toctest.tex
Type: application/octet-stream
Size: 1498 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180610/01216cfb/attachment.obj>

More information about the ntg-context mailing list