Sorry. I don’t understand. If I use maxwidth (line 2 without the %), I get just one truncated line of the text. But I’d like to have all the text, somewhat indented on both sides, but not truncated.

But why is the text without maxwidth indented on the right?

Werner

On 28 Aug 2014, at 17:57, Wolfgang Schuster wrote:

Am 28.08.2014 um 17:46 schrieb Werner Hintze w.hintze@posteo.eu:

Yes. I did. Before and now.

But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs on the whole line, this means also in the region, where the page numbers are. It should terminate before, where the line of dots terminates or so. I see no parameter for this width seems ti be not the right one (it seems, width has no visible effect at all).

You can use the maxwidth key to set a limit for the width of the list entry.

\definelist[chaptertext]
%\setuplist [chaptertext][maxwidth=8cm]

\starttext

\placelist[chapter,chaptertext]

\chapter{This is a chapter}

\writetolist[chaptertext]{}{\input ward }

\stoptext

Wolfgang


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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net