From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89308 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: small abstracts in table of contents? Date: Tue, 25 Nov 2014 14:49:14 +0100 Message-ID: <4DD23F4E-6762-489A-AA05-916776866C44@rna.nl> References: <6FC5D775-DC08-44C2-955E-1568A97CFB73@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0530161977==" X-Trace: ger.gmane.org 1416923936 12760 80.91.229.3 (25 Nov 2014 13:58:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 13:58:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 25 14:58:51 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtGdm-0005r7-EA for gctc-ntg-context-518@m.gmane.org; Tue, 25 Nov 2014 14:58:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1197C10204 for ; Tue, 25 Nov 2014 14:58:50 +0100 (CET) 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 6L1MFbr-j3Ca for ; Tue, 25 Nov 2014 14:58:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CCA3A1023F for ; Tue, 25 Nov 2014 14:56:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADCA1101EF for ; Tue, 25 Nov 2014 14:56:42 +0100 (CET) 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 8ag3e750guD2 for ; Tue, 25 Nov 2014 14:56:37 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 83BF9101E4 for ; Tue, 25 Nov 2014 14:49:30 +0100 (CET) Original-Received: from mail.rna.nl (D57D7632.static.ziggozakelijk.nl [213.125.118.50]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sAPDnKt0000565 for ; Tue, 25 Nov 2014 14:49:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 1850C135B702 for ; Tue, 25 Nov 2014 14:49:20 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wOCmEar1yJVd for ; Tue, 25 Nov 2014 14:49:19 +0100 (CET) Original-Received: from luna.fritz.box (a82-93-73-222.adsl.xs4all.nl [82.93.73.222]) by mail.rna.nl (Postfix) with ESMTPSA id 184AB135B6EA for ; Tue, 25 Nov 2014 14:49:17 +0100 (CET) In-Reply-To: <6FC5D775-DC08-44C2-955E-1568A97CFB73@gmail.com> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.118.50; country=NL; region=North Brabant; city=Tilburg; latitude=51.5769; longitude=5.1063; http://maps.google.com/maps?q=51.5769,5.1063&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NjNNkWQ - 3d334c7df024 - 20141125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89308 Archived-At: --===============0530161977== Content-Type: multipart/alternative; boundary="Apple-Mail=_C9D42119-C9CD-4638-9CD9-C492FBB5C278" --Apple-Mail=_C9D42119-C9CD-4638-9CD9-C492FBB5C278 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 This works, but not completely. I=92ve added this to my environments = file: \definelist[chaptertext] = \setuplist[chaptertext][style=3D\itx,margin=3D3em,pagecommand=3D\gobbleone= argument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext] %\completecontent[level=3Dchapter] The %-outcommented was the original list. In the chapter file, it now = says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as = \itx, not just the summary chaptertext. The chapter numbers are still in = their original font and size. G On 25 Nov 2014, at 08:18, Otared Kavian wrote: > Hi Gerben, >=20 > As Wolfgang said, you can use something like this (example given by = him some months ago on the mailing list): >=20 > \definelist[chaptertext] > = \setuplist[chaptertext][style=3D\tfx,margin=3D3em,pagecommand=3D\gobbleone= argument] >=20 > \starttext >=20 > \placelist[chapter,chaptertext] >=20 > \chapter{This is a chapter} >=20 > \writetolist[chaptertext]{}{This is a small description of this = chapter: \input ward } >=20 > \input knuth.tex >=20 > \stoptext >=20 > Best regards: OK >=20 >> On 25 Nov 2014, at 00:41, Gerben Wierda wrote: >>=20 >> I have a standard ToC, but what I=92d like to have is that each = chapter item (I don=92t go lower than that in the hierarchy) comes with = its own little abstract.Is that possible? >>=20 >> G >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_C9D42119-C9CD-4638-9CD9-C492FBB5C278 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 This = works, but not completely. I=92ve added this to my environments = file:

\definelist[chaptertext]
\setuplist[chaptertext][style=3D\itx,margin=3D3em,pagecommand=3D\g= obbleoneargument]

and the contents list is = created by

      =   \title[h:toc]{Contents}
        = \placelist[chapter,chaptertext]
= %\completecontent[level=3Dchapter]

T= he %-outcommented was the original list. In the chapter file, it now = says

\chapter[h:foo]{Foo}
\writetolist[chaptertext]{}{\input = tufte}

The effect of this is that = every chapter name in the list is typeset as \itx, not just the = summary chaptertext. The chapter numbers are still in their original = font and size.

G

On 25 = Nov 2014, at 08:18, Otared Kavian <otared@gmail.com> = wrote:

Hi Gerben,

As Wolfgang said, you can use something = like this (example given by him some months ago on the mailing = list):

\definelist[chaptertext]
\setuplist[chaptertext][style=3D= \tfx,margin=3D3em,pagecommand=3D\gobbleoneargument]

\starttext
<= br>\placelist[chapter,chaptertext]

\chapter{This is a = chapter}

\writetolist[chaptertext]{}{This is a small description = of this chapter: \input ward }

\input = knuth.tex

\stoptext

Best regards: OK

On 25 Nov 2014, at 00:41, Gerben Wierda <Gerben.Wierda@RnA.nl> = wrote:

I have a standard ToC, but what I=92d like to have is that = each chapter item (I don=92t go lower than that in the hierarchy) comes = with its own little abstract.Is that = possible?

G
____________________________________________________= _______________________________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

____________________________________________________= _______________________________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_C9D42119-C9CD-4638-9CD9-C492FBB5C278-- --===============0530161977== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0530161977==--