Re: [NTG-context] chapter setup / table of contents

2008-04-28 Thread Henning Hraban Ramm
I just documented my whole setup at: http://wiki.contextgarden.net/Proceedings_style Hope it helps someone with something similar. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) _

Re: [NTG-context] chapter setup / table of contents

2008-04-16 Thread Henning Hraban Ramm
2008/4/16, Wolfgang Schuster <[EMAIL PROTECTED]>: > Add "style=," to \setuphead[chapter] because the default value > influence your own settings. I tried that before but the results were not satisfying (it was unclear to me, where it did apply and where not) - I need a different style for the thr

Re: [NTG-context] chapter setup / table of contents

2008-04-16 Thread Wolfgang Schuster
On Wed, Apr 16, 2008 at 12:32 AM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > I have now: > > \unprotect > > \resetvalue{\??sw\v!chapter} > > \startsetups chapter:list > > \doifsomething{\sectionworldparameter\c!author} > {\expanded{\writetolist[\v!chapter] > {\sectionworldparamete

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Wolfgang Schuster
Hi Hraban, > Never heard about sectionworld before - ConTeXt's sources still > aren't my usual bedtime reading. It was only mentioned in one of the release notes. > I just managed to add outputting the author (not only in the ToC)... > > Could you please show me how to set also the header to "Au

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Henning Hraban Ramm
I have now: \unprotect \resetvalue{\??sw\v!chapter} \startsetups chapter:list \doifsomething{\sectionworldparameter\c!author} {\expanded{\writetolist[\v!chapter] {\sectionworldparameter\c!author:\space \sectionworldparameter\c!text}{}}} \def\ChapterAuthor{{\rm\tf\sect

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Henning Hraban Ramm
Am 2008-04-15 um 10:03 schrieb Wolfgang Schuster: > Try this. > > \unprotect > > \resetvalue{\??sw\v!chapter} > > \startsetups chapter:list > > \doifsomething{\sectionworldparameter\c!author} > {\expanded{\writetolist[\v!chapter] > {\sectionworldparameter\c!author:\space >\secti

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 10:06 PM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Ahoi! > > In a volume of proceedings, each chapter has an author and title and > sometimes a subtitle. > The ToC entry should look like: > > Author: Title \hfill Page > (no indents!) > > At the moment I've this setup

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
a bit of lua code ? \startluacode MyStuff = {} SecCount = 0 SecIndexCount = 0 \stopluacode \definelistplacement[MyListItem][none]#1#2#3{% \ctxlua{SecIndexCount = SecIndexCount +1} %% Do something with %%\ctxlua{tex.sprint(MyStuff[SecIndexCount])} %% } \setuplist[section][alternati

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread Henning Hraban Ramm
Am 2008-04-14 um 22:26 schrieb luigi scarso: >> >> I've seen in core-lst > % \setuplist > % [section] > % [alternative=MyListItem, > %after=\blank, > %before=\blank] > % > % \definelistplacement[MyListItem][none]#1#2#3% > % {(#1) (#2) (#3)} > > Maybe this can help you ? I guess not -

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
On Mon, Apr 14, 2008 at 10:06 PM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Ahoi! > > In a volume of proceedings, each chapter has an author and title and > sometimes a subtitle. > The ToC entry should look like: > > Author: Title \hfill Page > (no indents!) > > At the moment I've this

[NTG-context] chapter setup / table of contents

2008-04-14 Thread Henning Hraban Ramm
Ahoi! In a volume of proceedings, each chapter has an author and title and sometimes a subtitle. The ToC entry should look like: Author: Title \hfill Page (no indents!) At the moment I've this setup: --- \def\Titel#1#2#3{% author, title, subtitle \page% {\writebetweenlist[cha