Dear all,

I found this useful, but still I'm wondering, how shall I extend the \KomplexTitel to put current chapter number to the \writetolist command?

Thank you. Best regards,
Tomas

On 17.2.2003 0:31, Hans Hagen wrote:

better make a dedicated list:

\definelist
[mylist]

and configure that one (so no \framed in write)

\setuplist
[mychapter]
[alternative=command,
command=\MyChapterList]

with something

\def\ChapterList#1#2#3%
{\framed
[frame=off,
align={right,broad,nothyphenated},
width=0.8\textwidth,
height=2\baselineskip,
offset=none]
{#2}}

your title command

\def\KomplexTitel#1#2#3%
{\title{#1}\subject{#2}\writetolist[mychapter]{}{#3}}

(next version will contain a direct write command, which avoids an
interfering node)

call lists like:

\placelist[chapter,mychapter]

etc
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pra...@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

Reply via email to