Thanks a lot Rik, 
I’ll look into it

Best
-a- 
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - StudiUm
Università degli Studi di Torino
--------------------------------------------------

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

On 03 Oct 2014, at 19:00, Rik Kabel <context@rik.users.panix.com> wrote:

On 2014-10-03 10:32, Andrea Valle wrote:
Thanks, it’s a bit too complicated for me now, I was hoping for something like a before argument where to place the author param from the chapter.


Andrea,

If you can accept the author's name on a separate line in the toc and also a little less automation than the example that uses user structure variables, you might consider the \writebetweenlist command. In addition to the wiki entry (which is incomplete with respect to the parameters), see the recent email thread with the subject "Chapter precis." The following may be a useful starting point:
\starttext
\completecontent
\chapter{This is a chapter}
\writebetweenlist[chapter][location=here]{\hskip4em\it Author Name}
\input ward
\section{A section}
\section{Another section}
\chapter{Another chapter}
\stoptext

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