[NTG-context] \definelistplacement + margin

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Feb 27 11:58:02 CET 2011


Am 26.02.2011 um 20:46 schrieb Andreas Harder:

> Hi all,
> 
> please have a look at the following example. The first chapter entry in the table of contents looks good, but the following entries adopt the margin setting from \setuplist[section][margin=3em] and I can't get rid of it … Any hint?

Use the “command” alternative.

\define[3]\ChapterList
  {\inframed[width=broad]{#1\emspace#2\hfill#3}}
% {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}}

\setuplist[chapter][alternative=command,command=\ChapterList]

Wolfgang



More information about the ntg-context mailing list