From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68781 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Re: TOC : Chapter title under its number (separate lines) Date: Fri, 27 May 2011 10:04:14 -0400 Message-ID: References: , <8B201B00-D1EE-45E0-855D-8E76D3F88C50@googlemail.com>, <20110526151354.GB68215@iram-hb-003386.extra.cea.fr>, <4D960EB6-820F-413E-B2B3-B1CB53CA59EE@googlemail.com>, <20110526164846.GC68215@iram-hb-003386.extra.cea.fr>, <46593206-7C30-4DB8-AD80-FA6BE32CFC7F@googlemail.com>, <20110527091426.GB17312@iram-ha-003840.extra.cea.fr>, , <20110527140036.GF17312@iram-ha-003840.extra.cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1150138281==" X-Trace: dough.gmane.org 1306505072 22258 80.91.229.12 (27 May 2011 14:04:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 14:04:32 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 16:04:28 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPxeK-0005zW-PC for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 16:04:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D2FCCAD14; Fri, 27 May 2011 16:04:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jzwjXAmUZANV; Fri, 27 May 2011 16:04:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4342FCAD2F; Fri, 27 May 2011 16:04:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6571CAD2F for ; Fri, 27 May 2011 16:04:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QbRUDAIcLRh1 for ; Fri, 27 May 2011 16:04:17 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 5DCF1CAD14 for ; Fri, 27 May 2011 16:04:17 +0200 (CEST) Original-Received: from col0-omc2-s5.col0.hotmail.com (col0-omc2-s5.col0.hotmail.com [65.55.34.79]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4RE4FAB005209 for ; Fri, 27 May 2011 16:04:16 +0200 Original-Received: from COL107-W2 ([65.55.34.73]) by col0-omc2-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 07:04:14 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal In-Reply-To: <20110527140036.GF17312@iram-ha-003840.extra.cea.fr> X-OriginalArrivalTime: 27 May 2011 14:04:14.0592 (UTC) FILETIME=[F6019800:01CC1C76] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.79; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEMC4gAJ - d4b3786d169a - 20110527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68781 Archived-At: --===============1150138281== Content-Type: multipart/alternative; boundary="_d93c9271-5ea8-4685-9d08-46bfb5cb347e_" --_d93c9271-5ea8-4685-9d08-46bfb5cb347e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable No=2C I had tried that.The problem is obviously caused by all the layers of= patching=2C which I need though. Mathieu > Date: Fri=2C 27 May 2011 16:00:36 +0200 > From: alan.braslau@cea.fr > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] TOC : Chapter title under its number (separate= lines) >=20 > "interaction=3Dsectionnumber" > rather than > "interaction=3Dall" > doesn't seem to help here... >=20 > Alan >=20 > On Fri=2C May 27=2C 2011 at 09:33:53AM -0400=2C Mathieu DUPONT wrote: > >=20 > > As for the interaction patching=2C in the following example I can't fig= ure out > > how to have=2C for the chapter lines=2C only "CHAPTER 1" being the inte= raction and > > not "the title" + "the dots line" + "the page number"=2C as it is the c= ase with > > this code. > > The example is minimal=2C but I left everything I am afraid could be dr= opped by a > > solution. > >=20 > > Thanks for help ! > >=20 > >=20 > > \setupinteraction[state=3Dstart] > >=20 > > \setuplabeltext[chapter=3DCHAPITRE~] > >=20 > > \setupcombinedlist[content][ > > level=3D3=2C > > alternative=3Dc=2C > > ] > > \unprotect > > \define[3]\ChapterList{\vbox{ > > \setuplocalinterlinespace[line=3D2.8ex] > > \listparameter\c!before > > \leftskip\listparameter\c!margin > > \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3 > > \par > > \listparameter\c!after > > \setuplocalinterlinespace[line=3D4.2ex] > > }} > > \protect > >=20 > > \setuplist[chapter][ > > label=3Dyes=2C > > alternative=3Dvertical=2C > > command=3D\ChapterList=2C > > interaction=3Dall=2C > > ] > > \starttext > >=20 > > \startfrontmatter > > \placecontent > > \stopfrontmatter > >=20 > > \startbodymatter > > \chapter{CHAPTER} > > \section{SECTION} > > \subsection{SUBSECTION} > > \stopbodymatter > >=20 > > \stoptext=20 > >=20 > > Mathieu > _________________________________________________________________________= __________ > If your question is of interest to others as well=2C please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ = --_d93c9271-5ea8-4685-9d08-46bfb5cb347e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

