Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
No, I had tried that.The problem is obviously caused by all the layers of patching, which I need though. Mathieu > Date: Fri, 27 May 2011 16:00:36 +0200 > From: alan.bras...@cea.fr > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] TOC : Chapter title under its numb

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
"interaction=sectionnumber" rather than "interaction=all" doesn't seem to help here... Alan On Fri, May 27, 2011 at 09:33:53AM -0400, Mathieu DUPONT wrote: > > As for the interaction patching, in the following example I can't figure out > how to have, for the chapter lines, only "CHAPTER 1" bein

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
@cea.fr > To: schuster.wolfg...@googlemail.com > CC: ntg-context@ntg.nl > Subject: Re: [NTG-context] TOC : Chapter title under its number (separate > lines) > > On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote: > > > > Am 26.05.2011 um 18:48 schrieb Al

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote: > > Am 26.05.2011 um 18:48 schrieb Alan Braslau: > > > \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] > > > > Almost works. Almost in that all lines get indented by one level, > > and the

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 18:48 schrieb Alan Braslau: > \define[3]\ChapterList > {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace#3}} Your \par is useless here because we’re in a box. > \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] > >

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
On Thu, May 26, 2011 at 05:30:55PM +0200, Wolfgang Schuster wrote: > > Am 26.05.2011 um 17:13 schrieb Alan Braslau: > > > This solution: [alternative=command,command=\ChapterList] > > breaks interaction; How can one get [interaction=all] to work? > > Something like this: > > \setupinteraction[s

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 17:13 schrieb Alan Braslau: > This solution: [alternative=command,command=\ChapterList] > breaks interaction; How can one get [interaction=all] to work? Something like this: \setupinteraction[state=start] \define[3]\ChapterList {\vbox{#1\crlf#2\hfill#3}} \setuplist

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
On Tue, May 24, 2011 at 01:42:41PM +0200, Wolfgang Schuster wrote: > > Am 24.05.2011 um 00:59 schrieb Mathieu DUPONT: > > > Hi, > > Is there a simple way to obtain the following result in the table of > content : > > Contents > CHAPTER 1 > Title of chapter

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
Things are getting much clearer now.Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 16:20:13 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 16:13 schrieb Mathieu

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 16:13 schrieb Mathieu DUPONT: > > Thank you ! > However, this resulted in something weird with my appendices, but adding > \blank in the front fixes the problem : > > \define[3]\ChapterList > {\blank\currentlistsymbol\crlf#2\enspace\listdots\enspace#3} > > I am starting to

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
... Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 16:04:44 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 15:33 schrieb Mathieu DUPONT:If now I add the line : \setupcombinedlist[content

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 15:33 schrieb Mathieu DUPONT: > > If now I add the line : > > \setupcombinedlist[content][alternative=c] > > it doesn't add the dots to the chapter lines anymore, > and I can't add > > \setuplist[chapter][alternative=c] > > since the "alternative" parameter is already taken

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
he "dots" option within my new "command", or somewhere else ? Mathieu From: mathieudup...@hotmail.com To: ntg-context@ntg.nl Date: Tue, 24 May 2011 09:09:39 -0400 Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) That was

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
That was very useful !! Again, thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 13:42:41 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 00:59

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 00:59 schrieb Mathieu DUPONT: > Hi, > > Is there a simple way to obtain the following result in the table of content : > > Contents > CHAPTER 1 > Title of chapter2 > 1.1Title of section2 > > (the chapter title underneath its number a

[NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-23 Thread Mathieu DUPONT
Hi, Is there a simple way to obtain the following result in the table of content : ContentsCHAPTER 1Title of chapter21.1Title of section2 (the chapter title underneath its number and left aligned, just like everything else) The following code used to