From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89309 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: small abstracts in table of contents? Date: Tue, 25 Nov 2014 15:12:23 +0100 Message-ID: <40954F6A-742B-4836-9509-C04F11A10882@gmail.com> References: <6FC5D775-DC08-44C2-955E-1568A97CFB73@gmail.com> <4DD23F4E-6762-489A-AA05-916776866C44@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/mixed; boundary="===============1291722555==" X-Trace: ger.gmane.org 1416924866 28663 80.91.229.3 (25 Nov 2014 14:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 14:14:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 25 15:14:21 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 1XtGsl-0001Rz-Gq for gctc-ntg-context-518@m.gmane.org; Tue, 25 Nov 2014 15:14:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 312121020A for ; Tue, 25 Nov 2014 15:14:19 +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 gSfKKooQaUY5 for ; Tue, 25 Nov 2014 15:14:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 626B610239 for ; Tue, 25 Nov 2014 15:12:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7027101E8 for ; Tue, 25 Nov 2014 15:12:36 +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 ZNLM4M3p5crf for ; Tue, 25 Nov 2014 15:12:28 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 5609E101E4 for ; Tue, 25 Nov 2014 15:12:28 +0100 (CET) Original-Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sAPECCXe006334 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 25 Nov 2014 15:12:12 +0100 Original-Received: by mail-wg0-f43.google.com with SMTP id l18so975162wgh.16 for ; Tue, 25 Nov 2014 06:12:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=LBJLi+G2JsZACueU8+RsWe90T0SpyzXlyDJsC0v13tQ=; b=I2ruxhKWo5kRR/tfzC7JkZsztsITz7C5I8rKAVungfFNGtU98SpuDNeW8ujFBzbQiJ bFYbCho0ya1+rO3azR6DBDWLozx8OI7VfuH+vCz+8sQDduixRbjQA2eDZPEnB5HHncOG Xpxlp5rQjpl5/LlOFk155wmGospA2q5bolkG5UpOhbY4CahGvqHSgaApd4s5j2xC78ll WahaEV5XaKpIXZ6URUt+62x8aJjHZYVjpJTMjuiFwN5jbPNwOKfHG3dfhSXJNxcSFTL3 IDizOZi9kDWClUU75qkELaxAGqGIGyf/Geuqq7Bmoj2ANbhqr0IaTpLuFvMgRbdrauBM g/vg== X-Received: by 10.180.102.135 with SMTP id fo7mr32498778wib.79.1416924745169; Tue, 25 Nov 2014 06:12:25 -0800 (PST) Original-Received: from [147.94.234.217] ([147.94.234.217]) by mx.google.com with ESMTPSA id gl5sm3835808wib.0.2014.11.25.06.12.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 06:12:24 -0800 (PST) In-Reply-To: <4DD23F4E-6762-489A-AA05-916776866C44@rna.nl> X-Mailer: Apple Mail (2.1993) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NjOccGo - 123a362f469f - 20141125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:89309 Archived-At: --===============1291722555== Content-Type: multipart/alternative; boundary="Apple-Mail=_3B668805-3C67-411B-BC18-59E3C9C86C40" --Apple-Mail=_3B668805-3C67-411B-BC18-59E3C9C86C40 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Gerben, This shouldn=92t be a problem, since you may give your own style to the = list of chapters by saying for example \setuplist[chapter][style=3D\bf] or whatever style you wish. Best regards: OK > On 25 Nov 2014, at 14:49, Gerben Wierda wrote: >=20 > This works, but not completely. I=92ve added this to my environments = file: >=20 > \definelist[chaptertext] > = \setuplist[chaptertext][style=3D\itx,margin=3D3em,pagecommand=3D\gobbleone= argument] >=20 > and the contents list is created by >=20 > \title[h:toc]{Contents} > \placelist[chapter,chaptertext] > %\completecontent[level=3Dchapter] >=20 > The %-outcommented was the original list. In the chapter file, it now = says >=20 > \chapter[h:foo]{Foo} > \writetolist[chaptertext]{}{\input tufte} >=20 > 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. >=20 > G >=20 > On 25 Nov 2014, at 08:18, Otared Kavian > wrote: >=20 >> 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 >> = __________________________________________________________________________= _________ >=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=_3B668805-3C67-411B-BC18-59E3C9C86C40 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi Gerben,

This shouldn=92t be a problem, since you may give your own = style to the list of chapters by saying for example

= \setuplist[chapter][style=3D\bf]

or whatever style you wish.

Best regards: = OK

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

This works, = but not completely. I=92ve added this to my environments file:

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

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

\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.supelec.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.supelec.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.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_3B668805-3C67-411B-BC18-59E3C9C86C40-- --===============1291722555== 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= --===============1291722555==--