No=2C I had tried that.
The problem is obviously caused = by all the layers of patching=2C which I need though.

<= font color=3D"#666600">

Mathieu




>=3B Date: Fri=2C 27 May 20= 11 16:00:36 +0200
>=3B From: alan.braslau@cea.fr
>=3B To: ntg-con= text@ntg.nl
>=3B Subject: Re: [NTG-context] TOC : Chapter title under = its number (separate lines)
>=3B
>=3B "interaction=3Dsectionnumb= er"
>=3B rather than
>=3B "interaction=3Dall"
>=3B doesn't s= eem to help here...
>=3B
>=3B Alan
>=3B
>=3B On Fri= =2C May 27=2C 2011 at 09:33:53AM -0400=2C Mathieu DUPONT wrote:
>=3B &= gt=3B
>=3B >=3B As for the interaction patching=2C in the following= example I can't figure out
>=3B >=3B how to have=2C for the chapter= lines=2C only "CHAPTER 1" being the interaction and
>=3B >=3B not "= the title" + "the dots line" + "the page number"=2C as it is the case with<= br>>=3B >=3B this code.
>=3B >=3B The example is minimal=2C but = I left everything I am afraid could be dropped by a
>=3B >=3B soluti= on.
>=3B >=3B
>=3B >=3B Thanks for help !
>=3B >=3B <= br>>=3B >=3B
>=3B >=3B \setupinteraction[state=3Dstart]
>= =3B >=3B
>=3B >=3B \setuplabeltext[chapter=3DCHAPITRE~]
>=3B= >=3B
>=3B >=3B \setupcombinedlist[content][
>=3B >=3B lev= el=3D3=2C
>=3B >=3B alternative=3Dc=2C
>=3B >=3B ]
>=3B = >=3B \unprotect
>=3B >=3B \define[3]\ChapterList{\vbox{
>=3B = >=3B \setuplocalinterlinespace[line=3D2.8ex]
>=3B >=3B \listparame= ter\c!before
>=3B >=3B \leftskip\listparameter\c!margin
>=3B &g= t=3B \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3
>= =3B >=3B \par
>=3B >=3B \listparameter\c!after
>=3B >=3B \s= etuplocalinterlinespace[line=3D4.2ex]
>=3B >=3B }}
>=3B >=3B = \protect
>=3B >=3B
>=3B >=3B \setuplist[chapter][
>=3B = >=3B label=3Dyes=2C
>=3B >=3B alternative=3Dvertical=2C
>=3B = >=3B command=3D\ChapterList=2C
>=3B >=3B interaction=3Dall=2C
&= gt=3B >=3B ]
>=3B >=3B \starttext
>=3B >=3B
>=3B >= =3B \startfrontmatter
>=3B >=3B \placecontent
>=3B >=3B \stop= frontmatter
>=3B >=3B
>=3B >=3B \startbodymatter
>=3B &= gt=3B \chapter{CHAPTER}
>=3B >=3B \section{SECTION}
>=3B >=3B= \subsection{SUBSECTION}
>=3B >=3B \stopbodymatter
>=3B >=3B =
>=3B >=3B \stoptext
>=3B >=3B
>=3B >=3B Mathieu
= >=3B ____________________________________________________________________= _______________
>=3B If your question is of interest to others as well= =2C please add an entry to the Wiki!
>=3B
>=3B maillist : ntg-co= ntext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>=3B web= page : http://www.pragma-ade.nl / http://tex.aanhet.net
>=3B archive = : http://foundry.supelec.fr/projects/contextrev/
>=3B wiki : http= ://contextgarden.net
>=3B ____________________________________________= _______________________________________
= --_d93c9271-5ea8-4685-9d08-46bfb5cb347e_-- --===============1150138281== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1150138281==--